Re: when I create a table, postgresql creates a new type

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Julio Misael Gutierrez" <jmisaelg(at)amnetsal(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: when I create a table, postgresql creates a new type
Date: 2004-01-19 05:01:20
Message-ID: 20620.1074488480@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

"Julio Misael Gutierrez" <jmisaelg(at)amnetsal(dot)com> writes:
> I would like to Know why when I create a new table,
> postgresql create a new type with the same name of the table.

Because there is a row type (composite type) associated with every
table.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2004-01-19 05:03:30 Re: pg_catalog permission problem
Previous Message Tom Lane 2004-01-19 05:00:27 Re: Data recovery!