summaryrefslogtreecommitdiff
path: root/src/interfaces
AgeCommit message (Collapse)Author
2004-04-30Minor adjustments to enable public-domain timezone library to be calledBruce Momjian
from our code.
2004-04-29Synced parser and keyword list.Michael Meskes
2004-04-26Add $(X) for cross-compiling. Seems the mingw compiler running onBruce Momjian
FreeBSD doesn't add .EXE to links. Michiel Ephraim
2004-04-25Make thread flags CFLAGS, not CPPFLAGS.Bruce Momjian
2004-04-23Add new auto-detection of thread flags.Bruce Momjian
Allow additional thread flags to be added via port templates. Change thread flag names to PTHREAD_CFLAGS and PTHREAD_LIBS to match new configure script.
2004-04-23Fixed memory misusage in variable handling.Michael Meskes
2004-04-20Remove all of the libpgtcl and pgtclsh files, including all references toPostgreSQL Daemon
them within the various makefiles with_tcl is still required for the src/pl/tcl language
2004-04-19* Most changes are to fix warnings issued when compiling win32Bruce Momjian
* removed a few redundant defines * get_user_name safe under win32 * rationalized pipe read EOF for win32 (UPDATED PATCH USED) * changed all backend instances of sleep() to pg_usleep - except for the SLEEP_ON_ASSERT in assert.c, as it would exceed a 32-bit long [Note to patcher: If a SLEEP_ON_ASSERT of 2000 seconds is acceptable, please replace with pg_usleep(2000000000L)] I added a comment to that part of the code: /* * It would be nice to use pg_usleep() here, but only does 2000 sec * or 33 minutes, which seems too short. */ sleep(1000000); Claudio Natoli
2004-04-05Translation updatesPeter Eisentraut
2004-04-05Corrects issues recently posted by Dann Corbit, allowing libpq/psql toBruce Momjian
be built under VC++. Moves a pgstat win32 #def to port.h Claudio Natoli
2004-03-29Fixed possible segfault in type.c (by Juergen Cappel)Michael Meskes
2004-03-27Fix brain-dead placement of global variable declaration.Tom Lane
2004-03-25Fix for SSL compile.Bruce Momjian
2004-03-24Allow unlink/rename of files open by another process on Win32, using aBruce Momjian
special Win32 open flag FILE_SHARE_DELETE. Claudio Natoli
2004-03-24Add thread locking to SSL and Kerberos connections.Bruce Momjian
I have removed the docs mentioning that SSL and Kerberos are not thread-safe. Manfred Spraul
2004-03-21Revise syntax-error reporting behavior to give pleasant results forTom Lane
errors in internally-generated queries, such as those submitted by plpgsql functions. Per recent discussions with Fabien Coelho.
2004-03-15The "cvs add" of test_thread_implicit.pgc seems to have been missed,Bruce Momjian
i've attached this again. Additionally I include a small patch to remove mutex locking when a DEFAULT/NULL connection is being retrieved. This is consistent with libpq. Lee Kindness
2004-03-15Add PQmbdsplen() which returns the "display length" of a character.Tatsuo Ishii
Still some works needed: - UTF-8, MULE_INTERNAL always returns 1
2004-03-14Fix error in termination of COPY IN mode when using V2 protocol.Tom Lane
Report and fix per ljb, 8-Mar-04.
2004-03-14Fix ecpg_sqlca_key_destructor to return void.Bruce Momjian
2004-03-14- Fixed Informix compat math functions to cope with the situationsMichael Meskes
where one argument takes the result. - Applied thread patches by Lee Kindness
2004-03-12Rename incorrect references to nonblock.c to noblock.c. Claudio.Bruce Momjian
2004-03-10Move non-blocking code into its own /port file, for code clarity.Bruce Momjian
2004-03-09Make a separate win32 debug DLL along with the non-debug version:Bruce Momjian
Currently, src/interfaces/libpq/win32.mak builds a statically-linked library "libpq.lib", a debug dll "libpq.dll", import library for the debug dll "libpqdll.lib", a release dll "libpq.dll", import library for the release dll "libpqdll.lib". To avoid naming clashes, I would make the debug dll and import libraries "libpqd.dll" and "libpqddll.lib". Basically, the debug build uses the cl flags: "/MDd /D _DEBUG", and the release build uses the cl flags "/MD /D NDEBUG". Usually the debug build has a "D" suffix on the file name, so for example: libpqd.dll libpq, debug build libpqd.lib libpq, debug build, import library libpq.dll libpq, release build libpq.lib libpq, release build, import library David Turner
2004-03-05libpq's query to get the OIDs of large-object support functions was notTom Lane
schema-safe. Make it so, and improve the internal support for knowledge of server version.
2004-03-04- Fixed segfault due to missing check for variable declaration.Michael Meskes
- Added check for multidimensional array usage.
2004-03-02Added partly missing VOLATILE keyword.Michael Meskes
2004-02-24Add %option nodefault to all our flex lexers. Fix a couple of rule gapsTom Lane
exposed thereby. AFAICT these would not lead to any worse problems than junk emitted on the backend's stdout, but we should have the option to catch possible worse errors in future.
2004-02-24- Corrected error handling in PGTYPEStimestamp_from_asc.Michael Meskes
- Set pgtypeslib version to 1.2.
2004-02-23Fixed incorrect output of indicator structs using the name of the data struct.Michael Meskes
2004-02-18Added missing rule for DOUBLE variables.Michael Meskes
2004-02-16- Cleaned up parser a little bit. It does not make sense to allow aMichael Meskes
typename to be typedef'ed that cannot be parsed as variable type. - Allowed some SQL keywords to be used as C variable names.
2004-02-15New translationPeter Eisentraut
2004-02-15- Allowed some C keywords to be used as SQL column names.Michael Meskes
2004-02-15 - Added missing braces to array parsing.Michael Meskes
- Set ecpg version to 3.1.1. - Removed that old debugging output that I forgot the last time.
2004-02-10More clearly describe why PQinSend returns false for non-threaded libpq.Bruce Momjian
2004-02-10Repair missing inclusions of -lintl for shared libraries.Tom Lane
2004-02-02Use Tcl_PutEnv() in place of putenv() in libpgtcl, as the latter canNeil Conway
apparently corrupt the Tcl runtime. Per suggestion from Michael Brusser <michael@synchronicity.com>
2004-02-02Briefly,Bruce Momjian
* configure + Makefile changes * shared memory attaching in EXEC_BACKEND case (+ minor fix for apparent cygwin bug under cygwin/EXEC_BACKEND case only) * PATH env var separator differences * missing win32 rand functions added * placeholder replacements for sync etc under port.h To those who are really interested, and there are a few of you: the attached patch + file will allow the source base to be compiled (and, for some definition, "run") under MingW, with the following caveats (I wanted to first properly fix all but the last of these, but y'all won't quit asking for a patch :-): * child death: SIGCHLD not yet sent, so as a minimum, you'll need to put in some sort of delay after StartupDatabase, and handle setting StartupPID to 0 etc (ie. the stuff the reaper() signal function is supposed to do) * dirmod.c: comment out the elog calls * dfmgr.c: some hackage required to substitute_libpath_macro * slru/xact.c: comment out the errno checking after the readdir (fixed by next version of MingW) Again, this is only if you *really* want to see postgres compile and start, and is a nice leg-up for working on the other Win32 TODO list items. Just don't expect too much else from it at this point... Claudio Natoli
2004-01-28Fix typo.Tom Lane
2004-01-28Removed some debugging output.Michael Meskes
2004-01-28- Issue a warning if a cursor is declared but not opened.Michael Meskes
- Fixed prototype for ECPGprepared_statement to not moan about "const char" - Fixed parsing of nested structures. - Added option to parse header files.
2004-01-26Ensure that close() and fclose() are checked for errors, at least inTom Lane
cases involving writes. Per recent discussion about the possibility of close-time failures on some filesystems. There is a TODO item for this, too.
2004-01-21Added WHENEVER NOT_FOUND to SELECT/INSERT/UPDATE/DELETE.Michael Meskes
2004-01-19Remove JDBC from the build system and documentation, too.Tom Lane
2004-01-19missed a few filesPostgreSQL Daemon
2004-01-19JDBC is now on GBorgPostgreSQL Daemon
2004-01-19Repair problem identified by Olivier Prenant: ALTER DATABASE SET search_pathTom Lane
should not be too eager to reject paths involving unknown schemas, since it can't really tell whether the schemas exist in the target database. (Also, when reading pg_dumpall output, it could be that the schemas don't exist yet, but eventually will.) ALTER USER SET has a similar issue. So, reduce the normal ERROR to a NOTICE when checking search_path values for these commands. Supporting this requires changing the API for GUC assign_hook functions, which causes the patch to touch a lot of places, but the changes are conceptually trivial.
2004-01-13Translation updatePeter Eisentraut
2004-01-13Fix ecpg test program to properly access int* null indicator.Bruce Momjian