Skip to content

Commit

Permalink
PG: LoadTables(): do not list ogr_system_tables schema in non-PostGIS…
Browse files Browse the repository at this point in the history
… mode or LIST_ALL_TABLES=YES
  • Loading branch information
rouault authored and github-actions[bot] committed May 6, 2024
1 parent 4986e14 commit ed9ad54
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ogr/ogrsf_frmts/pg/ogrpgdatasource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1309,7 +1309,8 @@ void OGRPGDataSource::LoadTables()
EQUAL(pszTable, "geography_columns"))
continue;

if (EQUAL(pszSchemaName, "information_schema"))
if (EQUAL(pszSchemaName, "information_schema") ||
EQUAL(pszSchemaName, "ogr_system_tables"))
continue;

int GeomTypeFlags = 0;
Expand Down

0 comments on commit ed9ad54

Please sign in to comment.