Re: Bug in create type when missed the comma between element list

Поиск
Список
Период
Сортировка
От David G. Johnston
Тема Re: Bug in create type when missed the comma between element list
Дата
Msg-id CAKFQuwagJ42WQR_-r1YLN5BYiom8c9oFYac6nkeGfUUkpQMzSA@mail.gmail.com
обсуждение исходный текст
Ответ на Bug in create type when missed the comma between element list  (Diego <mrstephenamell@gmail.com>)
Ответы Re: Bug in create type when missed the comma between element list
Список pgsql-hackers
On Mon, Nov 4, 2024 at 9:17 AM Diego <mrstephenamell@gmail.com> wrote:


u: daf db: daf # CREATE TYPE test_enum AS ENUM(
    'one'
    'two',
    'three',
    'four'
);

maybe, some of you can help me to report it properly.

That is working per SQL standard.  If you hadn't used newlines between the elements you would have gotten an error; but the newlines between literals is valid string literal syntax.


David J.

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