Received: from news.tht.net (news.hub.org [216.126.91.242]) by postgresql.org (8.11.3/8.11.4) with ESMTP id fB1Ncpm73504 for ; Sat, 1 Dec 2001 18:38:52 -0500 (EST) (envelope-from news@news.tht.net) Received: (from news@localhost) by news.tht.net (8.11.4/8.11.4) id fB1NcJ342250 for pgsql-admin@postgresql.org; Sat, 1 Dec 2001 18:38:19 -0500 (EST) (envelope-from news) From: missive@frontiernet.net (Lee Harr) X-Newsgroups: comp.databases.postgresql.admin Subject: Re: psql option for writing schema Date: Sat, 1 Dec 2001 23:38:17 +0000 (UTC) Organization: Hub.Org Networking Services (http://www.hub.org) Lines: 10 Message-ID: <9ubpl9$196u$1@news.tht.net> References: Reply-To: missive@hotmail.com X-Complaints-To: scrappy@hub.org User-Agent: slrn/0.9.7.0 (FreeBSD) To: pgsql-admin@postgresql.org X-Archive-Number: 200112/38 X-Sequence-Number: 2762 On 30 Nov 2001 10:52:26 -0800, Tony Reina wrote: > I seem to remember a psql option that dumped out the table schema. I > can't seem to find it in the man for psql. Could someone point out the > option to me? > In psql \? is your friend. Probably what you want is \d tableName