Re: pg_execute_from_file review

Поиск
Список
Период
Сортировка
От Robert Haas
Тема Re: pg_execute_from_file review
Дата
Msg-id AANLkTikosRrqq8DTu-3k1s4-=AKoawmju2yOagYnSAOV@mail.gmail.com
обсуждение исходный текст
Ответ на Re: pg_execute_from_file review  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Mon, Nov 29, 2010 at 11:48 AM, Tom Lane <tgl@sss.pgh.pa.us> wrote:
> Robert Haas <robertmhaas@gmail.com> writes:
>> pg_execute_file() could be read to mean you are going to execute the
>> file itself (i.e. it's a program).
>
> Well, if that's what it suggests to you, I don't see how adding "from"
> disambiguates anything.  You could be executing machine code "from"
> a file, too.
>
> What did you think of "pg_execute_sql_file"?

That, I like.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: pg_execute_from_file review
Следующее
От: Robert Haas
Дата:
Сообщение: Re: profiling connection overhead