pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pg_loopen() unable to open large object
2+ messages / 2 participants
[nested] [flat]

* pg_loopen() unable to open large object
@ 2003-09-26 13:50  luca.scaramella@recom.it
  0 siblings, 0 replies; 2+ messages in thread

From: luca.scaramella@recom.it @ 2003-09-26 13:50 UTC (permalink / raw)
  To: pgsql-php

Hi,
If use the large objects i get this error
pg_loopen() unable to open PostgreSQL large object in .

The strange thing it's:
1) If i try to read blobs loaded 2 weeks ago everything works fine
2) If i use \lo_export the blob works fine( also with the blob where i get
the error)

the only package  i've updated recently was compat-db-3.3.11-4.i386.rpm but
now i forced the previous compat-db-3.3.11-2.i386.rpm

(My Configuration Redhat 8.1 - php-4.2.2-8.0.7 - postgresql-7.3.2 -
httpd-2.0.40-11 )
Thx
Luca




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

* pg_loopen() unable to open large object
@ 2003-09-26 16:43  Luca Scaramella <luca.scaramella@recom.it>
  0 siblings, 0 replies; 2+ messages in thread

From: Luca Scaramella @ 2003-09-26 16:43 UTC (permalink / raw)
  To: pgsql-php

The solution is:
My blob oid was very big.
I had to cast to (float) the oid parameter of pg_loopen.
Now works OK.






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


end of thread, other threads:[~2003-09-26 16:43 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-09-26 13:50 pg_loopen() unable to open large object luca.scaramella@recom.it
2003-09-26 16:43 pg_loopen() unable to open large object Luca Scaramella <luca.scaramella@recom.it>

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