Re: field defaults

From: "A(dot)Bhuvaneswaran" <bhuvansql(at)myrealbox(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: Re: field defaults
Date: 2003-03-28 13:44:41
Message-ID: Pine.LNX.4.44.0303281913590.6803-100000@Bhuvan.bksys.co.in
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


> I need a method of getting the column defaults out of my database.
> I would like to use them to fill in a screen so the user can then edit
> them before they insert the record.
> Looking at how psql does this it does not seam very easy.
> I think a view of the relevent system table should help.

pg_attrdef.adsrc must help you.

regards,
bhuvaneswaran

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Peter Eisentraut 2003-03-28 13:56:07 Re: How to configure two netcard for PostgreSQL?
Previous Message Peter Childs 2003-03-28 10:15:31 field defaults