summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2003-05-23ecpg now accepts array elements as arguments.Michael Meskes
2003-05-23Seems pl_funcs didn't have support for plpgsql PERFORM statement.Tom Lane
2003-05-22Add define for missing EAI_ADDRFAMILY in BSD/OS 4.3.Bruce Momjian
2003-05-22Fix compilation on Cygwin.Peter Eisentraut
2003-05-22Add defense against possibility that tzname[] doesn't exist.Tom Lane
2003-05-22Fixed segfault when detecting undefined cursor.Michael Meskes
2003-05-22Adjust configure so that extern tzname[] will be checked forTom Lane
independently of whether the struct tm tm_zone member exists. Also run autoheader, which seems not to have been done lately; it added about three more things to pg_config.h.in than I was expecting...
2003-05-22Repair sometimes-incorrect computation of StartUpID after a crash, perTom Lane
example from Rao Kumar. This is a very corner corner-case, requiring a minimum of three closely-spaced database crashes and an unlucky positioning of the second recovery's checkpoint record before you'd notice any problem. But the consequences are dire enough that it's a must-fix.
2003-05-22ecpg now recognizes named structs/unions. So you don't have to list the ↵Michael Meskes
whole definition everytime you declare a variable anymore.
2003-05-20Fix coredump in pg_get_triggerdef, ensure function name is schema-Tom Lane
qualified when necessary, simplify argument-printing code.
2003-05-20Reversed my incorrect fix.Michael Meskes
2003-05-19Use -fPIC on Sparc, per Tom Callaway.Tom Lane
2003-05-19Rename Win32 include directory from win32_include to win32.Bruce Momjian
2003-05-19Fixed exec sql ifdef command.Michael Meskes
2003-05-18Add documentation for information schema, and some corrections on somePeter Eisentraut
views.
2003-05-18Add code to test for unknown timezone names (following some ideas fromTom Lane
Ross Reedstrom, a couple months back) and to detect timezones that are using leap-second timekeeping. The unknown-zone-name test is pretty heuristic and ugly, but it seems better than the old behavior of just switching to GMT given a bad name. Also make DecodePosixTimezone() a tad more robust.
2003-05-17Fix breakage induced by recent patch (careless use of fmtId()).Tom Lane
2003-05-16Small changes to use the absolute path to system catalogs.Tom Lane
Greg Sabino Mullane
2003-05-16Made variable type double work again.Michael Meskes
2003-05-16Fixed incorrect include and another typo. Sorry, the include did not create ↵Michael Meskes
a warning/error/problem on my machine, so I didn't notice it.
2003-05-16Allow interfaces to compile under MingGW/Win32 by adding _P to symbolsBruce Momjian
in ecpg.
2003-05-16Revert kerberos code breakage.Tom Lane
2003-05-16Remove use of geteuid under Win32.Bruce Momjian
2003-05-16Reorganize Win32 includes to only include <port.h> after system includesBruce Momjian
under Win32. Also fix other compile issues.
2003-05-15Revert change of inclusion order for pg_config_os.h; this broke plperlTom Lane
on Linux and would have who knows what unpleasant effects on other platforms. If you need another include file for Windows, then add it; don't go messing with the semantics of every other port's include files.
2003-05-15Add missing #include.Tom Lane
2003-05-15Add copydir() function because xcopy doesn't work in XP without aBruce Momjian
window.
2003-05-15Add missing win32 file --- seems best way to find these is to justBruce Momjian
commmit then do a cvs update again.
2003-05-15Allow Win32 to compile under MinGW. Major changes are:Bruce Momjian
Win32 port is now called 'win32' rather than 'win' add -lwsock32 on Win32 make gethostname() be only used when kerberos4 is enabled use /port/getopt.c new /port/opendir.c routines disable GUC unix_socket_group on Win32 convert some keywords.c symbols to KEYWORD_P to prevent conflict create new FCNTL_NONBLOCK macro to turn off socket blocking create new /include/port.h file that has /port prototypes, move out of c.h new /include/port/win32_include dir to hold missing include files work around ERROR being defined in Win32 includes
2003-05-15Indexing support for pattern matching operations via separate operatorPeter Eisentraut
class when lc_collate is not C.
2003-05-14Fix oversight: ignore-till-SYNC state should not ignore EOF ...Tom Lane
2003-05-14Add text(cidr) cast, per recent discussion. I'm not bothering toTom Lane
force an initdb for this.
2003-05-14 - Added more compatibility functions.Michael Meskes
- Accept CPP defines for type definitions. - Do not parse system include files automatically for Informix mode
2003-05-14Backend support for autocommit removed, per recent discussions. TheTom Lane
only remnant of this failed experiment is that the server will take SET AUTOCOMMIT TO ON. Still TODO: provide some client-side autocommit logic in libpq.
2003-05-13In RowDescription messages, report columns of domain datatypes as havingTom Lane
the type OID and typmod of the underlying base type. Per discussions a few weeks ago with Andreas Pflug and others. Note that this behavioral change affects both old- and new-protocol clients.
2003-05-13More binary I/O routines.Tom Lane
2003-05-13Fixed order of include file search path.Michael Meskes
2003-05-13Change pg_amop's index on (amopclaid,amopopr) to index (amopopr,amopclaid).Tom Lane
This makes no difference for existing uses, but allows SelectSortFunction() and pred_test_simple_clause() to use indexscans instead of seqscans to locate entries for a particular operator in pg_amop. Better yet, they can use the SearchSysCacheList() API to cache the search results.
2003-05-12Add binary I/O routines for a bunch more datatypes. Still a few to go,Tom Lane
but that was enough tedium for one day. Along the way, move the few support routines for types xid and cid into a more logical place.
2003-05-12Avoid unnecessary copying of parameter values in BIND. This allowsTom Lane
efficient insertion of large bytea values through the BIND interface.
2003-05-12Apply fixes for problems with dropped columns whose types have also beenTom Lane
dropped. The simplest fix for INSERT/UPDATE cases turns out to be for preptlist.c to insert NULLs of a known-good type (I used INT4) rather than making them match the deleted column's type. Since the representation of NULL is actually datatype-independent, this should work fine. I also re-reverted the patch to disable the use_physical_tlist optimization in the presence of dropped columns. It still doesn't look worth the trouble to be smarter, if there are no other bugs to fix. Added a regression test to catch future problems in this area.
2003-05-11Finish removing HPUXMATHLIB.Tom Lane
2003-05-11Revert previous change --- turns out the underlying problem affectsTom Lane
more cases than I thought, so ExecTypeFromTL() will have to be fixed anyway.
2003-05-11Disable the recently-added use_physical_tlist optimization in casesTom Lane
where the table contains dropped columns. If the columns are dropped, then their types may be gone as well, which causes ExecTypeFromTL() to fail if the dropped columns appear in a plan node's tlist. This could be worked around but I don't think the optimization is valuable enough to be worth the trouble.
2003-05-10Make use of new error context stack mechanism to allow random errorsTom Lane
detected during buffer dump to be labeled with the buffer location. For example, if a page LSN is clobbered, we now produce something like ERROR: XLogFlush: request 2C000000/8468EC8 is not satisfied --- flushed only to 0/8468EF0 CONTEXT: writing block 0 of relation 428946/566240 whereas before there was no convenient way to find out which page had been trashed.
2003-05-10In child-crashed log messages, identify a checkpoint process as suchTom Lane
instead of calling it a 'server process'.
2003-05-10Adjust CreateCheckpoint so that buffer dumping activities and cleanup ofTom Lane
dead xlog segments are not considered part of a critical section. It is not necessary to force a database-wide panic if we get a failure in these operations. Per recent trouble reports.
2003-05-10More crypt() cleanup.Bruce Momjian
2003-05-10Remove HPUX 9 rint() test.Bruce Momjian
Cleanup new crypt() source code.
2003-05-10Add Makefile rules for new crypt/rint() /port functions. Add includeBruce Momjian
for rint prototype.