Re: Dumb question: How do I determine programmatically

From: Andreas Pflug <pgadmin(at)pse-consulting(dot)de>
To: Dann Corbit <DCorbit(at)connx(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Dumb question: How do I determine programmatically
Date: 2004-01-07 19:17:15
Message-ID: 3FFC5B3B.6020004@pse-consulting.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Neil Conway 2004-01-07 19:22:50 Re: Bug in new buffer freelist code
Previous Message Robert Treat 2004-01-07 19:03:00 OT: DVD Woes WAS: Paypal WAS: PostgreSQL speakers needed for OSCON