Re: pg_execute_from_file review

Поиск
Список
Период
Сортировка
От Andrew Dunstan
Тема Re: pg_execute_from_file review
Дата
Msg-id 4CF3D1AD.4080605@dunslane.net
обсуждение исходный текст
Ответ на Re: pg_execute_from_file review  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers

On 11/29/2010 10:51 AM, Robert Haas wrote:
>>
>> 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.
> Because you execute queries, not files.  Or at least that's how I
> think about it.
>

Well, to me "pg_execute_query_file" says "execute the queries in this 
file". I'm not sure what else it could sensibly mean. But I think any of 
the suggestions will probably work OK.

cheers

andrew


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_execute_from_file review
Следующее
От: Joshua Tolley
Дата:
Сообщение: Re: pg_execute_from_file review