Bug #951: Creating table fails if inherited table has no columns.

Поиск
Список
Период
Сортировка
От pgsql-bugs@postgresql.org
Тема Bug #951: Creating table fails if inherited table has no columns.
Дата
Msg-id 20030421141831.2DDC3475A8D@postgresql.org
обсуждение исходный текст
Ответы Re: Bug #951: Creating table fails if inherited table has no columns.
Список pgsql-bugs
Daniel Migowski (Mig-O@artis.uni-oldenburg.de) reports a bug with a severity of 3
The lower the number the more severe it is.

Short Description
Creating table fails if inherited table has no columns.

Long Description
Creating a table that inherits from another table with no colums an internal error is thrown. This is repeatable.
See the example for the error message.

Daniel Migowski


Version: 7.3.2r-7 (Debian package)
OS: Linux becks 2.4.19 #5 SMP Thu Mar 20 22:59:40 CET 2003 i686 unknown unknown GNU/Linux


Sample Code
TestDB=# create table mother ( );
CREATE TABLE
TestDB=# create table father ( father_id int4 );
CREATE TABLE
TestDB=# create table daughter ( ) inherits ( mother );
ERROR:  MemoryContextAlloc: invalid request size 0
TestDB=# create table son ( ) inherits ( father );
CREATE TABLE


No file was uploaded with this report

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: ALTER TABLE problems
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Bug #951: Creating table fails if inherited table has no columns.