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

Function for determining column witdhs in libpq ?

From: David(dot)Jacques(at)CCRS(dot)NRCan(dot)gc(dot)ca
To: pgsql-interfaces(at)postgresql(dot)org
Subject: Function for determining column witdhs in libpq ?
Date: 2005-03-04 13:26:33
Message-ID: B7F9814D6850C949947CF8DEA13477810207ABE7@s5-ccr-r2.ccrs.nrcan.gc.ca (view raw or flat)
Thread:
Lists: pgsql-interfaces
I need to build a create table statement based on the some of the field 
 names I retreive from an existing table. I have made use of the
functionality
 in Pqftype() but that doesn't help me distiguish between a column of
 VARCHAR(20) and a a column of VARCHAR(8). Is there a function in lipq to do
this ?


Thanks

David


Responses

pgsql-interfaces by date

Next:From: Tom LaneDate: 2005-03-04 15:16:46
Subject: Re: how to parse an proargtypes array?
Previous:From: b tDate: 2005-03-04 07:34:02
Subject: how to parse an proargtypes array?

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