Confusion in section 8.7.3. Type Safety

Поиск
Список
Период
Сортировка
От PG Doc comments form
Тема Confusion in section 8.7.3. Type Safety
Дата
Msg-id 175861138289.858.2065605212405176332@wrigleys.postgresql.org
обсуждение исходный текст
Ответы Re: Confusion in section 8.7.3. Type Safety
Список pgsql-docs
The following documentation comment has been logged on the website:

Page: https://www.postgresql.org/docs/17/datatype-enum.html
Description:

In section 8.7.3. Type Safety one can observe a the following statement in
the examples.

INSERT INTO holidays(num_weeks,happiness) VALUES (2, 'sad');

This is somewhat confusing since type happiness doesn't contain 'sad'. I
would suggest to remove the statement or to add an enum 'sad' in type
happiness.

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