Re: Weird behaviour with binary copy, arrays and column count

2022-07-12 Thread James Vanns
That's a good tip! Can't believe I hadn't even thought of that! :/ Cheers Jim On Mon, 11 Jul 2022 at 21:59, Greg Stark wrote: > > On Fri, 8 Jul 2022 at 13:09, James Vanns wrote: > > > > It does seem to smell of an alignment, padding, buffer overrun, parsing > > kind of error. > > It does

Re: Weird behaviour with binary copy, arrays and column count

2022-07-11 Thread Greg Stark
On Fri, 8 Jul 2022 at 13:09, James Vanns wrote: > > It does seem to smell of an alignment, padding, buffer overrun, parsing kind > of error. It does I think you may need to bust out a debugger and see what array_recv is actually seeing... -- greg

Weird behaviour with binary copy, arrays and column count

2022-07-08 Thread James Vanns
Hi all, apologies if this is the wrong list to use, but I figured this is a low-level enough problem that it might be the best to gain some understanding. In PGDB 13.4 I have a simple (obscured) table; CREATE SEQUENCE tbl_id_seq START 1; CREATE TABLE tbl ( a BIGINT UNIQUE NOT NULL DEFAULT