summaryrefslogtreecommitdiff
path: root/src/interfaces
AgeCommit message (Collapse)Author
2000-12-10Here is patch to the ODBC driver to update the version to 2.5 and allowBruce Momjian
all forms of foreign keys be exposed to SQLForeignKeys. This patch is in addition to the ones I mailed yesterday (forget had I changed that as well....) Michael Fork - CCNA - MCP - A+ Network Support - Toledo Internet Access - Toledo Ohio
2000-12-10Here is a diff to info.c in interfaces/odbc that updates SQLForeignKeys toBruce Momjian
return foreign key information based on the pg_trigger system table. I have tested the patch with (what I believe) is all possible primary/foreign key combinations -- however I may have missed some, so if anyone feels like taking the patch for a test drive, here are some useful links: Michael Fork
2000-12-07Silence compiler warning.Tom Lane
2000-12-07Silence compiler warning.Tom Lane
2000-12-03Ensure that all uses of <ctype.h> functions are applied to unsigned-charTom Lane
values, whether the local char type is signed or not. This is necessary for portability. Per discussion on pghackers around 9/16/00.
2000-11-30Repair residual sillinesses from UUNET virtual host/socket path patch.Tom Lane
I hope all the dust has settled out now ...
2000-11-30Make all commands that link a program look likePeter Eisentraut
$(CC) $(CFLAGS) $(LDFLAGS) <object files> <extra-libraries> $(LIBS) -o $@ This form seemed to be the most portable, readable, and logical, but in any case it's better than having a dozen different ones in the tree.
2000-11-30Remove remaining unixsocket-setting interfaces, since the host parameterPeter Eisentraut
does that. Disable URL-style connection parameter specification code, which doesn't work.
2000-11-28Remove PQunixsocket from dll file.Bruce Momjian
2000-11-28Remove PQunixsocket prototypeBruce Momjian
2000-11-28Remove PQunixsocket, per Peter's recommendation. PQhost shows the socket ↵Bruce Momjian
directory.
2000-11-27Make PQhost return socket path.Bruce Momjian
2000-11-27Added pg_execute command behaving like spi_exec of PL/TclJan Wieck
Made pg_lo_read and pg_lo_write binary data safe when libpgtcl is compiled against Tcl version 8.0 or higher. Jan
2000-11-26 current cvs tree does build because of a small problem in ECPG. Here is aBruce Momjian
little patch which correct that. thanks cyril
2000-11-25Allow jdbc to return proper server version numberBruce Momjian
Anders Bengtsson
2000-11-20Fix yacc failures in preproc.y.Tom Lane
2000-11-20Add configure checks for strtoll, strtoull (or strto[u]q). DisablePeter Eisentraut
'long long int' portions of ecpg if the type or these functions don't exist.
2000-11-20Parser synced.Michael Meskes
2000-11-20Encoding patch to Connection by wrobell@posexperts.com.plPeter Mount
2000-11-20Eliminate unused-variable warning.Tom Lane
2000-11-17Recongizing PGCLIENTENCODING has been broken since 7.0.Tatsuo Ishii
2000-11-17Suppress occasional failure of final DROP DATABASE due toTom Lane
race condition --- old backend may not have shut down by the time we try to do the DROP.
2000-11-17GNUmakefile failed to provide a way to invoke perl Makefile'sTom Lane
'make test' target.
2000-11-17Forgot to add ppport.h to MANIFEST.Tom Lane
2000-11-16Clean files after installing, since those files will most likely be rootPeter Eisentraut
owned, which can be annoying.
2000-11-16Make pgsql compile on FreeBSD-alpha.Bruce Momjian
Context diff this time. Remove -m486 compile args for FreeBSD-i386, compile -O2 on i386. Compile with only -O on alpha for codegen safety. Make the port use the TEST_AND_SET for alpha and i386 on FreeBSD. Fix a lot of bogus string formats for outputting pointers (cast to int and %u/%x replaced with no cast and %p), and 'Size'(size_t) are now cast to 'unsigned long' and output with %lu/ Remove an unused variable. Alfred Perlstein
2000-11-14Rename PortName to PortNumber.Bruce Momjian
2000-11-13Remove -k unix socketpath option from client side, allow hostname withBruce Momjian
leading slash to behave as a unix socket path.
2000-11-13UUNET is looking into offering PostgreSQL as a part of a managed webBruce Momjian
hosting product, on both shared and dedicated machines. We currently offer Oracle and MySQL, and it would be a nice middle-ground. However, as shipped, PostgreSQL lacks the following features we need that MySQL has: 1. The ability to listen only on a particular IP address. Each hosting customer has their own IP address, on which all of their servers (http, ftp, real media, etc.) run. 2. The ability to place the Unix-domain socket in a mode 700 directory. This allows us to automatically create an empty database, with an empty DBA password, for new or upgrading customers without having to interactively set a DBA password and communicate it to (or from) the customer. This in turn cuts down our install and upgrade times. 3. The ability to connect to the Unix-domain socket from within a change-rooted environment. We run CGI programs chrooted to the user's home directory, which is another reason why we need to be able to specify where the Unix-domain socket is, instead of /tmp. 4. The ability to, if run as root, open a pid file in /var/run as root, and then setuid to the desired user. (mysqld -u can almost do this; I had to patch it, too). The patch below fixes problem 1-3. I plan to address #4, also, but haven't done so yet. These diffs are big enough that they should give the PG development team something to think about in the meantime :-) Also, I'm about to leave for 2 weeks' vacation, so I thought I'd get out what I have, which works (for the problems it tackles), now. With these changes, we can set up and run PostgreSQL with scripts the same way we can with apache or proftpd or mysql. In summary, this patch makes the following enhancements: 1. Adds an environment variable PGUNIXSOCKET, analogous to MYSQL_UNIX_PORT, and command line options -k --unix-socket to the relevant programs. 2. Adds a -h option to postmaster to set the hostname or IP address to listen on instead of the default INADDR_ANY. 3. Extends some library interfaces to support the above. 4. Fixes a few memory leaks in PQconnectdb(). The default behavior is unchanged from stock 7.0.2; if you don't use any of these new features, they don't change the operation. David J. MacKenzie
2000-11-10Update to PyGreSQL 3.1:Bruce Momjian
Fix some quoting functions. In particular handle NULLs better. Use a method to add primary key information rather than direct manipulation of the class structures. Break decimal out in _quote (in pg.py) and treat it as float. Treat timestamp like date for quoting purposes. Remove a redundant SELECT from the get method speeding it, and insert since it calls get, up a little. Add test for BOOL type in typecast method to pgdbTypeCache class. (tv@beamnet.de) Fix pgdb.py to send port as integer to lower level function (dildog@l0pht.com) Change pg.py to speed up some operations Allow updates on tables with no primary keys. D'Arcy J.M. Cain
2000-11-10the bug was not fixed in the snapshot of November 5th. Also the enterpriseBruce Momjian
edition of the driver did not compile. I have fixed both issues again. I have attached the modified files to this email, maybe you can check them into the repository. (Fixes are marked with //FIXME). Enterprise edition driver now compiles and seems to work. Jan Thomae
2000-11-09Applied yet another patch by Christof. Thanks Cristof!Michael Meskes
Synced parser.
2000-11-08Add dependencies required for parallel makePeter Eisentraut
2000-11-07Undo incorrectly committed Makefile.Michael Meskes
2000-11-07Third try. Sorry, I had a wrong path in my copy statement.Michael Meskes
2000-11-07Added more patches by Cristif Petig.Michael Meskes
2000-11-04Fix for missing EUC_TW encodingTatsuo Ishii
2000-11-03Parser sync.Michael Meskes
2000-11-01Fixed minor bug in ResultSet for jdbc2 reported by Matthew Denner that ↵Peter Mount
absolute doesnt handle negative row numbers correctly.
2000-10-31Added patch by Christof Petig <christof.petig@wtal.de> that fixes some bugs ↵Michael Meskes
in preproc.y.
2000-10-31Use $(filter ...), not $(findstring ...).Peter Eisentraut
2000-10-30Sync preproc.y with gram.y.Michael Meskes
2000-10-30Avoid dependency on backend's multibyte module as possible.Tatsuo Ishii
Now frontend/libpq has its own version of pg_encoding_to_char and pg_char_to_encoding.
2000-10-29Removed multibyte stuff since client does not know about encoding in the ↵Michael Meskes
backendFixed quoting bug reported by Sascha Demetrio (sd@b-comp.de).
2000-10-28Remove compiler warnings (add missing include files). Only link againstPeter Eisentraut
-lm if it's actually there.
2000-10-25Synced preproc.y with gram.y.Michael Meskes
2000-10-25Rearrange handling of -L linker options so that they are always before allPeter Eisentraut
the -l options. (This was not the case when using the OpenSSL or Kerberos options.) Also make sure that shared library links get to see all the -L options. Get Kerberos 5 support to compile on Redhat 7.0. Add OpenSSL and -lsocket (if used/found) to libpq link.
2000-10-25From Zoltan Kovacs back in April (sorry for the delay Zoltan!):Thomas G. Lockhart
I modified the current ODBC driver for * referential integrity error reporting, * SELECT in transactions and * disabling autocommit. I tested these changes with Borland C++ Builder -> ODBCExpress -> WinODBC driver (DLL) -> Postgres 7.0beta1 and Borland C++ Builder -> BDE -> WinODBC driver (DLL) -> Postgres 7.0beta1. The patch is based on snapshot of 22th April (I don't think that someone has modified it since that: Byron hasn't gave any sign of living for about a month and I didn't find any comments about the ODBC driver on the list).
2000-10-25Added some more C constructs to the parser.Michael Meskes
2000-10-24Eliminate POLLUTE=1 hack for cross-Perl-version compatibility by usingTom Lane
Devel::PPPort instead. Thanks to Gilles Darold for doing the legwork.