src/common/wchar.c
int
pg_encoding_verifymbchar(int encoding, const char *mbstr, int len)
{
	return (PG_VALID_ENCODING(encoding) ?
			pg_wchar_table[encoding].mbverifychar((const unsigned char *) mbstr, len) :
			pg_wchar_table[PG_SQL_ASCII].mbverifychar((const unsigned char *) mbstr, len));
}
/*
 * Verify the first multibyte character of the given string.
 * Return its byte length if good, -1 if bad.  (See comments above for
 * full details of the mbverifychar API.)
 */
Verify the first multibyte character of the given string.
Return its byte length if good, -1 if bad.  (See comments above for
full details of the mbverifychar API.)
Verify the first multibyte character of the given string . Return its byte length if good - 1 if bad . ( See comments above for full details of the mbverifychar API . )
int
pg_encoding_verifymbchar(int encoding, const char *mbstr, int len)
{
	return (PG_VALID_ENCODING(encoding) ?
			pg_wchar_table[encoding].mbverifychar((const unsigned char *) mbstr, len) :
			pg_wchar_table[PG_SQL_ASCII].mbverifychar((const unsigned char *) mbstr, len));
}
int pg_encoding_verifymbchar ( int encoding , const char * mbstr , int len ) { return ( PG_VALID_ENCODING ( encoding ) ? pg_wchar_table [ encoding ] . mbverifychar ( ( const unsigned char * ) mbstr , len ) : pg_wchar_table [ PG_SQL_ASCII ] . mbverifychar ( ( const unsigned char * ) mbstr , len ) ) ; }
Verify the first multibyte character of the given string.
Verify the first multibyte character of the given string .