X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [64.117.224.130]) by svr1.postgresql.org (Postfix) with ESMTP id 1AC42D1B4E8 for ; Wed, 10 Sep 2003 18:57:49 +0000 (GMT) Received: from svr1.postgresql.org ([64.117.224.193]) by localhost (neptune.hub.org [64.117.224.130]) (amavisd-new, port 10024) with ESMTP id 51095-05 for ; Wed, 10 Sep 2003 15:57:18 -0300 (ADT) Received: from wolff.to (wolff.to [66.93.249.74]) by svr1.postgresql.org (Postfix) with SMTP id BD537D1B4F1 for ; Wed, 10 Sep 2003 15:57:16 -0300 (ADT) Received: (qmail 29491 invoked by uid 500); 10 Sep 2003 19:03:44 -0000 Date: Wed, 10 Sep 2003 14:03:44 -0500 From: Bruno Wolff III To: Jodi Kanter Cc: Postgres Admin List Subject: Re: extended view of sql Message-ID: <20030910190344.GB29202@wolff.to> Mail-Followup-To: Jodi Kanter , Postgres Admin List References: <3F5F68D5.1040503@virginia.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3F5F68D5.1040503@virginia.edu> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200309/176 X-Sequence-Number: 10264 On Wed, Sep 10, 2003 at 14:09:25 -0400, Jodi Kanter wrote: > I seem to remember there being a switch that I could set in psql that > would show me the sql that the system is using when I run certain > commands. For example, what the system is doing when I do a \d tablename. > Does anyone know what I am referring to? I cannot seem to find anything > in the docs but then I don't know what its called so cannot search. You probably want the -E option. Documentation on it is in the man page for psql.