mirror of
https://github.com/postgres/postgres.git
synced 2025-07-31 22:04:40 +03:00
Update findoidjoins for 6.5: remove workaround for long-dead bug,
use NOT EXISTS() which is a lot faster than NOT IN (), update documentation.
This commit is contained in:
@ -50,8 +50,7 @@ main(int argc, char **argv)
|
||||
SELECT relname \
|
||||
FROM pg_class c \
|
||||
WHERE relkind = 'r' AND \
|
||||
relhasrules = 'f' AND \
|
||||
relname != 'pg_user' \
|
||||
relhasrules = 'f' \
|
||||
ORDER BY 1; \
|
||||
");
|
||||
doquery("FETCH ALL IN c_relations");
|
||||
|
Reference in New Issue
Block a user