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
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера