Re: schemas in functions

From: "A(dot) Kretschmer" <andreas(dot)kretschmer(at)schollglas(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: schemas in functions
Date: 2006-02-03 10:03:42
Message-ID: 20060203100342.GB17468@webserv.wug-glas.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

am 03.02.2006, um 10:48:45 +0100 mailte Arnaud Lesauvage folgendes:
> So I want to be able to call this function with the schema name as a
> parameter, so that all underlying queries are run in the appropriate
> schema.

Please read:
http://www.postgresql.org/docs/8.1/interactive/plpgsql-statements.html#PLPGSQL-STATEMENTS-EXECUTING-DYN

HTH, Andreas
--
Andreas Kretschmer (Kontakt: siehe Header)
Heynitz: 035242/47215, D1: 0160/7141639
GnuPG-ID 0x3FFF606C http://wwwkeys.de.pgp.net
=== Schollglas Unternehmensgruppe ===

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Arnaud Lesauvage 2006-02-03 11:58:19 Create table and update it within one function ?
Previous Message Arnaud Lesauvage 2006-02-03 09:48:45 schemas in functions