Re: Dash in Extension Names

Поиск
Список
Период
Сортировка
От Itagaki Takahiro
Тема Re: Dash in Extension Names
Дата
Msg-id CAJW2+qf6CHYO9VDzt2iR+rojocTv8K=FCnMoaKSAh-QLaARfAQ@mail.gmail.com
обсуждение исходный текст
Ответ на Dash in Extension Names  ("David E. Wheeler" <david@kineticode.com>)
Ответы Re: Dash in Extension Names  ("David E. Wheeler" <david@kineticode.com>)
Список pgsql-hackers
On Fri, Nov 11, 2011 at 14:40, David E. Wheeler <david@kineticode.com> wrote:
> one might use "-" in the name itself, but probably not "--" -- it seems that the dash is not actually allowed:
>
>    create extension pgtap-core;
>    ERROR:  syntax error at or near "-"
>    LINE 1: create extension pgtap-core;
>
> Parser error?

You need double-quotes around the name:
=# CREATE EXTENSION "uuid-ossp";
CREATE EXTENSION

--
Itagaki Takahiro


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

Предыдущее
От: "David E. Wheeler"
Дата:
Сообщение: Dash in Extension Names
Следующее
От: Nikhil Sontakke
Дата:
Сообщение: Re: Concurrent CREATE TABLE/DROP SCHEMA leaves inconsistent leftovers