pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: PFC <lists@boutiquenumerique.com>
To: Ruediger Herrmann <ruediger.herrmann@gmx.de>
To: pgsql-sql@postgresql.org
Subject: Re: Dynamic PL/pgSQL
Date: Sun, 19 Jun 2005 12:36:03 +0200
Message-ID: <op.ssl42dueth1vuj@localhost> (raw)
In-Reply-To: <7884.1118873456@www67.gmx.net>
References: <7884.1118873456@www67.gmx.net>


> 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 ;)



view thread (2+ messages)

Message-ID: <op.ssl42dueth1vuj@localhost>
Permalink:  ../op.ssl42dueth1vuj@localhost/
Also on:    postgresql.org/message-id/op.ssl42dueth1vuj@localhost

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: lists@boutiquenumerique.com, ruediger.herrmann@gmx.de
  Subject: Re: Dynamic PL/pgSQL
  In-Reply-To: <op.ssl42dueth1vuj@localhost>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox