The following documentation comment has been logged on the website: Page: https://www.postgresql.org/docs/17/ddl-default.html Description:
https://www.postgresql.org/docs/17/ddl-default.html uggested Feedback for PostgreSQL Documentation: In section 5.2 where the nextval() function is introduced, it would be helpful if the documentation provided a more complete and practical example. Specifically: The documentation should clearly mention that the sequence (e.g., products_product_no_seq) must be explicitly created before using it in a CREATE TABLE statement, otherwise the SQL will fail. Additionally, examples should include full, runnable SQL snippets that users can execute directly in psql without needing to fill in missing parts. For teaching and learning purposes, it is important to provide not only the CREATE TABLE statement but also the necessary CREATE SEQUENCE and INSERT statements, along with sample output to demonstrate how values are generated by the sequence. This would greatly improve the clarity and usability of the documentation for learners and practitioners alike.