Re: CREATE TABLE & composite type

From: gmb <gmbouwer(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: CREATE TABLE & composite type
Date: 2017-06-28 14:28:05
Message-ID: 1498660085139-5969058.post@n3.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Merlin Moncure-2 wrote
> postgres=# create type foo as (a int, b int);
> CREATE TYPE
> postgres=# create table bar of foo;
> CREATE TABLE
> Time: 0.973 ms

Exactly what I needed,
Thanks a lot, Merlin

--
View this message in context: http://www.postgresql-archive.org/CREATE-TABLE-composite-type-tp5969032p5969058.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Rob Nikander 2017-06-28 14:54:14 Is the row version available in SQL?
Previous Message Adrian Klaver 2017-06-28 14:08:18 Re: CREATE TABLE & composite type