current_schema → nameReturns the name of the schema that is first in the search path (or a null value if the search path is empty). This is the schema that will be used for any tables or other named objects that are created without specifying a target schema.
Functions / System Information Functions And Operators
current_schema
Read the PG 18 manualReturns the name of the schema that is first in the search path (or a null value if the search path is empty).
Reading PG 18current·documented in 25 of 27 versions, 7.3 to 20
Signatures & examples
current_schema () → nameReturns the name of the schema that is first in the search path (or a null value if the search path is empty). This is the schema that will be used for any tables or other named objects that are created without specifying a target schema.
Definition snapshot: b7bd9cda · English manual source