From: Pavel Golub <pavel@microolap.com>
To: Michael Paquier <michael.paquier@gmail.com>
Cc: rabigul@gmail.com
Cc: pgsql-bugs@postgresql.org
Subject: Re: BUG #8760: Large Objects
Date: Fri, 10 Jan 2014 08:57:57 +0200
Message-ID: <1444293434.20140110085757@gf.microolap.com> (raw)
In-Reply-To: <CAB7nPqR7hybnXoCvnovzL-dh71t-Ud+_9cyU_JbiMhv+giy3zw@mail.gmail.com>
References: <E1W1EJB-0004bl-VC@wrigleys.postgresql.org>
<CAB7nPqR7hybnXoCvnovzL-dh71t-Ud+_9cyU_JbiMhv+giy3zw@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>
Hello, Michael.
You wrote:
MP> On Thu, Jan 9, 2014 at 9:01 PM, <rabigul@gmail.com> wrote:
>> I'm seeing errors whilst Asterisk is trying to run Insert command and add
>> voice messages into Postgresql DB.
>> here are asterisk instructions to define large objects
>>
>>
>> https://wiki.asterisk.org/wiki/display/AST/Storing+Voicemail+in+PostgreSQL+via+ODBC
>>
>>
>> ERROR: invalid large-object descriptor: 16551
>> ERROR: current transaction is aborted, commands ignored until end of
>> transaction block
>> ERROR: current transaction is aborted, commands ignored until end of
>> transaction block
>> ERROR: invalid large-object descriptor: 16552
>> ERROR: current transaction is aborted, commands ignored until end of
>> transaction block
>> ERROR: current transaction is aborted, commands ignored until end of
>> transaction block
>>
>>
>> Could you please advise if this is the bug in software and needs updated
>> patch?
>> I have several time re run configs and did alot of troubleshooting but don't
>> find much help.
MP> This is a bug of your application. This error simply means that this
MP> application is expecting a large object that it cannot find,
MP> symbolized by the invalid descriptor OID reported in the message.
One more notice. All operations on LO (oids) must be done inside
transaction bloc. Thus there should always be call for COMMIT or
ROLLBACK before another try to put LO to the table. I'm not sure about
your code, but you should check this too.
MP> Regards,
MP> --
MP> Michael
--
With best wishes,
Pavel mailto:pavel@gf.microolap.com
--
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs
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-bugs@postgresql.org
Cc: pavel@microolap.com, michael.paquier@gmail.com, rabigul@gmail.com
Subject: Re: BUG #8760: Large Objects
In-Reply-To: <1444293434.20140110085757@gf.microolap.com>
References: <E1W1EJB-0004bl-VC@wrigleys.postgresql.org> <CAB7nPqR7hybnXoCvnovzL-dh71t-Ud+_9cyU_JbiMhv+giy3zw@mail.gmail.com> <1444293434.20140110085757@gf.microolap.com>
* 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