SQL query to get reserved words used in postgres sql db

Viewed 87

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

1 Answers

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

Related