Re: [GENERAL] CREATE TABLE & composite type - Mailing list pgsql-general

From gmb
Subject Re: [GENERAL] CREATE TABLE & composite type
Date
Msg-id 1498660085139-5969058.post@n3.nabble.com
Whole thread Raw
In response to Re: [GENERAL] CREATE TABLE & composite type  (Merlin Moncure <mmoncure@gmail.com>)
List 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.


pgsql-general by date:

Previous
From: Adrian Klaver
Date:
Subject: Re: [GENERAL] CREATE TABLE & composite type
Next
From: Rob Nikander
Date:
Subject: [GENERAL] Is the row version available in SQL?