Re: pg_execute_from_file review

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: pg_execute_from_file review
Дата
Msg-id 4CF3C8BC.4010605@dunslane.net
обсуждение исходный текст
Ответ на Re: pg_execute_from_file review  (Robert Haas <robertmhaas@gmail.com>)
Ответы Re: pg_execute_from_file review  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Re: pg_execute_from_file review  (Robert Haas <robertmhaas@gmail.com>)
Re: pg_execute_from_file review  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers

On 11/29/2010 10:30 AM, Robert Haas wrote:
> On Mon, Nov 29, 2010 at 10:27 AM, Robert Haas<robertmhaas@gmail.com>  wrote:
>> On Mon, Nov 29, 2010 at 4:26 AM, Dimitri Fontaine
>> <dimitri@2ndquadrant.fr>  wrote:
>>>> * I'd like to ask native speakers whether "from" is needed in names
>>>>    of "pg_execute_from_file" and "pg_execute_from_query_string".
>>> Fair enough, will wait for some comments before producing a v6.
>> Yes, you need the from there.
> Eh, wait.  You definitely need from in pg_execute_from_file().  But
> pg_execute_from_query_string() doesn't sound quite right.  What does
> that function do, anyway?

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.

cheers

andrew


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Report: Linux huge pages with Postgres
Следующее
От: Dimitri Fontaine
Дата:
Сообщение: Re: pg_execute_from_file review