mirror of
https://git.osgeo.org/gitea/postgis/postgis
synced 2024-10-24 09:02:37 +00:00
Count objects in the _regress_ database, not elsewhere (#1397)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8507 b70326c6-7e19-0410-871a-916f4a2858ee
This commit is contained in:
parent
dc002060b1
commit
c86c97fcc8
|
@ -447,7 +447,7 @@ count_db_objects ()
|
|||
select count(*) from pg_operator union all
|
||||
select count(*) from pg_opclass union all
|
||||
select count(*) from pg_opfamily )
|
||||
select sum(count) from counts;"
|
||||
select sum(count) from counts;" "${DB}"
|
||||
if [ $? -gt 0 ]; then
|
||||
init_db_error $1
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue