7 lines
220 B
MySQL
7 lines
220 B
MySQL
|
CREATE EXTENSION btree_gist;
|
||
|
|
||
|
-- Check whether any of our opclasses fail amvalidate
|
||
|
SELECT amname, opcname
|
||
|
FROM pg_opclass opc LEFT JOIN pg_am am ON am.oid = opcmethod
|
||
|
WHERE opc.oid >= 16384 AND NOT amvalidate(opc.oid);
|