pgZig

Timeline
Login

Timeline

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

50 most recent check-ins

2023-05-07
17:15
the cursor object manages the server-side Portal. Leaf check-in: 0a34fff5e6 user: javier tags: push_argtypes_at_parse
16:52
a simple way to generate unique names check-in: 16fca1f7cb user: javier tags: push_argtypes_at_parse
2023-05-06
15:49
slightly better names, argtypes=>OIDs must be comptime, appropriate test functions check-in: 3a4b37a8b9 user: javier tags: push_argtypes_at_parse
15:46
std.mem.set => @memset check-in: 99dcaf7898 user: javier tags: push_argtypes_at_parse
15:45
start updating the docs. check-in: 91ab1c5fd2 user: javier tags: push_argtypes_at_parse
2023-04-30
17:22
move OIDs array one stack level outer to make it outlast the slice passed to the server check-in: 04b4562e86 user: javier tags: push_argtypes_at_parse
16:58
cleanup: removed commented code and commented debug prints check-in: b39ea76097 user: javier tags: push_argtypes_at_parse
16:53
have to cast args tuple into struct to make it work check-in: f846dabcef user: javier tags: push_argtypes_at_parse
11:26
DB.exec shortcut works for the "return void" case. check-in: 96b30e1c11 user: javier tags: push_argtypes_at_parse
2023-04-11
23:14
Allow named fields in parameters struct. check-in: 231878cbf5 user: javier tags: push_argtypes_at_parse
14:45
old tests can work now (after adding paramtypes specs) check-in: 225ef09b99 user: javier tags: push_argtypes_at_parse
14:36
use cursor to fetch data check-in: 78218b9320 user: javier tags: push_argtypes_at_parse
14:20
move cursor object inside stmt definition check-in: 591f701bf9 user: javier tags: push_argtypes_at_parse
12:19
Send specific argtypes (as OIDs) to PG
  • have to define a type <-> OID relation
  • the argtypes are specified with the Parse message
  • require a struct in the stmt constructor
check-in: 79305c83a8 user: javier tags: push_argtypes_at_parse
2023-04-10
12:46
args expected BIGINT, aka i64. OID 20... must add some oid=>type management Leaf check-in: a52a9dff22 user: javier tags: trunk
2023-04-09
11:53
fix descriptor leak: stmt must release descriptor before replacing it check-in: fba7dc9cd1 user: javier tags: trunk
2023-04-08
21:36
try with binary format results (and more debugprinting) check-in: a2707fdcd7 user: javier tags: trunk
21:34
debug print parameter and row description packets too check-in: 918752915b user: javier tags: trunk
18:50
tighten memory leaks and mismatches check-in: e6c1118378 user: javier tags: trunk
04:20
add some Flush packets to match response with queries/commands check-in: f9bcd7c5f2 user: javier tags: trunk
04:18
slightly better printing of packets check-in: eef70cb5ae user: javier tags: trunk
2023-04-07
13:19
fix: shouldn't reslice an allocated string in-place check-in: 437ee736ea user: javier tags: trunk
2023-04-06
20:24
chasing a bug: check-in: 74ed93205d user: javier tags: trunk
20:20
cleaning up check-in: 641299b4b1 user: javier tags: trunk
20:19
more "file as a struct" style check-in: 016075bc47 user: javier tags: trunk
20:17
library entrypoint is in src/protocol.zig, not src/main.zig check-in: 4bc84e120c user: javier tags: trunk
2023-03-31
10:40
Try the "file as a struct" style check-in: 3679eac8bb user: javier tags: trunk
2023-03-30
22:27
finally made `zig build test` work again! check-in: 42bc38bf59 user: javier tags: trunk
19:05
modernising the idioms check-in: 810cd897ac user: javier tags: trunk
2022-07-05
14:48
A bit more docs check-in: 3e1f89f3ec user: javier tags: trunk
14:48
Statements take ownership of the row descriptions check-in: 3f2b2f7de1 user: javier tags: trunk
2022-07-01
18:22
implement DB.exec shortcut; uncovers need to redesign ownerships check-in: 3e85a089de user: javier tags: trunk
18:16
ClientMessage.writeBindMessage: factor writeBindArg check-in: 80956fc17e user: javier tags: trunk
18:09
zigmod update check-in: 5c88656aab user: javier tags: trunk
18:03
typo check-in: b72f460999 user: javier tags: trunk
18:01
Start docs (or at least presentation) check-in: e3dc27c216 user: javier tags: trunk
2022-04-30
18:37
Source style cleanups: check-in: dbcd85b275 user: javier tags: trunk
01:25
Handle Notice messages. check-in: 750180185a user: javier tags: trunk
00:44
Cursor objects check-in: 2c5517e74b user: javier tags: trunk
2022-04-12
04:23
Send Bind message directly from `args` tuple. check-in: 2a2a979241 user: javier tags: trunk
2022-04-09
00:04
prepared statements: moves packets but still formats and data are hardcoded garbage. several refactorings for easier handling of protocol and messages. check-in: 6b4d998d4f user: javier tags: trunk
2022-03-29
04:42
Less allocations: sendBlock now sends only the header and returns a bounded write stream. check-in: fca9719214 user: javier tags: trunk
04:10
Remove buffer-owning Blocks. check-in: 563982dc7c user: javier tags: trunk
2022-03-25
05:47
New alloc_writer makes easier to create variable size blocks check-in: 1914db7354 user: javier tags: trunk
05:45
cleanup check-in: 0498a45beb user: javier tags: trunk
2022-03-09
07:54
change ownership rules: in most cases a ServerMessage only owns its data temporarily, until it's moved to a different object. check-in: 5872bd2cc9 user: javier tags: trunk
2022-03-06
02:42
Return data gathered from the server. check-in: b9619be9d1 user: javier tags: trunk
00:35
beginnings of simpleQuery. added a `Response` type and a `.current_response` field to gather the data from the server. check-in: e3edee8c80 user: javier tags: trunk
2022-03-05
20:59
move most of the message handling from method specific into a state machine. check-in: 650a3e78c9 user: javier tags: trunk
04:56
Moved ClientMessage union to its own file. check-in: 582329cb84 user: javier tags: trunk