This commit is contained in:
Jan Prochazka
2021-05-27 14:25:20 +02:00
parent 0d7d0bdd60
commit 1ccdf7f07e
3 changed files with 10 additions and 7 deletions

View File

@@ -1,10 +1,10 @@
module.exports = `
select
routine_name as "pureName",
routine_schema as "schemaName",
routine_definition as "createSql",
md5(routine_definition) as "hashCode",
routine_type as "objectType"
routine_name as "pure_name",
routine_schema as "schema_name",
routine_definition as "create_sql",
md5(routine_definition) as "hash_code",
routine_type as "object_type"
from
information_schema.routines where routine_schema != 'information_schema' and routine_schema != 'pg_catalog'
and (