Dynamic plpgsql code

From: "Natasa Bulatovic" <n(dot)bulatovic(at)zim(dot)mpg(dot)de>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Dynamic plpgsql code
Date: 2003-07-07 07:54:49
Message-ID: 004101c3445d$0b07be50$e302b782@ipp.mpg.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi dear All,

I wander, is there a way to execute dynamic plpgsql code which is not restricted to sql command, but executes plpgsql code itself....

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

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Hakan Uysal 2003-07-07 08:31:59 System advices
Previous Message Maksim Likharev 2003-07-07 06:59:02 Re: PostGreSql equivalents to mssql