From: | Mark Kirkwood <mark(dot)kirkwood(at)catalyst(dot)net(dot)nz> |
---|---|
To: | Andrew Gierth <andrew(at)tao11(dot)riddles(dot)org(dot)uk>, Mariel Cherkassky <mariel(dot)cherkassky(at)gmail(dot)com> |
Cc: | pgsql-admin(at)lists(dot)postgresql(dot)org |
Subject: | Re: sqlite_fdw crashes & errors |
Date: | 2018-09-18 23:02:07 |
Message-ID: | 63820e86-991e-fa2e-4e1c-4596aae14fb7@catalyst.net.nz |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
On 19/09/18 01:33, Andrew Gierth wrote:
>>>>>> "Mariel" == Mariel Cherkassky <mariel(dot)cherkassky(at)gmail(dot)com> writes:
> Mariel> So, how exactly it works for other people ? Shouldnt everyone
> Mariel> who use this extension should have suffered from this bug ? And
> Mariel> why for selects it works fine ?
>
> The bug is in error reporting, so it kicks in only when an error occurs
> and then only when a null value for the sql text is passed to the
> reporting function.
>
Ah right - I guess I was not tickling the bug correctly:
$ chmod 444 sqlite/test.db
$
$ psql
=# insert into MARIEL_TEST_foreign values(4,1,1);
ERROR: failed to execute remote SQL: rc=1 SQL logic error
sql=INSERT INTO main."MARIEL_TEST"("cola", "colb", "colc") VALUES (?,
?, ?)
regards
Mark
From | Date | Subject | |
---|---|---|---|
Next Message | Mariel Cherkassky | 2018-09-19 05:08:46 | Re: sqlite_fdw crashes & errors |
Previous Message | Shreeyansh Dba | 2018-09-18 14:35:46 | Re: PG Install Best Practices |