Re: Dynamic plpgsql code
От | Bruce Momjian |
---|---|
Тема | Re: Dynamic plpgsql code |
Дата | |
Msg-id | 200307210448.h6L4mhL29567@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Dynamic plpgsql code ("Natasa Bulatovic" <n.bulatovic@zim.mpg.de>) |
Список | pgsql-general |
Sure, use EXECUTE in PL/pgSQL. --------------------------------------------------------------------------- Natasa Bulatovic wrote: > Hi dear All, > > I wander, is there a way to execute dynamic plpgsql code which is not restricted to sql command, but executes plpgsql codeitself.... > > For example... I would like to form dynamically a part of the code which contains ... > > "if-- end if... raise notice --- " > > I have been using such possibilities in Oracle, so pls. tell me if this possibility somehow is given in PlPgsql as well? > > > Cheers, > Natasa -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001 + If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania 19073
В списке pgsql-general по дате отправления: