From: | Andres Freund <andres(at)2ndquadrant(dot)com> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | Noah Misch <noah(at)leadboat(dot)com>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: lo_create(oid, bytea) breaks every extant release of libpq |
Date: | 2014-06-12 14:50:07 |
Message-ID: | 20140612145007.GE24710@alap3.anarazel.de |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 2014-06-12 10:48:01 -0400, Tom Lane wrote:
> Noah Misch <noah(at)leadboat(dot)com> writes:
> >> lo_new() or lo_make()? An earlier draft of the patch that added
> >> lo_create(oid, bytea) had a similar function named make_lo().
>
> It appears that lo_make() has a small plurality, but before we lock
> that name in, there was one other idea that occurred to me: the
> underlying C function is currently named lo_create_bytea(), and
> that seems like not an awful choice for the SQL name either.
>
> Any other votes out there?
I prefer lo_create_bytea() or even lo_create_from_bytea(),
lo_from_bytea().
Greetings,
Andres Freund
--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
From | Date | Subject | |
---|---|---|---|
Next Message | Alvaro Herrera | 2014-06-12 14:56:04 | Re: lo_create(oid, bytea) breaks every extant release of libpq |
Previous Message | Tom Lane | 2014-06-12 14:48:01 | Re: lo_create(oid, bytea) breaks every extant release of libpq |