Re: Simple PG Sql question (i hope) - Mailing list pgsql-general

From Tony Caduto
Subject Re: Simple PG Sql question (i hope)
Date
Msg-id 42F7BAF9.7010207@amsoftwaredesign.com
Whole thread Raw
In response to Re: Simple PG Sql question (i hope)  ("Joshua D. Drake" <jd@commandprompt.com>)
Responses Re: Simple PG Sql question (i hope)  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-general
Hi,
I don't think I was clear enough.

I know about using the AS keyword, that is not the problem.
The query in issue is:

select true,78,'Here is a value' as stringfield, testname from tbltest

Is returning the string as TYPE Unknown, not the column name.  The
column name comes back as stringfield because of the AS keyword.

You can see the type in tools such as PG Admin etc

Thanks,

Tony

pgsql-general by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: AMD 64 RPM?
Next
From: Tony Caduto
Date:
Subject: Re: AMD 64 RPM?