Re: syntax question
| От | Bruce Momjian |
|---|---|
| Тема | Re: syntax question |
| Дата | |
| Msg-id | 20210603190108.GC22019@momjian.us обсуждение исходный текст |
| Ответ на | syntax question (Marc Millas <marc.millas@mokadb.com>) |
| Ответы |
Re: syntax question
|
| Список | pgsql-general |
On Thu, Jun 3, 2021 at 08:58:03PM +0200, Marc Millas wrote: > Hi, > > within a function, I want to create another function. > no pb. > but if I write: > declare bidule text; > begin > bidule:='myfunc'; > create function bidule() ... > > > it does create a function named bidule and not myfunc. > so I am obviously missing something too obvious. You can't create functions inside of functions; same for procedures. -- Bruce Momjian <bruce@momjian.us> https://momjian.us EDB https://enterprisedb.com If only the physical world exists, free will is an illusion.
В списке pgsql-general по дате отправления: