pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrzej Mazurkiewicz <andrzej.mazurkiewicz@polkomtel.com.pl>
To: 'pgsql-sql@hub.org' <pgsql-sql@hub.org>
Subject: inheritance of functions
Date: Fri, 22 Oct 1999 11:27:02 +0200
Message-ID: <13288F4408ADD11186FF0060B06A43130164F954@MSGWAW1> (raw)

In Postgres Users Guide, CREATE TABLE section, the following is stated:

 Postgres automatically allows the created table to inherit functions on
tables above it in the inheritance hierarchy. 

          Aside: Inheritance of functions is done according to the
conventions of the Common Lisp Object System (CLOS). 

I have tried different constructs but I have not been able to create such a
functions. Can anybody send me an example of a function that will be
inherited by inherited table? I. e.
create table A (
.
.
);

create function F ...

create table B (
..
) inherits (A);

Now I assume that I can somehow use function F on table B 

Thank you, 
Regards,
Andrzej Mazurkiewicz



Message-ID: <13288F4408ADD11186FF0060B06A43130164F954@MSGWAW1>
Permalink:  ../13288F4408ADD11186FF0060B06A43130164F954@MSGWAW1/
Also on:    postgresql.org/message-id/13288F4408ADD11186FF0060B06A43130164F954@MSGWAW1

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: andrzej.mazurkiewicz@polkomtel.com.pl, pgsql-sql@hub.org
  Subject: Re: inheritance of functions
  In-Reply-To: <13288F4408ADD11186FF0060B06A43130164F954@MSGWAW1>
  References: <13288F4408ADD11186FF0060B06A43130164F954@MSGWAW1>

* 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