Inheritance question

Поиск
Список
Период
Сортировка
Искать
От
Richard Harvey Chapman
Тема
Inheritance question
Дата
Msg-id
Pine.LNX.4.10.10006221949330.23838-100000@smile.3gfp.com
Список
Дерево обсуждения
Inheritance question Richard Harvey Chapman <hchapman@3gfp.com>
Re: How to select a row and an adjacent row? Lincoln Yeoh <lylyeoh@mecomb.com>
Re: How to select a row and an adjacent row? Dustin Sallings <dustin@spy.net>
If I have the following:

CREATE TABLE grand_parent (
	num	INTEGER
);

CREATE TABLE parent (
	count	INTEGER
) INHERITS (grand_parent);


Can I define the following table?  It doesn't work as written.

CREATE TABLE child (
	UNIQUE (num, count)
) INHERITS (parent);


Thanks,

R.


В списке pgsql-general по дате отправления
От: Ryan Kirkpatrick
Дата:
От: Lincoln Yeoh
Дата:
FAQ