The bigintcvint4() function

The bigintcvint4() function converts an int4 type number to a BIGINT type number.

Syntax

mint bigintcvint4(int4v, bigintp)
	const int4 int4v
	bigint *bigintp
int4v
The int4 value to convert to a bigint value.
bigintp
A pointer to a bigint variable to contain the result of the conversion.

Return codes

0
The conversion was successful.
<0
The conversion failed.