mirror of
https://github.com/documize/community.git
synced 2025-07-23 15:19:42 +02:00
Merge pull request #250 from siepkes/postgresql_postgis_fix
Ignore PostGIS when determining if PostgreSQL is empty
This commit is contained in:
commit
e6e3ed71ac
1 changed files with 1 additions and 1 deletions
|
@ -244,7 +244,7 @@ func (p PostgreSQLProvider) QueryGetDatabaseVersionLegacy() string {
|
|||
func (p PostgreSQLProvider) QueryTableList() string {
|
||||
return fmt.Sprintf(`select table_name
|
||||
FROM information_schema.tables
|
||||
WHERE table_type='BASE TABLE' AND table_schema NOT IN ('pg_catalog', 'information_schema') AND table_catalog='%s'`, p.DatabaseName())
|
||||
WHERE table_type='BASE TABLE' AND table_schema NOT IN ('pg_catalog', 'information_schema') AND table_name != 'spatial_ref_sys' AND table_catalog='%s'`, p.DatabaseName())
|
||||
}
|
||||
|
||||
// QueryDateInterval returns provider specific interval style
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue