Re: Join between databases or (???)

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Join between databases or (???)
Дата
Msg-id 18694.1101079093@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Re: Join between databases or (???)  ("Net Virtual Mailing Lists" <mailinglists@net-virtual.com>)
Список pgsql-general
"Net Virtual Mailing Lists" <mailinglists@net-virtual.com> writes:
> CREATE TABLE testschema.industries (
> industry_id integer DEFAULT nextval('"testschema.industries_industry_id_seq"'::text) NOT NULL,

> pg_dump created it with the double quotes, I have been modifying the dump
> to make it so appropriate things get created inside the schema, so I
> added in the testschema. part of it in this example.

Ah-hah.  You put the testschema. part in the wrong place then.  Correct
is
    nextval('"testschema"."industries_industry_id_seq"'::text)
Or you could leave out the double quotes.

            regards, tom lane

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

Предыдущее
От: Pierre-Frédéric Caillaud
Дата:
Сообщение: Re: COMMIT within function?
Следующее
От: Dawid Kuroczko
Дата:
Сообщение: Re: COMMIT within function?