Re: Dumb question: How do I determine programmatically - Mailing list pgsql-hackers

From Andreas Pflug
Subject Re: Dumb question: How do I determine programmatically
Date
Msg-id 3FFC5B3B.6020004@pse-consulting.de
Whole thread Raw
In response to Dumb question: How do I determine programmatically if a column is nullable?  ("Dann Corbit" <DCorbit@connx.com>)
List pgsql-hackers
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




pgsql-hackers by date:

Previous
From: "Dann Corbit"
Date:
Subject: Dumb question: How do I determine programmatically if a column is nullable?
Next
From: Neil Conway
Date:
Subject: Re: Bug in new buffer freelist code