mirror of
https://git.postgresql.org/git/postgresql.git
synced 2025-01-24 18:55:04 +08:00
More psprintf goodness
This commit is contained in:
parent
ac41769fd9
commit
d6d6020f1c
@ -4610,9 +4610,7 @@ TriggerFuncArgs:
|
||||
TriggerFuncArg:
|
||||
Iconst
|
||||
{
|
||||
char buf[64];
|
||||
snprintf(buf, sizeof(buf), "%d", $1);
|
||||
$$ = makeString(pstrdup(buf));
|
||||
$$ = makeString(psprintf("%d", $1));
|
||||
}
|
||||
| FCONST { $$ = makeString($1); }
|
||||
| Sconst { $$ = makeString($1); }
|
||||
|
Loading…
Reference in New Issue
Block a user