Re: JSON Function Bike Shedding

From: "David E(dot) Wheeler" <david(at)justatheory(dot)com>
To: Robert Haas <robertmhaas(at)gmail(dot)com>
Cc: PostgreSQL-development Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: JSON Function Bike Shedding
Date: 2013-02-15 19:58:53
Message-ID: 2286D0FB-208A-4BD2-9CE3-7EA0466BAA5C@justatheory.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Feb 15, 2013, at 9:25 AM, Robert Haas <robertmhaas(at)gmail(dot)com> wrote:

> I realize I'm in the minority here, but -1 from me on all of this.
> Should we also rename xml_is_well_formed() to just is_well_formed()?

That would be nice, but I think that ship done sunk.

> string_agg() to agg()?

Would love a different name, but IIRC that followed array_agg(), which was dictated by the SQL standard, in its infinite wisdom. See also =>.

> Eventually we will have more data types, and
> some of them will have functions that could also be called rows() or
> get_values(), but it's unlikely that they'll have exactly the same
> behavior, which will start to make things confusing.

Well, they will have to take account of *this* precedent and act accordingly. Much easier for them to look back at what has been done here than for us to look forward to something that today exists as no more than a twinkle in your eye.

Best,

David

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Manlio Perillo 2013-02-15 20:23:18 Re: [RFC] ideas for a new Python DBAPI driver (was Re: libpq test suite)
Previous Message Gilberto Castillo 2013-02-15 19:19:45 Re: Call for Google Summer of Code mentors, admins