On 02/16/2013 07:50 PM, David E. Wheeler wrote:
On Feb 16, 2013, at 12:47 PM, Andrew Dunstan <and...@dunslane.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[])

?



No, then we don't have a variadic version. You are going to have to accept that we can't make one function name cover all of this.

cheers

andrew



--
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers

Reply via email to