On 2/2/21 9:05 AM, Andrus wrote:
Hi!
and used psqlodbc to insert this data:
create temp table test ( test bytea ) on commit drop;
insert into test values ( ?t.t );
This code throws exception
type "lo" does not exist
but each call adds new row to pg_largeobject_metadata table.
Odbc driver creates large object and adds lo cast. This large object
remains even if transaction is rolled back due to unexisting lo type.
C7=0 (bytea as logvarbinary is false) is used in connection string.
I think that is supposed to be true for what you want to do. It is has
been awhile since I worked with ODBC so I would confirm on the -odbc list.
Andrus.
--
Adrian Klaver
adrian.klaver@xxxxxxxxxxx