CREATE TABLE docs question

From: Michael Monnerie <michael(dot)monnerie(at)is(dot)it-management(dot)at>
To: pgsql-admin(at)postgresql(dot)org
Subject: CREATE TABLE docs question
Date: 2009-02-17 11:37:50
Message-ID: 200902171237.54372@zmi.at
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

http://www.postgresql.org/docs/8.3/interactive/sql-createtable.html

Reading the docs, the following should work:

CREATE TABLE messageblks like dbmail_messageblks;

but it says:
ERROR: syntax error at or near "like"
ZEILE 1: CREATE TABLE messageblks like dbmail_messageblks;
^

What's my error?

mfg zmi
--
// Michael Monnerie, Ing.BSc ----- http://it-management.at
// Tel: 0660 / 415 65 31 .network.your.ideas.
// PGP Key: "curl -s http://zmi.at/zmi.asc | gpg --import"
// Fingerprint: AC19 F9D5 36ED CD8A EF38 500E CE14 91F7 1C12 09B4
// Keyserver: wwwkeys.eu.pgp.net Key-ID: 1C1209B4

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Milen A. Radev 2009-02-17 11:57:32 Re: CREATE TABLE docs question
Previous Message Michael Monnerie 2009-02-17 11:20:54 Re: 8.3.5 broken after power fail