@ -941,7 +941,7 @@ static char **PsqlCompletion(const char *text, int start, int end)
|
||||
char *tmpBuf = (char *)pg_malloc(tmpLength);
|
||||
|
||||
int rc = sprintf_s(tmpBuf, tmpLength, Query_for_list_of_arguments, PREV2_WD);
|
||||
securec_check_c(rc, "", "");
|
||||
securec_check_ss_c(rc, "", "");
|
||||
COMPLETE_WITH_QUERY(tmpBuf);
|
||||
free(tmpBuf);
|
||||
}
|
||||
@ -1977,7 +1977,7 @@ static char **PsqlCompletion(const char *text, int start, int end)
|
||||
char *tmpBuf = (char *)pg_malloc(tmpLength);
|
||||
|
||||
int rc = sprintf_s(tmpBuf, tmpLength, Query_for_list_of_arguments, PREV2_WD);
|
||||
securec_check_c(rc,"","");
|
||||
securec_check_ss_c(rc,"","");
|
||||
COMPLETE_WITH_QUERY(tmpBuf);
|
||||
free(tmpBuf);
|
||||
}
|
||||
|
@ -2682,7 +2682,7 @@ WHERE d.classoid IS NULL AND p1.oid <= 9999 order by 1;
|
||||
9016 | pg_advisory_lock
|
||||
9017 | pgxc_unlock_for_sp_database
|
||||
9999 | pg_test_err_contain_err
|
||||
(2279 rows)
|
||||
(2281 rows)
|
||||
|
||||
-- Check prokind
|
||||
select count(*) from pg_proc where prokind = 'a';
|
||||
@ -2700,7 +2700,7 @@ select count(*) from pg_proc where prokind = 'w';
|
||||
select count(*) from pg_proc where prokind = 'f';
|
||||
count
|
||||
-------
|
||||
3153
|
||||
3155
|
||||
(1 row)
|
||||
|
||||
select count(*) from pg_proc where prokind = 'p';
|
||||
|
Reference in New Issue
Block a user