mirror of
https://github.com/postgres/postgres.git
synced 2025-06-16 06:01:02 +03:00
Add VARHDRSZ where needed. Many places just used 4.
This commit is contained in:
@ -176,7 +176,7 @@ CreateTrigger(CreateTrigStmt * stmt)
|
||||
{
|
||||
char *ar = (char *) lfirst(le);
|
||||
|
||||
len += strlen(ar) + 4;
|
||||
len += strlen(ar) + VARHDRSZ;
|
||||
for (; *ar; ar++)
|
||||
{
|
||||
if (*ar == '\\')
|
||||
|
Reference in New Issue
Block a user