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: 40AB8C4C.8080602@archonet.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
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

Responses

Browse pgsql-sql by date

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