Re: field defaults - Mailing list pgsql-sql

From A.Bhuvaneswaran
Subject Re: field defaults
Date
Msg-id Pine.LNX.4.44.0303281913590.6803-100000@Bhuvan.bksys.co.in
Whole thread Raw
In response to field defaults  (Peter Childs <blue.dragon@blueyonder.co.uk>)
List 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



pgsql-sql by date:

Previous
From: Peter Childs
Date:
Subject: field defaults
Next
From: Peter Eisentraut
Date:
Subject: Re: How to configure two netcard for PostgreSQL?