Search Postgresql Archives

Re: Import file into bytea field in SQL/plpgsql?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 3/5/08, Erwin Brandstetter <brsaweda@xxxxxxxxx> wrote:
>  The whole concept behind large objects is a bit off. Since we have
>  TOAST tables, it is of limited use to store large objects away in a
>  system table. It would be useful to have (additional) functions like:
>    lo_import(text) RETURNS bytea
>    lo_export(bytea, text) RETURNS integer

Just so you know, large objects are quite old and predate TOAST, which
is why they are slightly quirky.  I agree that import/export functions
for BYTEA would be useful.


-- 
-Doug

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux