Skip to content

Commit

Permalink
move editing logic into hook func
Browse files Browse the repository at this point in the history
Signed-off-by: Chenxiao Wang <[email protected]>
  • Loading branch information
Chenxiao Wang committed Dec 19, 2024
1 parent 4468696 commit 6d27956
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/backend/parser/parse_func.c
Original file line number Diff line number Diff line change
Expand Up @@ -2063,14 +2063,6 @@ funcname_signature_string(const char *funcname, int nargs,

initStringInfo(&argbuf);

/* Check if there is schema in funcname */
while (ptr) {
if (*ptr == '.') {
break;
}
ptr++;
}

if (sql_dialect == SQL_DIALECT_TSQL && remove_db_name_in_schema_hook && ptr) {
funcname = (*remove_db_name_in_schema_hook)(funcname);
}
Expand Down

0 comments on commit 6d27956

Please sign in to comment.