Re: Feature request: include script file into function body (better syntax)
В списке pgsql-bugs по дате отправления:
| От | Tom Lane |
|---|---|
| Тема | Re: Feature request: include script file into function body (better syntax) |
| Дата | |
| Msg-id | 1161.1296588901@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Feature request: include script file into function body (better syntax) (Steve White <swhite@aip.de>) |
| Ответы |
Re: Feature request: include script file into function body (better syntax)
|
| Список | pgsql-bugs |
Steve White <swhite@aip.de> writes:
> Try this instead:
> ================================================
> CREATE OR REPLACE FUNCTION
> myfunc( ... )
> RETURNS VOID AS '#PGSQL_IMPORT filename' LANGUAGE PLPYTHONU;
> ================================================
I think having psql decide that string literals mean something other
than their face value is Right Out --- it would bite you on the rear
just when you least expect it. And the notion of the behavior being
language-dependent is right out to the fourth power. But see my
alternative proposal to Kevin just now.
regards, tom lane
В списке pgsql-bugs по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера