From: | Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com> |
---|---|
To: | Andrus <kobruleht2(at)hot(dot)ee>, Laurenz Albe <laurenz(dot)albe(at)cybertec(dot)at>, pgsql-general(at)postgresql(dot)org |
Subject: | Re: permission denied for large object 200936761 |
Date: | 2021-02-02 17:18:12 |
Message-ID: | 177d1419-036b-793d-9895-80e834f7a5ba@aklaver.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | 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(dot)klaver(at)aklaver(dot)com
From | Date | Subject | |
---|---|---|---|
Next Message | Helmut Bender | 2021-02-02 18:22:41 | Re: Segmentation fault on startup |
Previous Message | Joao Miguel Ferreira | 2021-02-02 17:12:33 | Re: pg_dumpall and tablespaces |