Re: Bug: Little mistake in comment in inheriting table

From: Guillaume Lelarge <guillaume(at)lelarge(dot)info>
To: Vojtěch Látal <vojtech(at)latal(dot)name>
Cc: pgadmin-support(at)postgresql(dot)org
Subject: Re: Bug: Little mistake in comment in inheriting table
Date: 2010-11-11 23:19:17
Message-ID: 4CDC79F5.80506@lelarge.info
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgadmin-support

Le 11/11/2010 19:53, Vojtěch Látal a écrit :
> Hi,
> just a little thing: I wanted to try inheriting. So I made a table
> "del" which inherits from table "vehicles".
>
> Create script follows:
> -- Table: del
>
> -- DROP TABLE del;
>
> CREATE TABLE del
> (
> -- Inherited from table del: id integer NOT NULL DEFAULT
> nextval('vehicle_id_seq'::regclass),
> -- Inherited from table del: vin character varying(20) NOT NULL,
> -- Inherited from table del: licence_plate character varying(12) NOT NULL,
> a boolean
> )
> INHERITS (vehicles)
> WITH (
> OIDS=FALSE
> );
> ALTER TABLE del OWNER TO gary;
>
>
> It seems it should be "-- Inherited from table vehicles:" instead of
> current "-- Inherited from table del:".
>

You're right. I pushed a fix for this. It fixes your specific issue.
Unfortunately, there is still an issue for table heriting columns from
more than one table. I'll work on that ASAP.

--
Guillaume
http://www.postgresql.fr
http://dalibo.com

In response to

Browse pgadmin-support by date

  From Date Subject
Next Message Kevin Field 2010-11-12 16:31:14 Re: Is pl/pgsql debugging broken in PostgreSQL 9.0, or is it just me?
Previous Message Guillaume Lelarge 2010-11-11 20:42:52 Re: Dependents show up twice?