From: | "Greg Stark" <stark(at)enterprisedb(dot)com> |
---|---|
To: | "Robert Haas" <robertmhaas(at)gmail(dot)com> |
Cc: | "Dimitri Fontaine" <dfontaine(at)hi-media(dot)com>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Peter Eisentraut" <peter_e(at)gmx(dot)net>, pgsql-hackers(at)postgresql(dot)org, "Michael Meskes" <meskes(at)postgresql(dot)org>, "David E(dot) Wheeler" <david(at)kineticode(dot)com>, "Pavel Stehule" <pavel(dot)stehule(at)gmail(dot)com>, "Heikki Linnakangas" <heikki(dot)linnakangas(at)enterprisedb(dot)com>, "Bruce Momjian" <bruce(at)momjian(dot)us>, "Grzegorz Jaskiewicz" <gj(at)pointblue(dot)com(dot)pl> |
Subject: | Re: WIP: default values for function parameters |
Date: | 2008-12-14 02:21:56 |
Message-ID: | 4136ffa0812131821v5660c31u27b20814d86c529e@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On Sun, Dec 14, 2008 at 1:42 AM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:
>> What if relabeling support were to spread some more?
>
> The only example I can think of besides XML is JSON. There might be a
> few more. Basically, relabelling is a handy shortcut when you are
> serializing data and want to avoid specifying a list of columns and an
> (almost) identical list of labels.
The whole relabeling thing seems like a seriously silly idea. Why is
it at all a shortcut to use "AS" instead of "," ? The relabeling adds
zero actual expressiveness, it just makes a fancy way to pass an
argument.
--
greg
From | Date | Subject | |
---|---|---|---|
Next Message | Robert Haas | 2008-12-14 02:35:27 | Re: Sync Rep: First Thoughts on Code |
Previous Message | Robert Haas | 2008-12-14 01:42:58 | Re: WIP: default values for function parameters |