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