You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: we don't prefix on the database name and the to_regclass() looks
only at the tables that are currently visible for the current PostgreSQL
connection (hence, associated with the current opened database)
The
ADO.Sessions.Has_Table
function does not work for PostgreSQL.The query looks in the
information_schema
and filters theTABLE_SCHEMA
with the current database name.This is not correct since, by default, the schema name is
public
, unless a specific configuration is made (see https://www.postgresqltutorial.com/postgresql-administration/postgresql-schema/).Using
SELECT to_regclass(:name)
is more reliable.The text was updated successfully, but these errors were encountered: