From: Richard Huxton <dev@archonet.com>
To: Martin Knipper <knipper@mk-os.de>
Cc: pgsql-sql@postgresql.org
Subject: Re: Function valid only for one table
Date: Wed, 19 May 2004 17:33:16 +0100
Message-ID: <40AB8C4C.8080602@archonet.com> (raw)
In-Reply-To: <40AB7272.2090605@mk-os.de>
References: <40AB7272.2090605@mk-os.de>
Martin Knipper wrote:
> Hi there,
>
> is it possible to define a function that is only valid in a context
> of one table ?
>
> For Example:
>
> select someFunction() from someTable;
> -> OK
>
> select someFunction() from anotherTable;
> -> Error: someFunction unkown
Um, no. What do you want someFunction() to do?
--
Richard Huxton
Archonet Ltd
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: dev@archonet.com, knipper@mk-os.de
Subject: Re: Function valid only for one table
In-Reply-To: <40AB8C4C.8080602@archonet.com>
* 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