Re: Dynamic PL/pgSQL

From: PFC <lists(at)boutiquenumerique(dot)com>
To: "Ruediger Herrmann" <ruediger(dot)herrmann(at)gmx(dot)de>, pgsql-sql(at)postgresql(dot)org
Subject: Re: Dynamic PL/pgSQL
Date: 2005-06-19 10:36:03
Message-ID: op.ssl42dueth1vuj@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


> Within a PL/pgSQL function this would be easy, but I need to store the
> complete initialization script in a text file and execute it as a whole.

In your scritp, put a CREATE FUNCTION and then call it and drop it ;)

In response to

Browse pgsql-sql by date

  From Date Subject
Next Message Michael Fuhr 2005-06-19 14:27:21 Re: Looking for info on 8.1 features, and some examples
Previous Message Oleg Bartunov 2005-06-19 08:48:12 Re: [SQL] Set Membership operator -- test group membership