Re: Writing Result to Disk (psql) - Mailing list pgsql-general

From Justin Clift
Subject Re: Writing Result to Disk (psql)
Date
Msg-id 3B00FDD1.D20128AC@postgresql.org
Whole thread Raw
In response to RE: Writing Result to Disk (psql)  ("Tamsin" <tg_mail@bryncadfan.co.uk>)
List pgsql-general
Hi all,

Out of interest, you can output directly to attached printers, serial
ports, etc using the same format :

\o /dev/lp0

\o /dev/ttyS0

\o /dev/hdd4   <-- Don't do this one!

etc

Makes it interesting, especially in combination with outputting binary
data, etc.  Have to be careful to set your alignment correctly though,
else certain things won't work.

:-)

Regards and best wishes,

Justin Clift

pgsql-general by date:

Previous
From: Vince Vielhaber
Date:
Subject: Re: PostgreSQL in Comparison to mySQL
Next
From: Alejandro Fernandez
Date:
Subject: Re: naming convention/mixed case