Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id 46320632FA0 for ; Tue, 17 Feb 2009 07:38:01 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 34925-06 for ; Tue, 17 Feb 2009 07:37:58 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mailsrv1.zmi.at (mailsrv1.zmi.at [212.69.162.198]) by mail.postgresql.org (Postfix) with ESMTP id 62270632E56 for ; Tue, 17 Feb 2009 07:37:58 -0400 (AST) Received: from saturn.localnet (h081217054243.dyn.cm.kabsi.at [81.217.54.243]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mailsrv1.zmi.at (Postfix) with ESMTP id 33D38404F for ; Tue, 17 Feb 2009 12:37:54 +0100 (CET) From: Michael Monnerie Organization: it-management http://it-management.at To: pgsql-admin@postgresql.org Subject: CREATE TABLE docs question Date: Tue, 17 Feb 2009 12:37:50 +0100 User-Agent: KMail/1.10.3 (Linux/2.6.27.13-ZMI; KDE/4.1.3; x86_64; ; ) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3707655.jtiIH1WaiI"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200902171237.54372@zmi.at> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200902/113 X-Sequence-Number: 31334 --nextPart3707655.jtiIH1WaiI Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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 =2D-=20 // 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 --nextPart3707655.jtiIH1WaiI Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) iEYEABECAAYFAkmaoZIACgkQzhSR9xwSCbQOYACfcRyhWB3PvHCi7BMlgjic/4xs SAgAoJi3fwQK4PhnCSRfk3XieRhOb/pU =E3fL -----END PGP SIGNATURE----- --nextPart3707655.jtiIH1WaiI--