mirror of
https://git.postgresql.org/git/postgresql.git
synced 2026-02-09 08:07:34 +08:00
More psprintf goodness
This commit is contained in:
@ -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); }
|
||||
|
||||
Reference in New Issue
Block a user