Re: pg_execute_from_file review

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: pg_execute_from_file review
Дата
Msg-id 26332.1291047178@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: pg_execute_from_file review  (Andrew Dunstan <andrew@dunslane.net>)
Ответы Re: pg_execute_from_file review  (Joshua Tolley <eggyknap@gmail.com>)
Re: pg_execute_from_file review  (Andrew Dunstan <andrew@dunslane.net>)
Re: pg_execute_from_file review  (Robert Haas <robertmhaas@gmail.com>)
Список pgsql-hackers
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


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

Предыдущее
От: Robert Haas
Дата:
Сообщение: Re: directory archive format for pg_dump
Следующее
От: Andrew Dunstan
Дата:
Сообщение: Re: pg_execute_from_file review