Skip to content

Commit

Permalink
fixed analysing postgre functions #105
Browse files Browse the repository at this point in the history
  • Loading branch information
janproch committed Apr 29, 2021
1 parent 7b32424 commit e3d1e4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions plugins/dbgate-plugin-postgres/src/backend/sql/routines.js
Expand Up @@ -8,8 +8,8 @@ select
from
information_schema.routines where routine_schema != 'information_schema' and routine_schema != 'pg_catalog'
and (
(routine_type = 'PROCEDURE' and ('procedures:' || routine_schema || '.' || routine_schema) =OBJECT_ID_CONDITION)
(routine_type = 'PROCEDURE' and ('procedures:' || routine_schema || '.' || routine_name) =OBJECT_ID_CONDITION)
or
(routine_type = 'FUNCTION' and ('functions:' || routine_schema || '.' || routine_schema) =OBJECT_ID_CONDITION)
(routine_type = 'FUNCTION' and ('functions:' || routine_schema || '.' || routine_name) =OBJECT_ID_CONDITION)
)
`;

0 comments on commit e3d1e4f

Please sign in to comment.