pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
\D TO FILE
4+ messages / 4 participants
[nested] [flat]

* \D TO FILE
@ 2004-05-03 11:49  Eric Anderson Vianet SAO <eric@vianet-express.com.br>
  0 siblings, 2 replies; 4+ messages in thread

From: Eric Anderson Vianet SAO @ 2004-05-03 11:49 UTC (permalink / raw)
  To: pgsql-sql

    How could I record the ´ \d table ´ command to a file?

    sds


    Eric Anderson
    CPD Via Net SAO
    11-66432800





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

* Re: \D TO FILE
@ 2004-05-03 12:32  Geoffrey <esoteric@3times25.net>
  parent: Eric Anderson Vianet SAO <eric@vianet-express.com.br>
  1 sibling, 0 replies; 4+ messages in thread

From: Geoffrey @ 2004-05-03 12:32 UTC (permalink / raw)
  To: Eric Anderson Vianet SAO <eric@vianet-express.com.br>; +Cc: pgsql-sql

Eric Anderson Vianet SAO wrote:
>     How could I record the ´ \d table ´ command to a file?

echo '\d' | psql rnd > outputfile

-- 
Until later, Geoffrey                     Registered Linux User #108567
Building secure systems in spite of Microsoft



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

* Re: \D TO FILE
@ 2004-05-03 12:34  Paul Thomas <paul@tmsl.demon.co.uk>
  parent: Eric Anderson Vianet SAO <eric@vianet-express.com.br>
  1 sibling, 1 reply; 4+ messages in thread

From: Paul Thomas @ 2004-05-03 12:34 UTC (permalink / raw)
  To: Eric Anderson Vianet SAO <eric@vianet-express.com.br>; +Cc: pgsql-sql


On 03/05/2004 12:49 Eric Anderson Vianet SAO wrote:
>     How could I record the ´ \d table ´ command to a file?

\o file

HTH


-- 
Paul Thomas
+------------------------------+---------------------------------------------+
| Thomas Micro Systems Limited | Software Solutions for 
Business             |
| Computer Consultants         | 
http://www.thomas-micro-systems-ltd.co.uk   |
+------------------------------+---------------------------------------------+



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

* Re: \D TO FILE
@ 2004-05-03 15:36  Arne Stoelck <stolck@web.de>
  parent: Paul Thomas <paul@tmsl.demon.co.uk>
  0 siblings, 0 replies; 4+ messages in thread

From: Arne Stoelck @ 2004-05-03 15:36 UTC (permalink / raw)
  To: Paul Thomas <paul@tmsl.demon.co.uk>; +Cc: Eric Anderson Vianet SAO <eric@vianet-express.com.br>; pgsql-sql

Autre variante

psql nom_base -c '\d nom_table' > nom_fichier

	Arne


On Mon, 3 May 2004, Paul Thomas wrote:

>
> On 03/05/2004 12:49 Eric Anderson Vianet SAO wrote:
> >     How could I record the ´ \d table ´ command to a file?
>
> \o file
>



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


end of thread, other threads:[~2004-05-03 15:36 UTC | newest]

Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2004-05-03 11:49 \D TO FILE Eric Anderson Vianet SAO <eric@vianet-express.com.br>
2004-05-03 12:32 ` Geoffrey <esoteric@3times25.net>
2004-05-03 12:34 ` Paul Thomas <paul@tmsl.demon.co.uk>
2004-05-03 15:36   ` Arne Stoelck <stolck@web.de>

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