inheritance of functions

From: Andrzej Mazurkiewicz <andrzej(dot)mazurkiewicz(at)polkomtel(dot)com(dot)pl>
To: "'pgsql-sql(at)hub(dot)org'" <pgsql-sql(at)hub(dot)org>
Subject: inheritance of functions
Date: 1999-10-22 09:27:02
Message-ID: 13288F4408ADD11186FF0060B06A43130164F954@MSGWAW1
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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

Browse pgsql-sql by date

  From Date Subject
Next Message grant 1999-10-22 15:03:05 Adding a rule to update a last_changed field
Previous Message Chairudin Sentosa Harjo 1999-10-22 06:49:24 Re: [SQL] Install PostgreSQL on Sparc Solaris 2.5.1