Re: field definitions in view results? - Mailing list pgsql-general

From Tom Lane
Subject Re: field definitions in view results?
Date
Msg-id 26108.1112627642@sss.pgh.pa.us
Whole thread Raw
In response to field definitions in view results?  (Klint Gore <kg@kgb.une.edu.au>)
List pgsql-general
Klint Gore <kg@kgb.une.edu.au> writes:
> Is there any way to get the (8) limit on the view result without doing
>   create view v1 as
>       select cast(v2.astr as varchar(8)) as astr
>       from (select * from t1 union select * from t2) v2

No.  This is an open issue for 8.1, see
http://archives.postgresql.org/pgsql-general/2004-12/msg00508.php
http://archives.postgresql.org/pgsql-hackers/2004-12/msg00408.php

            regards, tom lane

pgsql-general by date:

Previous
From: "Joshua D. Drake"
Date:
Subject: Re: [HACKERS] plPHP in core?
Next
From: Michelle Konzack
Date:
Subject: Re: How to query pgsql from a BASH script ?