From: | pgsql-bugs(at)postgresql(dot)org |
---|---|
To: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Bug #951: Creating table fails if inherited table has no columns. |
Date: | 2003-04-21 14:18:31 |
Message-ID: | 20030421141831.2DDC3475A8D@postgresql.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs |
Daniel Migowski (Mig-O(at)artis(dot)uni-oldenburg(dot)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
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2003-04-21 15:24:10 | Re: Bug #951: Creating table fails if inherited table has no columns. |
Previous Message | Evgeny Duzhakow | 2003-04-21 09:49:06 | 7.3.2 indexes in PL/PgSQL |