Re: Regression Tests (opr) Sanity

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Regression Tests (opr) Sanity
Дата
Msg-id 15178.1290706454@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Regression Tests (opr) Sanity  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Ответы Re: Regression Tests (opr) Sanity  (Dimitri Fontaine <dimitri@2ndQuadrant.fr>)
Список pgsql-hackers
Dimitri Fontaine <dimitri@2ndQuadrant.fr> writes:
> The pg_execute_from_file() function is designed to work with either a
> filename as its sole argument, or the filename and a VARIADIC text list
> of arguments containing placeholder names and values. It works fine with
> two entries in pg_proc using the same backend function, and it looks
> like the following from a psql shell:

Just make two pg_proc entries that are pointing at two C functions.
The C functions can call a common subroutine after extracting their
arguments.
        regards, tom lane


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

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: SQL/MED - core functionality
Следующее
От: Maciek Sakrejda
Дата:
Сообщение: Re: [JDBC] JDBC and Binary protocol error, for some statements