aboutsummaryrefslogtreecommitdiff
path: root/src/interfaces/libpq
Commit message (Collapse)AuthorAge
* Fix for Win32 making problem with MB enabled.Tatsuo Ishii1999-08-16
| | | | Patches created by Hiroki Kataoka.
* Enable WIN32 compilation of libpq.Bruce Momjian1999-07-19
|
* Win32 cleanupBruce Momjian1999-07-19
|
* Re-add getopt.h check, remove NT-specific tests for it.Bruce Momjian1999-07-19
|
* Update for 6.6.Bruce Momjian1999-07-18
|
* Move some system includes into c.h, and remove duplicates.Bruce Momjian1999-07-17
|
* Redefine cpu's as __cpu__. Only for 6.6 branch.Bruce Momjian1999-07-13
|
* Update stuff for 6.5.1 release.Bruce Momjian1999-07-10
|
* Make sure symlinks for sharedlib get removed by 'make clean'.Tom Lane1999-06-30
|
* Remove QUERY_LIMIT and documenation on same. Change _ALIGN to TYPEALIGNBruce Momjian1999-06-17
| | | | for Irix.
* > Here is a small patch that should only affect win32 buildingBruce Momjian1999-06-07
| | | | | | | | | | | | | | | | | | | | | | > (native win32, not cygnus). > It does the following: > Patches two win32.mak files to DEFINE HAVE_VSNPRINTF and > HAVE_STRDUP. This is required to build at all. > Bumps the version number on libpq.dll from 6.4 to 6.5. > Required for install programs to work. > Adds defintions for BLCKSZ and MAXIMUM_ALIGN to "win32.h" in > the client-side libpiq directory. > > All these files are only used when building on native win32, > so it should be safe I think. > > Again, really sorry to throw this in so late, but I would > hate to do the same thing as with 6.4 (which required 6.4.1 > to at all compile on Win32). > > Thanks, > > //Magnus
* When closure of the backend connection is detected during pqFlush,Tom Lane1999-05-28
| | | | | | | | do the right thing: look for a NOTICE message from the backend before we close our side of the socket. 6.4 libpq did not reliably print the backend's hara-kiri message, 'The Postmaster has informed me ...', because it only did the right thing if connection closure was detected during a read attempt instead of a write attempt.
* Another pgindent run. Sorry folks.Bruce Momjian1999-05-25
|
* pgindent run over code.Bruce Momjian1999-05-25
|
* Fix bogus assumption that MAXALIGN is at least sizeof(pointer).Tom Lane1999-05-12
|
* Change error messages to oids come out as %u and not %d. Change has noBruce Momjian1999-05-10
| | | | real affect now.
* here are some patches for 6.5.0 which I already submitted but have neverBruce Momjian1999-05-03
| | | | | | | | | | | | | | | | | | | | | | | | | | | | been applied. The patches are in the .tar.gz attachment at the end: varchar-array.patch this patch adds support for arrays of bpchar() and varchar(), which where always missing from postgres. These datatypes can be used to replace the _char4, _char8, etc., which were dropped some time ago. block-size.patch this patch fixes many errors in the parser and other program which happen with very large query statements (> 8K) when using a page size larger than 8192. This patch is needed if you want to submit queries larger than 8K. Postgres supports tuples up to 32K but you can't insert them because you can't submit queries larger than 8K. My patch fixes this problem. The patch also replaces all the occurrences of `8192' and `1<<13' in the sources with the proper constants defined in include files. You should now never find 8192 hardwired in C code, just to make code clearer. -- Massimo Dal Zotto
* Clean up gcc warning in MULTIBYTE code.Tom Lane1999-04-25
|
* Use MAXALIGN value found by configure instead of aTom Lane1999-04-04
| | | | hardwired assumption.
* change comparison char* and NULL to char* and '\0'. This should beTatsuo Ishii1999-03-29
| | | | more portable way.
* Reversed out libpq protocol patch for Tom Lane.Bruce Momjian1999-03-14
|
* This is another example of why not allowing utility functions in SPIBruce Momjian1999-03-14
| | | | | | | | | | | | would be a Bad Thing. For what it's worth, I found another case in libpq where you can get a T message without a D that my utility patch needs to handle. I have attached the updated patch against the 6.4.2 version of src/interfaces/libpq/fe-exec.c Jerry Gay
* Hi,Bruce Momjian1999-03-14
| | | | | | | | | Just in case you'd like to see what I was talking about, I am attaching my patch to src/interfaces/libpq/fe-exec.c to prevent utility functions called from SPI from locking up the client. Jerry Gay
* I've been having also sorts of fun trying to get kerberos 4Bruce Momjian1999-03-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | authentifica tion working with postgresql-6.4.2 and KTH-KRB Ebones (http://www.pdc.kth.se/kth-kr b) on a dec alpha running DU 4.0D using the native compiler. The following patch does the trick. The rationale behind this is as follows. The KTH-KRB code header files defines lots of lengths like INST_SZ,REALM_SZ and KRB_SENDAUTH_VLEN. It also has a habit of doing things like chararray[LENGTH] = '\0' to ensure null terminated strings. In my instance this just happens to blat the kerberos principal instance string leading to error like pg_krb4_recvauth: kerberos error: Can't decode authenticator (krb_rd_req ) The application code that comes with KTH-KRB uses "KRB_SENDAUTH_VLEN + 1" and sometimes uses "INST_SZ + 1" so it seems safest to put that 1 char buffer in the appropriate place. Rodney McDuff
* Export include/utils/mcxt.h so that external stuff can includeTom Lane1999-03-07
| | | | | | palloc.h again. Move exporting of backend header files out of libpq's Makefile (whatever was it doing there in the first place?) and into backend/Makefile.
* Final optimizer cleanups.Bruce Momjian1999-02-22
|
* From: Tatsuo Ishii <t-ishii@sra.co.jp>Marc G. Fournier1999-02-21
| | | | | | Ok. I made patches replacing all of "#if FALSE" or "#if 0" to "#ifdef NOT_USED" for current. I have tested these patches in that the postgres binaries are identical.
* Enable bushy and right-hand queries by default.Bruce Momjian1999-02-18
|
* Change my-function-name-- to my_function_name, and optimizer renames.Bruce Momjian1999-02-13
|
* Include -lcrypt when needed to link libpgtcl.so and plpgsql.soTom Lane1999-02-07
|
* Add PQresStatus() function to avoid direct access to pgresStatus[] array,Tom Lane1999-02-07
| | | | making life easier for Windoids...
* Reverse out const to libpq interface from D'Arcy.Bruce Momjian1999-02-05
|
* Const fixes from D'Arcy.Bruce Momjian1999-02-04
|
* Cleanup of source files where 'return' or 'var =' is alone on a line.Bruce Momjian1999-02-03
|
* The libpq function PQfnumber does not handle case-insensitiveBruce Momjian1999-02-03
| | | | | | | | comparisons correctly. The psql monitor converts all table and field names to lower case. If the PQfnumber function is called with a mixed case name, it will always return -1. Bahman Rafatjoo
* Included patches make some enhancements to the multi-byte support.Bruce Momjian1999-02-02
| | | | | | | | | | | | | | | | | | | o allow to use Big5 (a Chinese encoding used in Taiwan) as a client encoding. In this case the server side encoding should be EUC_TW o add EUC_TW and Big5 test cases to the regression and the mb test (contributed by Jonah Kuo) o fix mistake in include/mb/pg_wchar.h. An encoding id for EUC_TW was not correct (was 3 and now is 4) o update documents (doc/README.mb and README.mb.jp) o update psql helpfile (bin/psql/psqlHelp.h) -- Tatsuo Ishii t-ishii@sra.co.jp
* From: Tatsuo Ishii <t-ishii@sra.co.jp>Marc G. Fournier1999-01-27
| | | | | | Included patches fix a portability problem of unsetenv() used in 6.4.2 multi-byte support. unsetenv() is only avaliable on FreeBSD and Linux so I decided to replace with putenv().
* |From: "D'Arcy" "J.M." Cain <darcy@druid.net>Marc G. Fournier1999-01-22
| | | | | | | |The following patch just prevents a warning from being generated because |the data type isn't specified.
* Apply Win32 patch from Horak Daniel.Bruce Momjian1999-01-17
|
* Improve error message when connect() call fails:Tom Lane1999-01-17
| | | | report kernel's errno value.
* Replace direct inclusions of c.h with inclusion of postgres.h,Tom Lane1999-01-17
| | | | to ensure that config.h is included as well.
* Compilation of libpq for Win32 breaks on 6.4, because of a change that IBruce Momjian1998-12-14
| | | | | | | | | | | | | | missed before the release. It's simply a symbol that is undefined. This patch defines this symbol in "win32.h", so it should have no effect on any other platforms. It should go into 6.4.1 if possible, since compilation is completely broken without it. I am also attaching a patch for the "win32.mak" file - it leaves a file behind when doing "make clean" after the library is built on Visual C++ 6.0. This is not at all as urgent, but I don't see it breaking here, so I think it might as well go in there too? //Magnus
* Portability fix for old SunOS releases: realloc(NULL, ...)Tom Lane1998-11-29
| | | | doesn't work there.
* Performance improvement for libpq: avoid calling malloc separatelyTom Lane1998-11-18
| | | | for each field of each tuple. Makes more difference than you'd think...
* Fix at least a few shared-library problems on Linux.Tom Lane1998-11-12
| | | | We have not seen the end of this issue :-(.
* Centralized shared-library build knowledge in a new file,Tom Lane1998-10-19
| | | | | | | | src/Makefile.shlib. Updated all the makefiles that try to build shlibs to include that file instead of having duplicate (and mostly incomplete) copies of shared-library options. It works on HPUX, a lot better than it did before in fact, but there's a chance I broke some other platforms. At least now you only have to fix one place not six...
* Clean up shared makefile install procedures.Tom Lane1998-10-18
| | | | | Get the permissions right, don't overwrite real files with symlinks, etc. plpgsql and odbc still aren't fully up to speed, but at least they don't crash and burn...
* Clean up library names and installation paths.Thomas G. Lockhart1998-10-14
| | | | | Include soft links in the installation directory for major version number. Use the existing $(DLSUFFIX) parameter to name shared library.
* New PGQUERY_LIMIT environment variable, and doc changes.Bruce Momjian1998-10-14
|
* From: Peter Gucwa <pg@softcomputer.com>Marc G. Fournier1998-10-13
| | | | | | Here are patches needed to complie under AIX 4.2. I changed configure.in, pqcomm.c, config.h.in, and fe-connect.c. Also I had to install flex because lex did not want to translate pgc.l.