Re: permission denied for large object 200936761 - Mailing list pgsql-general

From Adrian Klaver
Subject Re: permission denied for large object 200936761
Date
Msg-id 177d1419-036b-793d-9895-80e834f7a5ba@aklaver.com
Whole thread Raw
In response to Re: permission denied for large object 200936761  (Andrus <kobruleht2@hot.ee>)
List pgsql-general
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@aklaver.com



pgsql-general by date:

Previous
From: Joao Miguel Ferreira
Date:
Subject: Re: pg_dumpall and tablespaces
Next
From: Helmut Bender
Date:
Subject: Re: Segmentation fault on startup