Re: What is the best way to select all user defined field names in a table?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Yasuo Ohgaki" <yasuo_ohgaki(at)hotmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: What is the best way to select all user defined field names in a table?
Date: 2001-02-28 06:32:16
Message-ID: 17303.983341936@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Yasuo Ohgaki" <yasuo_ohgaki(at)hotmail(dot)com> writes:
> It seems pg_attribute does not have flag to distinguish user defined fields.

attnum > 0 indicates a user field.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jeremy Smith 2001-02-28 06:34:31 Re: Problem with host connection
Previous Message will trillich 2001-02-28 06:29:14 Re: postgresql upgrade/downgrade -- help!