1

I need a SQL query that returns all the reserved words used in PostgreSQL database.

1

1 Answer 1

6

Postgres provides the set-returning function pg_get_keywords() for that:

select *
from pg_get_keywords()

The columns of the result are documented in the manual

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.