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: (view raw, whole thread or download thread mbox)
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.




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-2017 The PostgreSQL Global Development Group