summaryrefslogtreecommitdiff
path: root/src/interfaces/odbc
Commit message (Collapse)AuthorAgeFilesLines
* Fix relative path references so that make knowns which dependencies referPeter Eisentraut2000-08-311-3/+3
| | | | | to one another. Sort out builddir vs srcdir variable namings. Remove some now obsoleted make variables.
* Remove bogus use of int4out().Tom Lane2000-08-291-2/+2
|
* didn't compilePeter Eisentraut2000-07-141-3/+5
|
* |> The Makefile.shlib changes will have to be discussed with other LinuxBruce Momjian2000-07-071-2/+14
| | | | | | | | | | | | | | | | | | |> developers so we are sure it will work on all platforms. The problem with the current settings is that the linker is called directly. This is wrong, it should always be called through the compiler driver (the only exception is `ld -r'). This will make sure that the necessary libraries like libgcc are linked in. But there is still a different problem with the setting of LDFLAGS_ODBC. The psqlodbc module defines the functions _init and _fini which are reserved for the shared library initialisation. These should be changed to constructor functions. Then LDFLAGS_ODBC can be changed to be just `-lm'. Btw, why does it use -Bsymbolic? Andreas Schwab
* Makefile cleanup for interface tree. Now essentially with all thePeter Eisentraut2000-06-282-77/+62
| | | | | | | | | | | | | | | | | | | | | standard targets and behaviour. Replaced Makefile.in's with Makefile's and declared the respective variables in Makefile.global. maintainer-clean target now available at top level, although it does not work in the backend tree yet. Cleanup pass over Makefile.shlib, renamed some targets and variables. The shared library symlink tests are now done by make, not the shell. ecpg: Remove one warning in sloppy flex output. PL/Perl and Perl interface: the MakeMaker documentation is confusing, the realclean target *does* "delete derived files", but it also uninstalls them. Don't use that. The submake targets in the various bin directories that update libpq should `make all', not `make libpq.a'. That is a) unportable, and b) doesn't build the shared library.
* Cleaned up PL/pgSQL build. Fixed a couple of copyandpaste'os in thePeter Eisentraut2000-06-201-2/+2
| | | | | interfaces and interfaces/odbc make files. Adjusted regression test driver to start building and installing in the top level directory.
* Integrated ODBC driver into regular build. No more standalone business,Peter Eisentraut2000-06-1914-5526/+61
| | | | | which didn't work anyway. Had to back out unixodbc related patch which broke the regular ODBC build.
* Rename HAVE_SQLGETPRIVATEPROFILESTRING to something resonable in lengthBruce Momjian2000-06-192-2/+2
| | | | and readability.
* fix HAVE_SQLGETPRIVATEPROFILESTRING defineBruce Momjian2000-06-192-2/+2
|
* OK, I have tidied up todays (13th) snapshot with the attached patch, IBruce Momjian2000-06-141-2/+1
| | | | | | | | | | have'nt r un autoconf to create a new configure, I guess that's done by the smapshot process, I had to remove a line from interface/odbc/ GNUMakefile to get it to build, it was a autoconf variable that looks to not be used anymore, I am assuming that this is ok. Nick Gorham Easysoft Ltd
* Back out old unixodbc patches and apply new ones. Nick GorhamBruce Momjian2000-06-123-5/+5
|
* I have made the couple of mods required to make the odbc driver withBruce Momjian2000-06-092-1/+4
| | | | | | | | | | 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
* More odbc include cleanupsBruce Momjian2000-06-083-11/+12
|
* Update odbc includeBruce Momjian2000-06-081-1/+1
|
* Fix ODBC for new binary fopen/open paramsBruce Momjian2000-06-081-0/+10
|
* Moved configure script from src/ to the top level directory. MovedPeter Eisentraut2000-06-061-3/+3
| | | | | configuration helper things into config/ dir. Adjusted some relative paths in makefiles.
* Remove NT-specific file open defines by defining our own open macros forBruce Momjian2000-06-022-48/+32
| | | | "rb" and "wb".
* Cleanup of <> and ""Bruce Momjian2000-05-291-2/+2
|
* Remove // comments from ODBC.Bruce Momjian2000-05-2728-662/+667
|
* Irix fixes from Murad NayalBruce Momjian2000-05-221-1/+1
|
* Back out odbc changes until 7.1.Bruce Momjian2000-05-1728-667/+662
|
* Several compilation and run-time problems occur when building on SGIBruce Momjian2000-05-1628-662/+667
| | | | | | | | | | | | 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
* Remove configure check for how to abbreviate 'tr A-Z a-z', and insteadTom Lane2000-05-162-86/+179
| | | | | | | just use the portable form, tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz There were a bunch of places that weren't paying attention to configure's result anyway (including configure itself!?); clean them up too.
* Add transcendental math functions (sine, cosine, etc)Thomas G. Lockhart2000-04-071-1/+1
| | | | | | | | | | | | | | | | Add a random number generator and seed setter (random(), SET SEED) Fix up the interval*float8 math to carry partial months into the time field. Add float8*interval so we have symmetry in the available math. Fix the parser and define.c to accept SQL92 types as field arguments. Fix the parser to accept SQL92 types for CREATE TYPE, etc. This is necessary to allow... Bit/varbit support in contrib/bit cleaned up to compile and load cleanly. Still needs some work before final release. Implement the "SOME" keyword as a synonym for "ANY" per SQL92. Implement ascii(text), ichar(int4), repeat(text,int4) to help support the ODBC driver. Enable the TRUNCATE() function mapping in the ODBC driver.
* Correct off-by-one error in strncat() usage.Tom Lane2000-04-041-4/+4
|
* Augment the function call map logic with code from Tom Lane.Thomas G. Lockhart2000-04-041-37/+129
| | | | | | | Should be more robust to overflows. Pass through an unmapped function unchanged, rather than rejecting it. Add a few more functions, but comment out those which can go through as-is. Can be used with contrib/odbc/ package, though that isn't committed yet.
* Change form of query which used "DISTINCT ON" to help support primary keys.Thomas G. Lockhart2000-03-272-28/+83
| | | | | | We still have an internal limit in the ODBC code of 8 columns per key, but this should lay the groundwork for resolving that. Includes reformulated query from Tom Lane.
* Forgot that odbc had its own copies of config.sub/config.guess.Tom Lane2000-03-212-155/+958
| | | | Update those to latest Autoconf sources, too.
* Fix query for primary keys to reflect new DISTINCT ON () syntax.Thomas G. Lockhart2000-03-211-1/+1
| | | | | Reported by "Tibor Laszlo" <ltibor@mail.tiszanet.hu> and fix suggested by "Hiroshi Inoue" <Inoue@tpf.co.jp>.
* Clean up minor compiler warnings.Tom Lane2000-03-186-27/+20
|
* Patch for Irix from Mark Dalphin.Bruce Momjian2000-03-021-2/+2
|
* update to 6.40.0009 and provide WIN32 defines for auto-configured itemsByron Nikolaidis2000-02-283-8/+16
| | | | such as BLCKSZ and MAXPGPATHLEN?
* missing state transitionByron Nikolaidis2000-02-281-0/+7
|
* Package: postgresqlBruce Momjian2000-02-161-1/+2
| | | | | | | | | | | | | | Version: 6.5.3-11 Severity: important 'char' is not a signed type by default on powerpc; therefore a character can never be equal to EOF (-1). A patch is attached. Dan /--------------------------------\ /--------------------------------\ | Daniel Jacobowitz |__| SCS Class of 2002 |
* I suspect that you are not the person to send this to, but I wasn't sureBruce Momjian2000-02-141-55/+56
| | | | | | | | | | | | | where else to mail it. I am the maintainer of unixODBC, and we have a set of code in our project that started life as the Postgres windows ODBC driver, which has been ported back to unix. Anyway I have just fixed a memory leak in the driver, and I cant see any mention of the fix being done in the main Postgres code, so I thougth I would let you know. Its in the statement.c module, after the COMMIT statement has been executed in SC_Execute, the code was Nick Gorham
* Added numeric and int8 types.Byron Nikolaidis2000-01-307-29/+334
| | | | Bug fix for LongVarBinary -- begin transaction
* Rename oid8 -> oidvector and int28 -> int2vector. Cleanup of *out functions.Bruce Momjian2000-01-102-3/+3
|
* Update int28out and out8out and _in_ functions to handle trailing zerosBruce Momjian2000-01-101-2/+2
| | | | properly.
* Fix it's and its to be correct.Bruce Momjian2000-01-057-12/+12
|
* Rename readonly to onlyread in odbc. Use varargs properly.Bruce Momjian1999-11-306-29/+27
|
* Small patch which fixes the ODBC driver so it doesn't segfault if:Bruce Momjian1999-11-292-10/+22
| | | | | | | | | | | | | | | | | | You have CommLog and Debug enabled You encounter in error in any operation (SQLConnect/SQLExec). Previously, the extra logging didn't check for NULL pointers when trying to print some of the strings- the socket error message could frequently be NULL by design (if there was no socket error) and Solaris does not handle NULLS passed to things like printf ("%s\n",string); gracefully. This basically duplicates the functionality found in Linux where passing a null pointer to printf prints "(NULL)". No very elegant, but the logging is for debug only anyway. Dirk Niggemann
* Standardize on MAXPGPATH as the size of a file pathname buffer,Tom Lane1999-10-252-24/+18
| | | | | | | eliminating some wildly inconsistent coding in various parts of the system. I set MAXPGPATH = 1024 in config.h.in. If anyone is really convinced that there ought to be a configure-time test to set the value, go right ahead ... but I think it's a waste of time.
* bug fix for large objects (free)Byron Nikolaidis1999-10-252-3/+5
|
* driver v06-40-0007Byron Nikolaidis1999-09-032-35/+115
|
* driver v06-40-0007Byron Nikolaidis1999-09-033-2/+4
|
* Re-apply range check patch after fixing LIMIT_H test and defines.Bruce Momjian1999-07-091-1/+1
|
* Make sure symlinks for sharedlib get removed by 'make clean'.Tom Lane1999-06-301-4/+4
|
* Update driver to 6-40-0006Byron Nikolaidis1999-05-133-9/+9
|
* here are some patches for 6.5.0 which I already submitted but have neverBruce Momjian1999-05-032-4/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Change my-function-name-- to my_function_name, and optimizer renames.Bruce Momjian1999-02-131-1/+1
|