Fix implicit casts between SQLCHAR and char. Don't rely on -Wno-pointer-sign.
Pass the argument to isalpha/isspace etc. routines as unsigned char.

Per the C standard, the routine should be passed an int, with a value that's
representable as an unsigned char or EOF. Passing a signed char is wrong,
because a negative value is not representable as an unsigned char.
Unfortunately no compiler warns about that.
Whitespace and indentation fixes.

This also changed the file permissions stored in git for a couple of header
files, removing the executable bit. Didn't realize they were different from
all the others, but apparently my editor decided to change them. Now
they're the same as all the other files, which seems good.

Michael Paquier and me.
More whitespace cleanup.

Make whitespace and indentation more consistent in SQL_API function
declarations.
Remove a couple of unused functions, and fix a typeo.
Use "function(void)" instead of "function()" to declare 0-arg functions.

"function(void)" is the correct syntax in a function declaration, although
in practice compilers accept the latter too. It's OK in a function
definition, but change those too for consistency.

Michael Paquier and me.
Add missing function declarations.

These are not actually used outside of pgtypes.c, but let's be consistent
and declare them in pgtypes.h anyway.

Michael Paquier
Use the same CFLAGS/LDFLAGS to build regression tests as used to build driver.
Replace NOT_USE_LIBPQ with USE_LIBPQ #define.

This avoids the cumbersome double-negatives, "#ifndef NOT_USE_LIBPQ",
making the code easier to read.
Use the PG_CONFIG setting from ./configure cmd line in regression tests.

If compiling without libpq (configure --without-libpq), then you still need
to have pg_config in path to build the regression tests, or specify
PG_CONFIG at the make command line.
Add test/Makefile to .gitignore.

It's generated from test/Makefile.in now.
Add more test cases for ODBC catalog functions.

Michael Paquier
Add a new test case to test ODBC functions deprecated in ODBC 3.0

Michael Paquier
Add test case for SQLGetConnectOption

Michael Paquier
Avoid deprecated SQLAllocStmt/SQLFreeStmt in regression tests.

The deprecated functions have a test case of their own.

Michael Paquier
Add test case for error-rollback behavior.

The rollback behavior is specified in the Protocol setting.

Michael Paquier