pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrus <kobruleht2@hot.ee>
To: Adrian Klaver <adrian.klaver@aklaver.com>
To: Laurenz Albe <laurenz.albe@cybertec.at>
To: pgsql-general@postgresql.org
Subject: Re: permission denied for large object 200936761
Date: Tue, 2 Feb 2021 11:35:00 +0200
Message-ID: <00d9c25a-8336-adbd-45da-37c946edb9a4@hot.ee> (raw)
In-Reply-To: <17c2acb7-1ef3-6c0a-e05f-9d99d634f090@aklaver.com>
References: <47c92baa-949b-92d1-c162-1f0d8348fb50@hot.ee>
	<2eee8862-ea29-3e9c-30ff-82ec7ad4d99f@aklaver.com>
	<08f90e7b-8d08-d46e-abb7-85dd68bc3078@hot.ee>
	<ed44153c97970e36d7f4266370fcb1d5110f2d91.camel@cybertec.at>
	<6f141378-2651-3c71-1bab-8b5700e45fbd@hot.ee>
	<cb692fa2-80f6-d769-a260-9676f0d236ae@aklaver.com>
	<467be57b-9ef6-c3a4-227e-f403ec1b5d68@hot.ee>
	<17c2acb7-1ef3-6c0a-e05f-9d99d634f090@aklaver.com>

Hi!
>
> I don't suppose this was done in a structured way that could be gone 
> back over?
>
Accidently  '200936767'::lo cast was issued :

INSERT INTO report ( ...  ) values (.. , '200936767'::lo, ... )

server throws error   type "lo" does not exist for this.

Maybe this causes orphan large object creation by server or by odbc 
driver. How to fix this ?

report table shoud not have lo type columns. No idea why this cast is 
generated using psqlodbc

Andrus.

view thread (27+ messages)  latest in thread

Message-ID: <00d9c25a-8336-adbd-45da-37c946edb9a4@hot.ee>
Permalink:  ../00d9c25a-8336-adbd-45da-37c946edb9a4@hot.ee/
Also on:    postgresql.org/message-id/00d9c25a-8336-adbd-45da-37c946edb9a4@hot.ee

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: kobruleht2@hot.ee, adrian.klaver@aklaver.com, laurenz.albe@cybertec.at
  Subject: Re: permission denied for large object 200936761
  In-Reply-To: <00d9c25a-8336-adbd-45da-37c946edb9a4@hot.ee>
  References: <47c92baa-949b-92d1-c162-1f0d8348fb50@hot.ee> <2eee8862-ea29-3e9c-30ff-82ec7ad4d99f@aklaver.com> <08f90e7b-8d08-d46e-abb7-85dd68bc3078@hot.ee> <ed44153c97970e36d7f4266370fcb1d5110f2d91.camel@cybertec.at> <6f141378-2651-3c71-1bab-8b5700e45fbd@hot.ee> <cb692fa2-80f6-d769-a260-9676f0d236ae@aklaver.com> <467be57b-9ef6-c3a4-227e-f403ec1b5d68@hot.ee> <17c2acb7-1ef3-6c0a-e05f-9d99d634f090@aklaver.com> <00d9c25a-8336-adbd-45da-37c946edb9a4@hot.ee>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox