Re: pg_execute_from_file review

Поиск
Список
Период
Сортировка
От Joshua Tolley
Тема Re: pg_execute_from_file review
Дата
Msg-id 4cf3d25d.13f88e0a.40ca.644b@mx.google.com
обсуждение исходный текст
Ответ на Re: pg_execute_from_file review  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Mon, Nov 29, 2010 at 11:12:58AM -0500, Tom Lane wrote:
> Andrew Dunstan <andrew@dunslane.net> writes:
> > I'm not sure why you need either "from". It just seems like a noise
> > word. Maybe we could use pg_execute_query_file() and
> > pg_execute_query_string(), which would be fairly clear and nicely
> > symmetrical.
>
> +1, but I think "query" is also a noise word here.
> Why not just "pg_execute_file" and "pg_execute_string"?
>
>             regards, tom lane

While we're bikeshedding, and since I started the thread that has become this
topic, +1 for Tom's naming.

--
Joshua Tolley / eggyknap
End Point Corporation
http://www.endpoint.com

В списке pgsql-hackers по дате отправления:

Предыдущее
От: Andrew Dunstan
Дата:
Сообщение: Re: pg_execute_from_file review
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: pg_execute_from_file review