Confusion in section 8.7.3. Type Safety - Mailing list pgsql-docs

From PG Doc comments form
Subject Confusion in section 8.7.3. Type Safety
Date
Msg-id 175861138289.858.2065605212405176332@wrigleys.postgresql.org
Whole thread Raw
Responses Re: Confusion in section 8.7.3. Type Safety
List 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 by date:

Previous
From: jian he
Date:
Subject: Re: CREATE TABLE LIKE(INCLUDING COMMENTS) description ignored STATISTICS
Next
From: David Rowley
Date:
Subject: Re: Confusion in section 8.7.3. Type Safety