Bruce Momjian
ea08e6cd55
New pgindent run with fixes suggested by Tom. Patch manually reviewed,
...
initdb/regression tests pass.
2001-11-05 17:46:40 +00:00
Hiroshi Inoue
58df3f785e
1) Improve literal handling in parse_statement().
...
2) Remove some no longer valid comments.
3) Fix an option dialog setting bug.
4) Fix ODBCVER handling errors.
2001-11-03 06:53:50 +00:00
Bruce Momjian
6783b2372e
Another pgindent run. Fixes enum indenting, and improves #endif
...
spacing. Also adds space for one-line comments.
2001-10-28 06:26:15 +00:00
Bruce Momjian
b81844b173
pgindent run on all C files. Java run to follow. initdb/regression
...
tests pass.
2001-10-25 05:50:21 +00:00
Peter Eisentraut
364a7ebe26
Provide some initial support for building the ODBC driver for
...
an already installed iODBC or unixODBC driver manager. In particular,
use the include files provided by the driver manager over our own,
and use the odbcinst library of the driver manager rather than gpps.c.
Migrate portability sections common to several files into psqlodbc.h.
2001-09-22 22:54:33 +00:00
Hiroshi Inoue
39dc8ff64f
1) Avoid an overflow of connection string for Access(Microsoft Jet).
...
2) Change to retry lower version in case of "Unsupported frontend
procotol".
2001-09-21 07:51:52 +00:00
Hiroshi Inoue
0ee85f853f
Change dialog windows.
2001-09-10 10:13:30 +00:00
Hiroshi Inoue
ec6c4d8c82
Improve declare/fetch mode a little.
...
Add a new DSN option for PREPARE hadling.
Hiroshi Inoue
2001-09-08 16:20:16 +00:00
Bruce Momjian
468b9d8202
Move updateCommon() into Win32 block because it is only used there.
2001-09-08 02:48:53 +00:00
Hiroshi Inoue
377d131b6c
1) Most driver options could be set per DSN.
...
2) Keep FE/BE protocol more precisely.
3) Improve procedure calls.
4) A trial to avoid PREMATURE execution(#ifdef'd now).
Hiroshi Inoue
2001-09-07 06:02:24 +00:00
Peter Eisentraut
968d7733a1
Rename config.h to pg_config.h and os.h to pg_config_os.h, fix a number of
...
places that were including the wrong files.
2001-08-24 14:07:50 +00:00
Hiroshi Inoue
0c439e5ef6
1) Change all internal SQL function calls from
...
SQLxxxx() to PGAPI_xxxx().
2) Handle an escaped date/time format as a parameter.
3) Improve the tuple allocation a little.
4) The preparation of ODBC 3.0 a little.
5) Updatable cursors(may be deprecated before long).
2001-08-18 04:30:47 +00:00
Bruce Momjian
1c551683cb
Run pgindent on ODBC code only, to reformat new comments.
2001-05-08 17:12:36 +00:00
Bruce Momjian
296e7ba2ba
ODBC source code cleanup patch. Should match rest of PostgreSQL code better.
2001-05-08 17:06:18 +00:00
Bruce Momjian
12ceb11182
ODBC source code cleanup. Mostly alignment of #define constants.
2001-03-27 04:00:55 +00:00
Bruce Momjian
0686d49da0
Remove dashes in comments that don't need them, rewrap with pgindent.
2001-03-22 06:16:21 +00:00
Bruce Momjian
9e1552607a
pgindent run. Make it all clean.
2001-03-22 04:01:46 +00:00
Hiroshi Inoue
9242e6c038
Add multibyte support.
...
Provide an extenisible scheme of encoding conversion.
As the first step, SJIS and BIG5 are supported.
From now on multibyte people would be happy to use
this psqlodbc driver.
Eiji Tokuya e-tokuya@mail.sankyo-unyu.co.jp
2001-03-16 01:17:23 +00:00
Bruce Momjian
594e97b72f
Back out all ODBC formatting changes, and back out removal of <6.4
...
protocol. I have left in Tom's SOCK_get_next_byte() fix, and the new
win32.mak file addition. I have also left in the 'X' connection close
fix.
2001-02-14 05:45:46 +00:00
Bruce Momjian
26dc50141b
More cleanup.
2001-02-11 05:13:52 +00:00
Bruce Momjian
9d244ddb26
Cleanup of source.
2001-02-11 04:56:58 +00:00
Bruce Momjian
5ad627479c
More ODBC formatting cleanup.
2001-02-10 07:11:28 +00:00
Bruce Momjian
755a87332a
Run pgindent over ODBC source. We couldn't do this years ago because we
...
weren't the master source. We are now, and it really needs it.
2001-02-10 07:01:19 +00:00
Bruce Momjian
895a57bdd2
Cleanup
2001-02-10 06:57:53 +00:00
Bruce Momjian
fd40942fd8
Properly exit ODBC with 'X', allow linking on BSD/OS.
2001-02-10 05:50:29 +00:00
Peter Eisentraut
81b30f2cb4
Integrated ODBC driver into regular build. No more standalone business,
...
which didn't work anyway. Had to back out unixodbc related patch which
broke the regular ODBC build.
2000-06-19 16:58:48 +00:00
Bruce Momjian
b5d4d234cb
Rename HAVE_SQLGETPRIVATEPROFILESTRING to something resonable in length
...
and readability.
2000-06-19 13:39:03 +00:00
Bruce Momjian
14f6587650
fix HAVE_SQLGETPRIVATEPROFILESTRING define
2000-06-19 13:35:30 +00:00
Bruce Momjian
b45ea42234
Back out old unixodbc patches and apply new ones. Nick Gorham
2000-06-12 17:58:20 +00:00
Bruce Momjian
3fe3acb844
I have made the couple of mods required to make the odbc driver with
...
postgres build and use unixODBC (http://www.unixodbc.org )
This patch was applied against the postgresql-7.0beta1 build
Any problems let me know.
Nick Gorham
2000-06-09 16:03:09 +00:00
Bruce Momjian
ddae527c96
Remove // comments from ODBC.
2000-05-27 03:35:14 +00:00
Bruce Momjian
a8020a78ec
Back out odbc changes until 7.1.
2000-05-17 15:36:37 +00:00
Bruce Momjian
a47e20b049
Several compilation and run-time problems occur when building on SGI
...
IRIX systems using the native compilers. A summary is:
- Various files use "//" as a comment delimiter in c files.
- Problems caused by assuming "char" is signed.
cash.in: building -signed the rules regression test fails as described
in FAQ_QNX4. If CHAR_MAX is "255U" then ((signed char)CHAR_MAX) is -1.
postmaster.c: random number regression test failed without this change.
- Some generic build issues and warning message cleanup.
David Kaelbling
2000-05-16 20:48:52 +00:00
Bruce Momjian
d264b53d2f
Rename readonly to onlyread in odbc. Use varargs properly.
1999-11-30 02:44:09 +00:00
Byron Nikolaidis
a1164a2508
Update 06-40-0003
1999-01-06 20:44:08 +00:00
Byron Nikolaidis
6d7735e7f0
Update for version 6-40-0002 and re-merge Thomas' changes.
1998-12-29 01:49:58 +00:00
Byron Nikolaidis
87225ca31d
Update for version 06-40-0001
1998-11-11 21:54:01 +00:00
Thomas G. Lockhart
1eab86e26d
Update source code to Byron's v6.30.0250 sources plus minor cleanup
...
to get rid of unused variables.
Get clean compile on Linux (Thomas and Gerald).
Implement autoconf/configure for standalone builds and use the existing
autoconf/configure system when in the Postgres source tree.
Code tests and functions with ApplixWare-4.4.1beta on a Linux box.
Changes should be backward compatible with WIN32 but still needs testing.
1998-10-06 05:58:41 +00:00
Byron Nikolaidis
6e66468f3a
Version 06-30-0248
1998-07-22 23:47:48 +00:00
Byron Nikolaidis
a80771f0a7
Update to v.0246
1998-06-16 21:29:19 +00:00
Byron Nikolaidis
0e708e595e
Update driver to official 6.30.0244 release.
1998-06-08 16:15:12 +00:00
Byron Nikolaidis
99d21d5b62
Update odbc driver to current version V.0244
1998-06-03 20:33:45 +00:00