Re: JSON Function Bike Shedding

From: "David E(dot) Wheeler" <david(at)justatheory(dot)com>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: Andres Freund <andres(at)2ndquadrant(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: JSON Function Bike Shedding
Date: 2013-02-17 00:50:08
Message-ID: 0580766B-9B11-4871-A5EA-EC00EC3311DF@justatheory.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Feb 16, 2013, at 12:47 PM, Andrew Dunstan <andrew(at)dunslane(dot)net> wrote:

> To answer David's point, there is no point in having both
>
> get(json,text)
> get(json, variadic text[])
>
> since the second can encompass the first, and having both would make calls ambiguous.

Oh. Well then how about

get(json, int)
get(json, text)
get(json, text[])

?

David

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Shigeru Hanada 2013-02-17 04:28:47 Re: FDW for PostgreSQL
Previous Message Bruce Momjian 2013-02-16 23:53:20 Re: src/ports/pgcheckdir.c - Ignore dot directories...