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:
Sandro Santilli 2011-12-22 11:19:56 +00:00
parent dc002060b1
commit c86c97fcc8

View file

@ -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