What API call can I make to find out if a column is nullable or not?
 

Message



What API call can I 
make to find out if a column is nullable or not?
Wed, 7 Jan 2004 11:01:06 -0800
"Dann Corbit" <DCorbit@connx.com>
Dumb question: How do I determine programmatically if a column is
	nullable?
Dann Corbit wrote:

> What API call can I make to find out if a column is nullable or not?
>  

SELECT attnotnull FROM pg_attribute ...
see documentation "Internals/System Catalogs"

Regards,
Andreas



Wed, 07 Jan 2004 20:17:15 +0100
Andreas Pflug <pgadmin@pse-consulting.de>
Re: Dumb question:  How do I determine programmatically