tuichenchuxin commented on issue #13571:
URL:
https://github.com/apache/shardingsphere/issues/13571#issuecomment-966949244
in postgres
```
SELECT COUNT(*)
FROM pg_class c
LEFT JOIN pg_namespace n ON n.oid = c.relnamespace
WHERE c.relkind = ANY ('{r,v,m}'::char[])
UNION
SELECT COUNT(*)
FROM pg_attribute a
JOIN pg_class c on a.attrelid = c.oid
JOIN pg_namespace n on c.relnamespace = n.oid
JOIN pg_type tp on tp.typelem = a.atttypid
WHERE a.attnum > 0
UNION
SELECT COUNT(*)
FROM information_schema.routines;
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]