Re: existence of column name

From: Jasen Betts <jasen(at)xnet(dot)co(dot)nz>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: existence of column name
Date: 2009-04-11 10:41:12
Message-ID: grps48$sm8$1@reversiblemaps.ath.cx
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 2009-04-09, Eric Smith <eric_h_smith(at)mac(dot)com> wrote:
> All,
>
> From the C API, how do I check for the existence of a column name in
> a given table?

you can look at the information schema, column-names in a result-set,
or error messages. which is most apropriate depends on the context.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Sam Mason 2009-04-11 14:58:59 Re: Internationalization
Previous Message Jasen Betts 2009-04-11 09:18:48 Re: Convert Oracle function to PostgreSQL