pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Martin Knipper <knipper@mk-os.de>
To: pgsql-sql@postgresql.org
Subject: Function valid only for one table
Date: Wed, 19 May 2004 16:42:58 +0200
Message-ID: <40AB7272.2090605@mk-os.de> (raw)

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

Of course both tables are in the same database.

Greetings,
Martin



view thread (5+ messages)  latest in thread

Message-ID: <40AB7272.2090605@mk-os.de>
Permalink:  ../40AB7272.2090605@mk-os.de/
Also on:    postgresql.org/message-id/40AB7272.2090605@mk-os.de

 · 

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: knipper@mk-os.de
  Subject: Re: Function valid only for one table
  In-Reply-To: <40AB7272.2090605@mk-os.de>

* 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