| Age | Commit message (Collapse) | Author |
|
option are reflected properly.
|
|
correctly.
Per report from Haribabu Kommi.
|
|
|
|
Use macro MYLOG instead of function mylog in preparation for later changes and unify mylog() and inolog() using level parameter.
Enable the compiler to check the format string against the parameter of mylog() by adding __attribute__((format(printf,.,.))) to the declaration of mylog(GCC only).
Using this mechanism, check and fix many discordances of parameters.
|
|
Use SPRINTF_FIXED() or SPRINTFCAT_FIXED() where they are available.
|
|
|
|
snprintf_add().
|
|
dialog to other dialogs.
|
|
settings test.
|
|
|
|
Overwrite ConnInfo by driver's default -> Dsn entry -> connection string in order.
As a result, remove getDSndefaults() and the second parameter(overwrite) of getDSNinfo().
|
|
Also removed driver_optionsProc().
Use getDriverNameFromDSN() for unixODBC as well as Windows.
|
|
Support the platforms e.g. FreeBSD which satisfies __STDC_UTF_16__ (but not satify __STDC_ISO_10646__) using mbrtoc16() and c16rtomb().
Use the functions bindpara_msg_to_utf8(), bindpara_wchar_to_msg(),
bindcol_hybrid_estimate(), bindcol_hybrid_exec(), bindcol_localize_estimate()
and bindcol_localize_exec() which hide the difference of platforms instead of
platform specific functions. They are implemented using already implemented
wstrtomsg(), msgtowstr(), wcs_to_utf8(), utf8_to_wcs_lf() and newly implemented
mbstoc16_lf(), c16tomsb(), ucs4_to_ucs2_lf(), ucs2_to_ucs4().
Add eucJP encoding case to wchar-char test.
[Minor changes]
Add conversion error check between unicode and the current locale.
Rename buf to send_buf in ResolveOneParam() so that grep or find can them find easily.
Separate "unicode_support.h" from "psqlodbc.h"
Change convert_linefeeds() from static to external.
Add AC_CHECK_FUNCS(mbrtoc16 c16rtomb) to Makefile.am.
Remove win_unicode.c from psqlsetup.vcxproj.
|
|
|
|
Setup consists of setup.c, dlg_wingui.c, dlg_specific.c, mylog.c, xalibname.c, misc.c, loadlib.c and win_unicode.c.
|
|
memory. [patch by tsunakawa, Takayuki]
|
|
Takayuki.
|
|
|
|
* Mark functions used only in same file as static.
* Remove unused 'encoding' argument from msgtowstr and wstrtoms (all
callers passed NULL).
* Silence remaining compiler warnings on 64-bit Windows about assigning
size_t to int without cast.
* Remove superfluous FORMAT_INT4/FORMAT_UINT4 defines.
* Remove useless dollar_quote argument from findTag (it was always '$'), and
add comment.
* Turn OID_NAME into a #define, to avoid a useless sprintf.
* Turn the mapFuncs array into structs, for clarity, and add comment.
|
|
We haven't supported a segmented memory model for ages, probably never.
|
|
|
|
Instead of speaking the frontend/backend protocol directly, use libpq's
functions for executing queries. This makes it libpq a hard dependency, but
removes direct dependencies to SSL and SSPI, and a lot of related code.
|
|
Older versions have been obsolete for a very long time by now. Removing the
support lets us get rid of a lot of code that no-one has in practice been
even compiling for a long time.
Michael Paquier
|
|
MSDTC support.
|
|
|
|
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.
|
|
3116f70ab51d0218ceff241fd1323f436bb4fd60.
|
|
1. Remove pointlessly complicated AsyncThreads stuff. Instead use
_beginthread() to clean up threads.
2. Make pgenlist.dll from the structure change of ConnectionClass.
The driver dlls exports the functions described in connexp.h
which are used by pgenlist.dll.
3. Isolate the current communication path if necessary.
While an IAsyncPG object is alive, a ConnectionClass object (hereinafter
refered to as conn-obj) is assigned to it. The assignment has to be
changed in the following cases.
a) SQLDisconnect() is called for the current connection handle which
is assigned to an IAsyncPG object.
Allocate another conn-obj and move the current communication
path (*sock* member of the current conn-obj) to the new conn-obj.
The communicaation path is lost from the current conn-obj and
the new conn-obj is assigned to the IAsyncPG object.
b) Another (global) transaction is about to begin but the current
global transaction is not PREPARED yet.
Same as case a) but will open a new communication path for
the current conn-obj for the subsequent ODBC API calls.
c) Another (global) transaction is about to begin and the current
global transaction is already PREPARED.
Allocate another conn-obj and open a new communication path for
the conn-obj. The new conn-obj is assigned to the IAsyncPG
object only to issue COMMIT/ROLLBACK PREPARED command.
communication pass (*sock* member of the current ConnectionClass
object) to the new object and change the state of the current
object NOT CONNECTED. The IAsyncPG object uses new object instead
of the current object. In case b) the current object will open a
new communication path.
|
|
fixed length text fields to variable ones. Because changes are applied to
percent-encoded fields this time, password field is also a target of this
change.
|
|
|
|
|
|
notice.txt doesn't exist anymore, the copyright and license information is
in readme.txt now. Update references in comments.
|
|
1.Fix a column uodatability problem reported by Tom Goodman.
2.Display SSL mode list properly on setup dialog.
3.Don't truncate the result of msgtowstr()/wstrtomsg().
4.Implement ConfigDriver() function.
|
|
|
|
SQLDescribeCol() -> add a column to the table -> SQLExec *select for the table* -> SQLDescribeCol() for the added column causes a bad result.
2) Use strncpy_null() instead of strncpy().
|
|
handling of connection errors.
|
|
1. Fix a bug which forgets unnamed plans too early especially
when handling large objects.
2. Don't treat charcters whose value >= 128 as alphanumeric in case
of conversion of binary data to bytea.
3. Change ConfigDSN() so that it takes the options in Setup Dialog
page 1 into account.
4. Simplify the memory management of statements'columns info
so as to prevent memory leaks or a crash in parse_statement etc.
5. SQLTables("", SQL_ALL_SCHEMAS. "", ..) now returns a list of
valid schemas.
6. SQLTables("", "", "", SQL_ALL_TABLE_TYPES) now returns a list
of valid table types.
7. SQLGetInfo SQL_DATABASE_NAME now returns the database name.
8. Improve the automatic setting mechanism of the client_encoding
for Windows code page 125x (ANSI drivers only) .
|
|
Fix the bug SQLStatistics ORDINAL_POSITION starts at 2 for PK index.
|
|
|
|
1. SQLStatistics now returns indices based on expression also.
2. Add a TEST button on the setup dialog.
|
|
1. Compensate a loss of report of being Jet when using MS Access.
2. Add NULL <-> "" date converion function for FOXPRO and
revise parse/describe/execute mechanism.
3. Miscellaneous type changes for 64 bit drivers.
|
|
|
|
|
|
|
|
completely on Libpq for the communication.
|
|
Kumar of Pervasive PostgreSQL. Version number bumped, and extra strings modified in the resource file to make it obvious when the libpq version of the driver is being run.
|
|
|
|
|
|
2) Add japanese resources to psqlodbc.rc.
3) Add a dialog for the driver change.
|
|
2) Reduce time() calls for the performance.
3) Improve the handling of per Driver resource.
4) #define HAVE_STRTOLL
etc.
|