Re: Is this fixed in the 7.4 release?

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Wei Weng <wweng(at)kencast(dot)com>
Cc: pgsql-interfaces(at)postgresql(dot)org
Subject: Re: Is this fixed in the 7.4 release?
Date: 2004-03-22 17:44:41
Message-ID: 6450.1079977481@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

Wei Weng <wweng(at)kencast(dot)com> writes:
> Basically, I am asking the program to return me the field type of the
> first column in the command "select '' AS blah". I was expecting
> something like a CHAROID, but the return value is UNKNOWNOID (OID(705)).

> Is this a bug?

No. There isn't anything in that command that constrains the datatype
of the literal, so its type remains UNKNOWN.

regards, tom lane

In response to

Browse pgsql-interfaces by date

  From Date Subject
Next Message Preston A. Elder 2004-03-23 03:22:02 Portable interfaces ...
Previous Message Wei Weng 2004-03-22 17:09:43 Is this fixed in the 7.4 release?