Skip site navigation (1) Skip section navigation (2)

Re: Function valid only for one table

From: Richard Huxton <dev(at)archonet(dot)com>
To: Martin Knipper <knipper(at)mk-os(dot)de>
Cc: pgsql-sql(at)postgresql(dot)org
Subject: Re: Function valid only for one table
Date: 2004-05-19 16:33:16
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-sql
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

In response to


pgsql-sql by date

Next:From: Chris GamacheDate: 2004-05-19 16:38:32
Subject: SCHEMA's the easy way?
Previous:From: Martin KnipperDate: 2004-05-19 14:42:58
Subject: Function valid only for one table

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group