1
0
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:
Bruce Momjian
1997-12-06 22:57:36 +00:00
parent 1932d92161
commit a68a132a6c
13 changed files with 78 additions and 78 deletions

View File

@ -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 == '\\')