pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
BUG #8760: Large Objects
3+ messages / 3 participants
[nested] [flat]

* BUG #8760: Large Objects
@ 2014-01-09 12:01 rabigul@gmail.com
  2014-01-10 02:02 ` Re: BUG #8760: Large Objects Michael Paquier <michael.paquier@gmail.com>
  0 siblings, 1 reply; 3+ messages in thread

From: rabigul@gmail.com @ 2014-01-09 12:01 UTC (permalink / raw)
  To: pgsql-bugs

The following bug has been logged on the website:

Bug reference:      8760
Logged by:          Rabi
Email address:      rabigul@gmail.com
PostgreSQL version: 9.1.0
Operating system:   Ubuntu
Description:        

HI,


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.


thanking you in advance.
Cheers




-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: BUG #8760: Large Objects
  2014-01-09 12:01 BUG #8760: Large Objects rabigul@gmail.com
@ 2014-01-10 02:02 ` Michael Paquier <michael.paquier@gmail.com>
  2014-01-10 06:57   ` Re: BUG #8760: Large Objects Pavel Golub <pavel@microolap.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Michael Paquier @ 2014-01-10 02:02 UTC (permalink / raw)
  To: rabigul@gmail.com; +Cc: pgsql-bugs

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.
This is a bug of your application. This error simply means that this
application is expecting a large object that it cannot find,
symbolized by the invalid descriptor OID reported in the message.

Regards,
-- 
Michael


-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: BUG #8760: Large Objects
  2014-01-09 12:01 BUG #8760: Large Objects rabigul@gmail.com
  2014-01-10 02:02 ` Re: BUG #8760: Large Objects Michael Paquier <michael.paquier@gmail.com>
@ 2014-01-10 06:57   ` Pavel Golub <pavel@microolap.com>
  0 siblings, 0 replies; 3+ messages in thread

From: Pavel Golub @ 2014-01-10 06:57 UTC (permalink / raw)
  To: Michael Paquier <michael.paquier@gmail.com>; +Cc: rabigul@gmail.com; pgsql-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



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2014-01-10 06:57 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2014-01-09 12:01 BUG #8760: Large Objects rabigul@gmail.com
2014-01-10 02:02 ` Michael Paquier <michael.paquier@gmail.com>
2014-01-10 06:57   ` Pavel Golub <pavel@microolap.com>

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