Émile Ré
370b593217
Replace xmax upsert trick with RETURNING full row
...
Upsert methods now RETURNING all struct columns and scan the result
back into the pointer receiver, keeping the caller in sync with the
actual DB state (id, created_at, etc. from the existing row on
conflict). Insert detection compares the saved original ID with the
returned ID instead of relying on the PostgreSQL-internal xmax column.
Signed-off-by: Émile Ré <emile@probo.com >
2026-05-19 11:37:26 +04:00
..
2026-05-17 17:22:51 +02:00
2026-05-19 10:28:05 +04:00
2026-04-27 10:30:14 +02:00
2026-03-25 17:38:32 +01:00
2026-03-25 17:38:32 +01:00
2026-03-25 17:38:32 +01:00
2026-05-19 10:28:05 +04:00
2026-04-24 16:05:11 +02:00
2026-04-22 19:02:22 +02:00
2026-05-13 21:21:39 +02:00
2026-05-17 17:22:51 +02:00
2026-05-19 11:37:26 +04:00
2026-05-19 11:37:26 +04:00
2026-04-19 12:00:53 +02:00
2026-05-13 21:21:39 +02:00
2026-04-13 12:25:42 +02:00
2026-03-31 13:31:30 +02:00
2026-04-03 11:56:06 +02:00
2026-03-26 17:34:04 +01:00
2026-03-31 19:16:56 +04:00
2026-05-07 17:30:09 +04:00
2026-04-19 12:00:53 +02:00
2026-03-25 17:38:32 +01:00
2026-05-13 21:21:39 +02:00
2026-04-26 22:58:21 +02:00
2026-03-25 17:38:32 +01:00
2026-04-13 12:25:42 +02:00
2026-04-13 12:25:42 +02:00
2026-04-19 12:00:53 +02:00
2026-03-25 17:38:32 +01:00
2026-04-23 20:50:25 +02:00
2026-05-18 19:05:12 +04:00
2026-05-19 11:37:26 +04:00
2026-05-19 10:28:05 +04:00
2026-05-19 10:28:05 +04:00
2026-04-09 14:47:48 +04:00
2026-04-02 14:37:29 +02:00
2026-03-31 10:51:34 +02:00
2026-04-20 09:46:44 +02:00
2026-04-20 09:46:44 +02:00
2026-05-18 17:03:54 +04:00
2026-04-13 19:24:46 +02:00
2026-03-25 17:38:32 +01:00
2026-04-20 09:46:44 +02:00
2026-05-12 16:43:36 +04:00
2026-05-13 21:21:39 +02:00
2026-05-18 19:05:06 +04:00
2026-05-02 19:09:16 +04:00
2026-03-25 17:38:32 +01:00
2026-05-19 10:28:05 +04:00
2026-05-13 21:21:39 +02:00