pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
Accessing large objects
2+ messages / 2 participants
[nested] [flat]

* Accessing large objects
@ 2009-03-21 08:37  c k <shreeseva.learning@gmail.com>
  0 siblings, 1 reply; 2+ messages in thread

From: c k @ 2009-03-21 08:37 UTC (permalink / raw)
  To: pgsql-general@postgresql.org; pgsql-admin

Hello,

how to access large objects from the database when using PGAdmin like client
applications? When a normal select is executed on lo type columns it gives
only the number which refers to large objects stored in 'pg_largeobjects'
table. When records from pg_largeobjects are fetched using select, it gives
per page, binary string data. How to get the complete large objects from it?

I am using PG 8.3.6 on Windows XP SP3 for development.

Thanks,

CPKulkarni

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

* Re: [GENERAL] Accessing large objects
@ 2009-03-24 09:31  Albe Laurenz <laurenz.albe@wien.gv.at>
  parent: c k <shreeseva.learning@gmail.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Albe Laurenz @ 2009-03-24 09:31 UTC (permalink / raw)
  To: c k *EXTERN* <shreeseva.learning@gmail.com>; pgsql-general@postgresql.org; pgsql-admin

> how to access large objects from the database when using 
> PGAdmin like client applications? When a normal select is 
> executed on lo type columns it gives only the number which 
> refers to large objects stored in 'pg_largeobjects' table. 
> When records from pg_largeobjects are fetched using select, 
> it gives per page, binary string data. How to get the 
> complete large objects from it?
> 
> I am using PG 8.3.6 on Windows XP SP3 for development.

With the Large Object API, which can be used from almost all
programming APIs. It is documented in

http://www.postgresql.org/docs/8.3/static/largeobjects.html

Yours,
Laurenz Albe



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


end of thread, other threads:[~2009-03-24 09:31 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-03-21 08:37 Accessing large objects c k <shreeseva.learning@gmail.com>
2009-03-24 09:31 ` Albe Laurenz <laurenz.albe@wien.gv.at>

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