src/backend/utils/adt/numutils.c
int
pg_itoa(int16 i, char *a)
{
	return pg_ltoa((int32) i, a);
}
/*
 * pg_itoa: converts a signed 16-bit integer to its string representation
 * and returns strlen(a).
 *
 * Caller must ensure that 'a' points to enough memory to hold the result
 * (at least 7 bytes, counting a leading sign and trailing NUL).
 *
 * It doesn't seem worth implementing this separately.
 */
converts a signed 16-bit integer to its string representation
and returns strlen(a).

Caller must ensure that 'a' points to enough memory to hold the result
(at least 7 bytes, counting a leading sign and trailing NUL).

It doesn't seem worth implementing this separately.
converts a signed 16 - bit integer to its string representation and returns strlen ( a ) . Caller must ensure that ' a ' points to enough memory to hold the result ( at least 7 bytes counting a leading sign and trailing NUL ) . It doesn ' t seem worth implementing this separately .
int
pg_itoa(int16 i, char *a)
{
	return pg_ltoa((int32) i, a);
}
int pg_itoa ( int16 i , char * a ) { return pg_ltoa ( ( int32 ) i , a ) ; }
pg_itoa: converts a signed 16-bit integer to its string representation
 and returns strlen(a).
pg_itoa : converts a signed 16 - bit integer to its string representation and returns strlen ( a ) .