Hiroshi Inoue
e5cff3fe64
Get rid of the following size limit.
...
1) Query size limit(was 65536) for >=7.0 servers.
2) Text size limit(was 8190) for 7.1 servers.
2001-05-25 08:12:32 +00:00
Hiroshi Inoue
e7ffdd4475
1) Decrease the size of some buffers.
...
2) Repair broken SQLStatistics().
2001-05-17 02:56:37 +00:00
Bruce Momjian
8128ae686f
Add missing paren.
2001-05-16 22:36:03 +00:00
Bruce Momjian
5abaa779c4
Fix for HASH for index lookups in ODBC.
2001-05-16 17:47:27 +00:00
Bruce Momjian
783fbdab70
Remove columns pg_index.haskeytype and pg_index.indisclustered. Not used.
2001-05-14 21:53:16 +00:00
Bruce Momjian
54d9099596
Stamp CVS as 7.2. Update all interface version numbers. This is the
...
time to do it, not during beta because people are using this stuff in
production sometimes.
2001-05-11 01:46:33 +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
0cec2bb0cd
BTW it does not add encodign it just patches existing one (KOI8) to
...
support two - KOI8-R and KOI8-U (latter is superset of the former if
not to take to the account pseudographics)
Andy Rysin
2001-05-03 21:38:45 +00:00
Tom Lane
d67a618e19
Previous commit mistakenly converted all newlines to DOS style (CR/LF).
...
Convert back to Unix style --- it seems some versions of nmake insist
on this.
2001-05-02 14:23:40 +00:00
Hiroshi Inoue
892d46e7d0
1) fix bugs reported by Andrea Aime.
...
2) fix a bug reported by Jan Wieck.
psqlodbc is 7.01.0005 now.
2001-05-01 00:47:06 +00:00
Hiroshi Inoue
e355992ff9
1) Decrease the size of needlessly large buffers. For example, it
...
resolved the stack over flow errors reported by Johann Zuschlag.
2) Support {oj syntax for 71. servers.
2001-04-23 01:41:06 +00:00
Hiroshi Inoue
cc6bdb3e48
A patch to fix the following bugs.
...
1) [ODBC] Psqlodbc and Centura: here it is a patch
posted by Matteo Cavalleli
2) [ODBC] pgsqODBC binding parameters II
posted by Ludek Finstrle
3) Invalid Page Fault in PSQLODBC.DLL
personal mail from Johann Zuschlag
Hiroki Kataoka kataoka@interwiz.koganei.tokyo.jp
2001-04-23 01:00:49 +00:00
Hiroshi Inoue
9609a875bb
The renewal of README thanks to Dave Page.
2001-04-17 07:30:53 +00:00
Hiroshi Inoue
7bba7a5c06
Sorry my previous change was a mistake.
2001-04-06 15:31:28 +00:00
Hiroshi Inoue
ef4a163afd
1) Fit the precision of floating point to that of server side
...
(fix by Hiroki kataoka).
2) Ensure the definition of atof()(#include stdlib.h).
(suggestion by Masaaki Sakaida).
2001-04-06 09:23:44 +00:00
Bruce Momjian
12ceb11182
ODBC source code cleanup. Mostly alignment of #define constants.
2001-03-27 04:00:55 +00:00
Hiroshi Inoue
80c6843e6b
Add multibyte support
2001-03-26 09:34:17 +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
7cf952e7b4
Fix comments that were mis-wrapped, for Tom Lane.
2001-03-23 04:49:58 +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
ff3c4896a9
The attached patch fixes win32.mak which got broken by the Multibyte mod
...
:-(, and tidies it up a little as well.
Regards, Dave.
2001-03-21 16:26:17 +00:00
Hiroshi Inoue
736c4655c3
a fix from Eiji Tokuya.
2001-03-21 09:35:25 +00:00
Hiroshi Inoue
935017457b
Oops I forgot to add new files for multibyte support.
...
Sorry Eiji.
2001-03-16 13:03:04 +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
Hiroshi Inoue
08bf4d68de
Fix some memory leaks.
2001-03-14 09:10:04 +00:00
Hiroshi Inoue
e376cb6078
The attached file contains the registry settings required to install the
...
ODBC driver on Windows 9X/ME/NT/2K when using the later versions of the
driver that don't have the Installshield installation:
1) Install psqlodbc.dll in to C:\Windows\System or C:\Winnt\System32
2) Add the registry settings in the attached file using regedit.
A useful addition to src/interfaces/odbc perhaps?
Regards, Dave.
2001-03-13 09:03:24 +00:00
Tom Lane
5ab642fdf1
Provide a hack to let initialization happen on platforms for which
...
psqlodbc.c's constructor-making techniques do not work.
2001-03-10 23:12:28 +00:00
Tom Lane
eb9033ce95
Do not accept values from sections following the specified section.
2001-03-10 22:30:57 +00:00
Hiroshi Inoue
e666422ebf
1)Allow the access to indexes with up to 16 keys.
...
2)Fix some memory leaks.
3)Change some bogus error messages.
2001-03-10 03:34:57 +00:00
Hiroshi Inoue
3df0fce801
Fix the bug report [ODBC] select from a table having more than 32 fields:
...
reported by Matteo Cavalleri.
Great thanks to Tom for his accurate analysis.
2001-02-22 03:39:30 +00:00
Tom Lane
17137d6c5b
Remove unportable #warning directive.
2001-02-20 19:39:24 +00:00
Peter Eisentraut
cb6edf9d56
Make sure -L and -I's for our source tree are always before system include
...
or library directories on the command line.
2001-02-20 19:20:30 +00:00
Tom Lane
eb90c16dd7
ichar() has been renamed to chr(), so fix translation table.
2001-02-16 03:49:40 +00:00
Hiroshi Inoue
b24b2a5be0
Add casting for numeric/float4/float8 type value
...
automatically to compensate the lack of automatic
conversion functionality of PostgreSQL server.
For example if there's a numeric type binding
1.2567 --> 1.2567::numeric.
I hope this change would enable the use of numeric
type in MS-Access etc.
Thanks Hiroki Kataoka for his checking my code.
2001-02-16 03:10:09 +00:00
Hiroshi Inoue
462c13215a
1) Change transaction boundary in autocommit off mode
...
per recent discussion in pgsql-odbc. Now SELECT is
a boundary but VACUUM isn't.
2) Put back the error handling behavior. When elog(ERROR)
was detected the driver automatically issue "ABORT"
if a transaction is in progress.
3) Driver version is 7.01.0003(Dave already set it but
it was put back).
2001-02-15 05:32:00 +00:00
Bruce Momjian
cf21f7a187
Add 7.X to dialog box.
2001-02-14 06:10:31 +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
f4e4c7291e
Attached is a makefile for the ODBC driver for use under win32. It has been
...
tested only with MS VC++ 6.0SP4 using nmake.
Dave Page
2001-02-12 22:50:06 +00:00
Bruce Momjian
cbb4ab99a8
New MS resource file, pgindented.
2001-02-12 21:45:24 +00:00
Bruce Momjian
97aa5fcd5e
Update ODBC resource MS-generated file.
2001-02-12 17:54:02 +00:00
Bruce Momjian
20bea98169
Change more // comments.
2001-02-12 14:17:06 +00:00
Bruce Momjian
36e3c641f6
Replace // comments from file for MS products.
2001-02-12 12:59:22 +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
72f3b9fce9
More cleanups.
2001-02-11 13:58:12 +00:00
Bruce Momjian
9c891acd52
Include file alignment fixes.
2001-02-11 13:53:42 +00:00
Bruce Momjian
cc818a83c0
Move X packet before shutdown().
2001-02-11 13:15:28 +00:00
Bruce Momjian
3152ef63a6
Source alignment cleanups.
2001-02-11 05:58:41 +00:00