mirror of
https://github.com/postgres/postgres.git
synced 2025-06-25 01:02:05 +03: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