Whassup with this? (Create table xxx like yyy fails)

From: Karl Denninger <karl(at)denninger(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: Whassup with this? (Create table xxx like yyy fails)
Date: 2008-07-20 03:02:43
Message-ID: 4882AAD3.8020304@denninger.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

childrensjustice=# create table petition_bail like petition_white;
ERROR: syntax error at or near "like"
LINE 1: create table petition_bail like petition_white;

Huh?

Yes, the source table exists and obviously as postgres superuser
("pgsql") I have select permission on the parent.

--
Karl Denninger (karl(at)denninger(dot)net)
http://www.denninger.net

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Adam Rich 2008-07-20 04:09:36 Re: Whassup with this? (Create table xxx like yyy fails)
Previous Message Alvaro Herrera 2008-07-20 00:01:28 Re: Reducing memory usage of insert into select operations? [Solved]