From: Milen A. Radev <milen@radev.net>
To: pgsql-admin@postgresql.org
Subject: Re: CREATE TABLE docs question
Date: Tue, 17 Feb 2009 13:57:32 +0200
Message-ID: <gne8nc$mbc$1@ger.gmane.org> (raw)
In-Reply-To: <200902171237.54372@zmi.at>
References: <200902171237.54372@zmi.at>
Michael Monnerie написа:
> 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?
Should be "CREATE TABLE messageblks (like dbmail_messageblks);"
--
Milen A. Radev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-admin@postgresql.org
Cc: milen@radev.net
Subject: Re: CREATE TABLE docs question
In-Reply-To: <gne8nc$mbc$1@ger.gmane.org>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox