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
8804bdcd0e
Corrected the check for *message truncated* for the future use.
2001-06-19 03:17:12 +00:00
Hiroshi Inoue
76d38cb0c6
Changed the error handling as follows.
...
1) ERRORs cause an SQL_ERROR and the SQLSTATE='S1000'.
2) NOTICEs cause an SQL_SUCCESS_WITH_INFO and the succeeding
SQLError() returns the NOTICE message.
2001-06-19 02:17:06 +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
Tom Lane
1ed61b3a9c
Fix unportable assumptions about alignment of local char[n] variables.
2001-03-25 19:30:28 +00:00
Bruce Momjian
9e1552607a
pgindent run. Make it all clean.
2001-03-22 04:01:46 +00:00
Hiroshi Inoue
08bf4d68de
Fix some memory leaks.
2001-03-14 09:10:04 +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
Tom Lane
d9eb5b75e3
SOCK_get_next_byte should not return garbage after error/EOF. Return
...
zero bytes instead.
2001-02-11 23:46:40 +00:00
Bruce Momjian
07faa2fdce
Remove unneeded shutdown() call, per Tom Lane.
2001-02-11 23:34:08 +00:00
Bruce Momjian
cc818a83c0
Move X packet before shutdown().
2001-02-11 13:15:28 +00:00
Bruce Momjian
26dc50141b
More cleanup.
2001-02-11 05:13:52 +00:00
Bruce Momjian
82b1fd1e0d
More cleanup.
2001-02-11 05:04:47 +00:00
Bruce Momjian
9d244ddb26
Cleanup of source.
2001-02-11 04:56:58 +00:00
Bruce Momjian
2cb7c5b24c
Disable X connection close in ODBC until solution is found.
2001-02-10 23:35:04 +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
fd40942fd8
Properly exit ODBC with 'X', allow linking on BSD/OS.
2001-02-10 05:50:29 +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
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
99d21d5b62
Update odbc driver to current version V.0244
1998-06-03 20:33:45 +00:00
Marc G. Fournier
9e3382dfc5
Replace old PostODBC driver with new one...
...
This one is based on an older PostODBC driver, rewritten and maintained by
InsightDist(?)
1998-04-13 15:02:05 +00:00