That one surprised me as well.
Thanks
lm
-----Original Message-----
From: Andrew Dunstan [mailto:andrew@dunslane.net]
Sent: Tuesday, June 12, 2007 12:00 PM
To: Larry McGhaw
Cc: Brian Hurt; pgsql-hackers@postgresql.org
Subject: Re: [HACKERS] Selecting a constant question
Larry McGhaw wrote:
> For constant '123'::varchar(3) libpq returns the following:
> Pqfsize returns -1
> Pqfmod returns -1
>
>
That one certainly looks odd.
cheers
andrew