From: | "Zeugswetter Andreas SB SD" <ZeugswetterA(at)spardat(dot)at> |
---|---|
To: | "Robert Treat" <xzilla(at)users(dot)sourceforge(dot)net> |
Cc: | "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Peter Eisentraut" <peter_e(at)gmx(dot)net>, <milimeter(at)163(dot)com>, "PostgreSQL Development" <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: [GENERAL] Problem about pgsql's column alias |
Date: | 2003-04-15 17:44:37 |
Message-ID: | 46C15C39FEB2C44BA555E356FBCD6FA4961F83@m0114.s-mxs.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
> > > > That seems like a rather poor excuse for not supporting a standard feature
> > > > that people seem to ask about every week.
> > >
> > > Actually, that was the first complaint that I can recall hearing in
> > > quite some time.
> >
> > Imho it is well documented, and the answer has always been that it is not easily doable,
> > so people don't complain, but I guess they are none the less annoyed.
> >
> > I would vote for doing the change.
> >
>
> Tom raised the issue of
>
> > SELECT 'foo'::character varying
> > Is "varying" an alias or part of the type name?
>
> which I've not seen addressed except for the suggestion to deprecate the
> use of :: for casting, which I would sure have reservations about.
Yes, I would also not like to depricate the :: syntax, but "varying" is an
SQL reserved word, as are all other words of multi word types, thus I see no
unsolveable problem here (disregard reserved words as alias unless AS is given).
Andreas
From | Date | Subject | |
---|---|---|---|
Next Message | Jan Wieck | 2003-04-15 17:58:01 | Re: Backpatch FK changes to 7.3 and 7.2? |
Previous Message | Rob Butler | 2003-04-15 17:43:58 | Re: Are we losing momentum? |