| От | Joshua D. Drake |
|---|---|
| Тема | Re: How to run a stored PL/pgSQL function? |
| Дата | |
| Msg-id | 438E7A62.2050403@commandprompt.com обсуждение исходный текст |
| Ответ на | How to run a stored PL/pgSQL function? ("Ken Winter" <ken@sunward.org>) |
| Список | pgsql-general |
> Somewhere in that script, I want to call or invoke (or whatever the
> right verb is) foo and provide its argument, so that when the script
> is being executed, at that point foo is executed and has its desired
> effect on the database. (I don’t need any return from foo.) But I
> don’t know what to put into the script to make this happen.
>
select foo('bar');
or
select * from foo('bar'); if an SRF..
Joshua D. Drake
> ~ TIA
>
> ~ Ken
>
--
The PostgreSQL Company - Command Prompt, Inc. 1.503.667.4564
PostgreSQL Replication, Consulting, Custom Development, 24x7 support
Managed Services, Shared and Dedicated Hosting
Co-Authors: PLphp, PLperl - http://www.commandprompt.com/
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера