tuichenchuxin commented on issue #13571:
URL:
https://github.com/apache/shardingsphere/issues/13571#issuecomment-966949908
in postgres
```
SELECT n.nspname AS rule_schema,
c.relname,
r.rulename,
r.oid,
r.ev_type,
r.is_instead,
r.ev_enabled,
pg_get_ruledef(r.oid) AS definition,
obj_description(r.oid) AS comment
FROM ((pg_rewrite r JOIN pg_class c ON ((c.oid = r.ev_class)))
LEFT JOIN pg_namespace n ON ((n.oid = c.relnamespace)))
WHERE (r.rulename <> '_RETURN'::name)
AND (n.nspname = 'public')
AND (c.relname = 't_order')
ORDER BY c.relname, r.oid ASC
```
--
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]