Postgres: To set a schema
Prior to running a SQL, set your schema if the object names are not prefixed with schema name:
SELECT * FROM <schema>."my_table"
Or you can change your default schema
SHOW search_path;
SET search_path TO my_schema;
Check your table schema here
SELECT *
FROM information_schema.columns
Comments
Post a Comment