Suppress compiler warnings.
Improve the help message of configure script.
Avoid double-free() bug.

Spotted by Fortify static analysis tool.
Add test case for positioned updates (SQLSetPos).
Escape double-quotes in table name correctly.

When constructing the select/update/delete for current row in a rowset,
and the schema or table name contained double-quotes, they were not correctly
escaped in the constructed SQL statement. That lead to errors when doing
positioned updates.

Also, use snprintf and snprintf_add instead of sprintf and strcat in more
places. Makes these things look less like buffer overflows to static analysis
tools, and make for more readable code anyway.
Construct ctid string correctly for block no > 2^31.

Block number is unsigned. Other places where we construct ctid strings we
got this right, but not this one. I'm not sure how to trigger this codepath,
but I'm sure something funny would happen if you tried to use these functions
on large enough tables (> 16 TB).
Fix buffer overflow in interval parsing.

Includes a test case.

Flagged by Fortify static analysis tool.
Check return value of stdup() for out-of-memory.

There are a lot of little bugs like this throughout the code, but it's
start...

Flagged by Fortify static analysis tool.
Replace calls to my_strcat and my_strcat with snprintf_add.

my_strcat didn't check for buffer overflow, which Fortify static analysis
tool flagged as an issue. I'm not sure if that can actually happen, but
the code is clearer like this anyway.
Fix buffer overflow in handling of SQLTables params.

Found by Fortify static analysis tool.
Add regression test for SQLTables() function.
Use snprintf() instead of sprintf() for safety.

I believe these instances were in fact safe, because a cursor name has
a maximum length, but better safe than sorry.
Stop linking lib(i)odbc library because the library is unnecessary and rather harmful. Per report from Pavel Raiskup(http://www.postgresql.org/message-id/1769926.65KUyECjFr@nb.usersys.redhat.com).
Move -Wall -Wno-pointer-sign CFLAGS option specified in Makefile.am to configure.ac. Users can disable those options by giving CFLAGS option explicitly. Also verify the availability of those options.
Add build_macros element to winbuild/configuration(_template).xml so that buildXxx.ps1 can specify macros to the makefiles. Also make some part of CL options of makefiles replacable.
bufferoverflowu.lib seems no longer needed in recent versions of VC environment.
 So removed it from win64.mak. Speocify CUSTOMLINKLIBS=bufferoverflowu.lib from the command line when it is neccessary in old VC environment.
Remove CRs from editConfiguration.ps1.
Add formatVersion attribute to configuration.xml so as to detect the format change. Unify configuration_template.xml to configuration.xml when the format change is detected.
Stop dot-sourcing a script to avoid confusion of scope of variables. Also make it possible to specify the configuration file path as a parameter.
Make it possible to invoke several scripts from any working directory.