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

Поиск
Список
Период
Сортировка
От Douglas McNaught
Тема Re: Whassup with this? (Create table xxx like yyy fails)
Дата
Msg-id 5ded07e00807192120ma07a296y919c0d543844a828@mail.gmail.com
обсуждение исходный текст
Ответ на Whassup with this? (Create table xxx like yyy fails)  (Karl Denninger <karl@denninger.net>)
Ответы Re: Whassup with this? (Create table xxx like yyy fails)  (Karl Denninger <karl@denninger.net>)
Список pgsql-general
On Sat, Jul 19, 2008 at 9:02 PM, Karl Denninger <karl@denninger.net> wrote:
> childrensjustice=# create table petition_bail like petition_white;
> ERROR:  syntax error at or near "like"
> LINE 1: create table petition_bail like petition_white;

It's not super-easy to see from the docs, but I think you need parentheses:

CREATE TABLE petition_bail (LIKE petition_white);

-Doug

В списке pgsql-general по дате отправления:

Предыдущее
От: "Adam Rich"
Дата:
Сообщение: Re: Whassup with this? (Create table xxx like yyy fails)
Следующее
От: Karl Denninger
Дата:
Сообщение: Re: Whassup with this? (Create table xxx like yyy fails)