Problems with PQfmod() returning -1 on varchar field (libpq-8.0.0 )? - Mailing list pgsql-interfaces

From Jerry Day
Subject Problems with PQfmod() returning -1 on varchar field (libpq-8.0.0 )?
Date
Msg-id 491DC5F3D279CD4EB4B157DDD62237F406ABE858@zipwire.esri.com
Whole thread Raw
Responses Re: Problems with PQfmod() returning -1 on varchar field
Re: Problems with PQfmod() returning -1 on varchar field (libpq-8.0.0 )?
List pgsql-interfaces
Hi all,

I've recently encountered a situation where PQfmod() fails to return the
defined length of a varchar field referenced in a query, as expected -
returning no information (-1), instead. Has anyone else encountered this
issue? If so, why does this occur? Can you recommended a method to more
reliably obtain the length of varchar fields, as defined in the relations
referenced by a query? 

Thanks,

Jerry L. Day


pgsql-interfaces by date:

Previous
From: Christopher von Nagy
Date:
Subject: MacSQL connectivity
Next
From: "Sean Davis"
Date:
Subject: Re: calling an external (windows) exe