summaryrefslogtreecommitdiff
path: root/src/interfaces/libpgtcl
AgeCommit message (Collapse)Author
2000-06-17Remove fmgrstamp-h business -- not needed and confusingPeter Eisentraut
Add options to configure to automatically build for Kerberos support; no more editing of make files.
2000-06-14Back out libpgtcl tcl/tksh includes.Bruce Momjian
2000-06-13add missing filesBruce Momjian
2000-06-13in the Directory src/bin/pgtclsh there is a good mechanism to integrateBruce Momjian
the tcl-spec in the Makefile. The patch in the attachemant does this in the src/interfaces/libpgtcl too Thank you Rudolf Weber
2000-06-06Moved configure script from src/ to the top level directory. MovedPeter Eisentraut
configuration helper things into config/ dir. Adjusted some relative paths in makefiles.
2000-05-29Cleanup of <> and ""Bruce Momjian
2000-05-29Generated header files parse.h and fmgroids.h are now copied intoTom Lane
the src/include tree, so that -I backend is no longer necessary anywhere. Also, clean up some bit rot in contrib tree.
2000-04-12Ye-old pgindent run. Same 4-space tabs.Bruce Momjian
2000-03-11Change PQconndefaults() to return a malloc'd array, instead of a staticTom Lane
array. This allows processing of conninfo strings to be made thread-safe, at the cost of a small memory leak in applications that use PQconndefaults() and are not updated to free the returned array via the new PQconninfoFree() function. But PQconndefaults() is probably not used very much, so this seems like a good compromise.
2000-03-08I've made a diff against the 7.0beta1 tree that accomplishes several things:Bruce Momjian
1) adds NetBSD shared lib support on both ELF and a.out platforms 2) replaces "-L$(LIBPQDIR) -lpq" with "$(LIBPQ)" defined in Makefile.global. This makes it much easier to build stuff in the source tree after you've already installed the libraries. 3) adds TEMPLATEDIR in Makefile.global that indicates where the database templates are stored. This separates the template files from real libraries that are installed in $(LIBDIR). 4) changes include order of <readline/readline.h> and <readline.h>. The latest GNU readline installs its headers under a readline subdirectory. In addition to applying the patch below the following files need to be copied: backend/port/dynloader: bsd.h -> netbsd.h bsd.c -> netbsd.c include/port: bsd.h -> netbsd.h makefiles: Makefile.bsd -> Makefile.netbsd It would be great to see this incorporated into the source tree before the 7.0 release is cut. Thanks! -- Johnny C. Lam <lamj@stat.cmu.edu>
2000-02-27Clean up badly-formatted error messages from pg_connect.Tom Lane
2000-01-26Add:Bruce Momjian
* Portions Copyright (c) 1996-2000, PostgreSQL, Inc to all files copyright Regents of Berkeley. Man, that's a lot of files.
2000-01-10Update int28out and out8out and _in_ functions to handle trailing zerosBruce Momjian
properly.
1999-12-16I have done the QNX4 port with the current source tree. The number ofBruce Momjian
backend/Makefiles to be patched could significantly be reduced since they have been adopted to the QNX4 needs. Andreas Kardos
1999-10-11Add pginterface into main tree, called pgeasy.Bruce Momjian
1999-07-17 Move some system includes into c.h, and remove duplicates.Bruce Momjian
1999-06-30Make sure symlinks for sharedlib get removed by 'make clean'.Tom Lane
1999-05-30egcs thinks omitting the return type in a function declarationTom Lane
is poor coding style. I agree.
1999-05-25Another pgindent run. Sorry folks.Bruce Momjian
1999-05-25pgindent run over code.Bruce Momjian
1999-05-10Change error messages to oids come out as %u and not %d. Change has noBruce Momjian
real affect now.
1999-02-13Change my-function-name-- to my_function_name, and optimizer renames.Bruce Momjian
1999-02-07Include -lcrypt when needed to link libpgtcl.so and plpgsql.soTom Lane
1999-02-07Add PQresStatus() function to avoid direct access to pgresStatus[] array,Tom Lane
making life easier for Windoids...
1999-01-17Keep Tcl from getting confused if backend closes connectionTom Lane
when a notify is installed.
1999-01-17TCL_ARRAYS option patches from Massimo Dal ZottoTom Lane
1998-10-19Centralized shared-library build knowledge in a new file,Tom Lane
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...
1998-10-18Clean up shared makefile install procedures.Tom Lane
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...
1998-10-14Clean up library names and installation paths.Thomas G. Lockhart
Include soft links in the installation directory for major version number. Use the existing $(DLSUFFIX) parameter to name shared library.
1998-10-14Fix another memory leak in pg_select --- pointed out by teo@flex.roTom Lane
1998-10-12Tcl fixes from Billy G. AllieBruce Momjian
1998-10-12More Solaris fixes.Bruce Momjian
1998-10-12Add SVr4 shared libraries.Bruce Momjian
1998-10-12Solaris shared library fixes.Bruce Momjian
1998-10-09major/minor shared name cleanupBruce Momjian
1998-10-09More bsdi 4.0 cleanups for shared libraries.Bruce Momjian
1998-10-09More bsdi 4.0 fixes.Bruce Momjian
1998-10-09Fix for BSDI shared libraries.Bruce Momjian
1998-10-07Use the $(LN_S) substitution for "ln -s" since configure tests for it.Thomas G. Lockhart
1998-10-02Fix potential coredump in pg_conndefaults (assigning constant stringTom Lane
to a field that will get free'd). Also make it robust in cases where values contain Tcl special characters.
1998-10-01Simplify pg_result by using new libpq PQresultErrorMessage;Tom Lane
fix some memory leaks in pg_select.
1998-09-21This patch covers several to-do items that I had for libpgtcl:Bruce Momjian
* It works under both Tcl 7.6 and Tcl 8.0 now. (The code claims to work under Tcl 7.5 as well, but I have no way to test that --- if anyone still cares, please check it with 7.5.) * pg_listen suppresses extra LISTEN commands and correctly sends an UNLISTEN when the last listen request for a relation is cancelled. (Note this means it will not work with pre-6.4 backends, but that was true already because it depends on the current libpq, which only speaks protocol 2.0.) * Added -error option to pg_result so that there's some way to find out what you did wrong ;-) * Miscellaneous cleanups of code comments and overenthusiastic #includes. BTW, I bumped the package version number from 1.2 to 1.3. Is this premature? Does someone run around and do that routinely before each pgsql release? regards, tom lane
1998-09-10More bsdi 4.0 additions.Bruce Momjian
1998-09-04libpgtcl cleanups for Tom Lane.Bruce Momjian
1998-09-03patch cleanups.Bruce Momjian
1998-09-03Attached is a patch to remove the definitions of libpq's internalBruce Momjian
structs from libpq-fe.h, as we previously discussed. There turned out to be sloppy coding practices in more places than I had realized :-(, but all in all I think it was a well-worth-while exercise. I ended up adding several routines to libpq's API in order to respond to application requirements that were exposed by this work. I owe the docs crew updates for libpq.sgml to describe these changes. I'm way too tired to work on the docs tonight, however. This is the last major change I intend to submit for 6.4. I do want to see if I can make libpgtcl work with Tcl 8.0 before we go final, but hopefully that will be a minor bug fix.
1998-09-01OK, folks, here is the pgindent output.Bruce Momjian
1998-09-01Renaming cleanup, no pgindent yet.Bruce Momjian
1998-08-22The attached patch fixes a problem that I seem to have introducedBruce Momjian
with the new support for asynchronous NOTIFY in libpgtcl. With the current sources, if the backend disconnects unexpectedly then the tcl/tk application coredumps when control next reaches the idle loop. Oops. regards, tom lane
1998-08-22Here are additional patches for the UnixWare 7 port.Bruce Momjian
Summary of changes: In pqcomm.h, use the SUN_LEN macro if it is defined to calculate the size of the sockaddr_un structure. In unixware.h, drop the use of the UNIXWARE macro. Everything can be handled with the USE_UNIVEL_CC and DISABLE_COMPLEX_MACRO macros. In s_lock.h, remove the reference to the UNIXWARE macro (see above). In the unixware template, add the YFLAGS:-d line. In various makefile templates, add (or cleanup) unixware and univel port specific information. -- Billy G. Allie