Skip site navigation (1) Skip section navigation (2)

how to obtain column info

From: "Ken J(dot) Wright" <ken(at)ori-ind(dot)com>
To: pgsql-interfaces(at)postgreSQL(dot)org
Subject: how to obtain column info
Date: 1998-11-11 00:38:02
Message-ID: 3.0.1.32.19981110163802.007b72f0@ori-ind.com (view raw or flat)
Thread:
Lists: pgsql-interfaces
With libpq, how do you obtain column info (like type) for a table *before*
returning a result set? For instance, knowing the column type before
constructing an insert statement. A date will need quotes, a number won't,
a string will, etc.

Thanks,

Ken

Responses

pgsql-interfaces by date

Next:From: Bryan WhiteDate: 1998-11-11 01:28:15
Subject: Re: [INTERFACES] how to obtain column info
Previous:From: Tom LaneDate: 1998-11-10 23:19:30
Subject: Re: [INTERFACES] Determine data type of columns

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group