Re: Can I get Field informations from system tables?

From: Sam Mason <sam(at)samason(dot)me(dot)uk>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Can I get Field informations from system tables?
Date: 2009-08-13 17:22:23
Message-ID: 20090813172223.GG5407@samason.me.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Thu, Aug 13, 2009 at 05:20:22PM +0200, Durumdara wrote:
> I must get informations about the tables.
> For example:
> Tnnn:
> 1. [Field Name, Type, Size, NotNull]
> 2. [Field Name, Type, Size, NotNull]

I'd recommend either using the standard defined information_schema[1] or
playing around with running psql with -E.

--
Sam http://samason.me.uk/

[1] http://www.postgresql.org/docs/current/static/information-schema.html

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Radoslaw Zielinski 2009-08-13 17:22:39 Re: 8.4.0 bug - failure to enforce a foreign key constraint
Previous Message Greg Smith 2009-08-13 16:54:00 Re: PostgreSQL for Firefox Bookmarks?