Overview
The current_schema() is a session information function that returns the name of the first existing schema.Syntax
There are two available syntax versions ofcurrent_schema() function:
It will return
NULL if none of the schemas from search_path exist