Question about Large Objects

Started by Sergey Karinabout 21 years ago2 messagesgeneral
Jump to latest
#1Sergey Karin
nil5-ksa@yandex.ru

Hi, all

As I understood PostgreSQL allows to store large objects 2GB size maximum.

Are there any plans to increase or removing that limitation?

If no, are there any abilities to store 10-20GB raster data (aero foto
image) in postgreSQL?

Thanks

Sergey Karin

#2Tom Lane
tgl@sss.pgh.pa.us
In reply to: Sergey Karin (#1)
Re: Question about Large Objects

"Sergey Karin" <nil5-ksa@yandex.ru> writes:

As I understood PostgreSQL allows to store large objects 2GB size maximum.
Are there any plans to increase or removing that limitation?

I don't think anyone's really thought about it. To do it without
breaking backward compatibility, we'd have to invent a parallel 64-bit
LO API and propagate that clear out to the clients ... seems like a
pain in the neck for relatively small gain.

If no, are there any abilities to store 10-20GB raster data (aero foto
image) in postgreSQL?

You could break it into chunks, but it might be better to keep it in the
regular filesystem and just store a pathname in the database.

regards, tom lane