From: Jerry Day <jerry_day@esri.com>
To: 'pgsql-interfaces@postgresql.org' <pgsql-interfaces@postgresql.org>
Subject: Problems with PQfmod() returning -1 on varchar field (libpq-8.0.0 )?
Date: Fri, 1 Apr 2005 16:21:03 -0800
Message-ID: <491DC5F3D279CD4EB4B157DDD62237F406ABE858@zipwire.esri.com> (raw)
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
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: jerry_day@esri.com
Subject: Re: Problems with PQfmod() returning -1 on varchar field (libpq-8.0.0 )?
In-Reply-To: <491DC5F3D279CD4EB4B157DDD62237F406ABE858@zipwire.esri.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