Re: newbie question... how do I get table structure?

From: Richard Huxton <dev(at)archonet(dot)com>
To: Franco Bruno Borghesi <franco(at)akyasociados(dot)com(dot)ar>, Aaron Bratcher <aaronbratcher(at)abdatatools(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: newbie question... how do I get table structure?
Date: 2004-02-06 15:42:15
Message-ID: 200402061542.15214.dev@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Friday 06 February 2004 15:00, Franco Bruno Borghesi wrote:
>
> Does anyone know if the ansi sql standard defines any way to do this?
> I've seen the DESCRIBE TABLE/INDEX/... or SHOW TABLE/INDEX/... commands
> in other databases, but I don't really know if they are extensions or
> not.

There's the new information schema, which displays standard info in 7.4 -
support elsewhere is variable I believe.

--
Richard Huxton
Archonet Ltd

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Richard Huxton 2004-02-06 15:47:45 Re: Run 2 versions of Postgresql on one machine?
Previous Message Andy Kriger 2004-02-06 15:37:08 how can I select into an array?