pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ken J. Wright <ken@ori-ind.com>
To: pgsql-interfaces@postgreSQL.org
Subject: how to obtain column info
Date: Tue, 10 Nov 1998 16:38:02 -0800
Message-ID: <3.0.1.32.19981110163802.007b72f0@ori-ind.com> (raw)

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



view thread (5+ messages)  latest in thread

Message-ID: <3.0.1.32.19981110163802.007b72f0@ori-ind.com>
Permalink:  ../3.0.1.32.19981110163802.007b72f0@ori-ind.com/
Also on:    postgresql.org/message-id/3.0.1.32.19981110163802.007b72f0@ori-ind.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: ken@ori-ind.com
  Subject: Re: how to obtain column info
  In-Reply-To: <3.0.1.32.19981110163802.007b72f0@ori-ind.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox