pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Wei Weng <wweng@kencast.com>
Cc: pgsql-interfaces@postgresql.org
Subject: Re: Is this fixed in the 7.4 release?
Date: Mon, 22 Mar 2004 12:44:41 -0500
Message-ID: <6450.1079977481@sss.pgh.pa.us> (raw)
In-Reply-To: <405F1DD7.7060400@kencast.com>
References: <405F1DD7.7060400@kencast.com>

Wei Weng <wweng@kencast.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



view thread (2+ messages)

Message-ID: <6450.1079977481@sss.pgh.pa.us>
Permalink:  ../6450.1079977481@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/6450.1079977481@sss.pgh.pa.us

 · 

reply

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: tgl@sss.pgh.pa.us, wweng@kencast.com
  Subject: Re: Is this fixed in the 7.4 release?
  In-Reply-To: <6450.1079977481@sss.pgh.pa.us>

* 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