Thank you for providing an easily understandable PostgreSQL tutorial :)
While following the tutorial, I found a minor mistake in the PostgreSQL Tutorial "ALTER Statements". The instructions involves renaming the "users" table to "users_renamed". Then, the following error occurs:
postgres=# ALTER TABLE users RENAME COLUMN created_at TO created;
ERROR: relation "users" does not exist
I fixed it like below.
postgres=# ALTER TABLE users_renamed RENAME COLUMN created_at TO created;
ALTER TABLE
@kakakakakku - Thanks for the PR. Although the ALTER statement was given as a reference, if you actually ended up following it in order as a tutorial, it does fail as you mentioned.
Description
Thank you for providing an easily understandable PostgreSQL tutorial :)
While following the tutorial, I found a minor mistake in the PostgreSQL Tutorial "ALTER Statements". The instructions involves renaming the "users" table to "users_renamed". Then, the following error occurs:
I fixed it like below.
Could you review please? Thanks.
Related Issues
N/A
Solution and Design
N/A
Steps to test and verify
N/A
Limitations, known bugs & workarounds
N/A