Search Postgresql Archives

Re: export a select result in a file ?

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

 



am  04.10.2005, um  5:00:16 -0700 mailte ctobini folgendes:
> Hello,
> 
> I don't find in the PostgreSQL doc how to export a select result in a
> text file.
> 
> Thanks if you can help me.

You can use \o in psql to redirect the result to a file.

\o out.file


Regards, Andreas
-- 
Andreas Kretschmer    (Kontakt: siehe Header)
Heynitz:  035242/47212,      D1: 0160/7141639
GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net
 ===    Schollglas Unternehmensgruppe    === 

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

[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