summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2004-11-30Fix a few typos in comments.Neil Conway
2004-11-30Add:Bruce Momjian
> * Improve NLS maintenace of libpgport messages linked onto applications >
2004-11-29Update plperl to use ereport() not elog() for user-facing messages,Tom Lane
so that they will be translatable. Give messages some semblance of conformance to the style guide.
2004-11-29Add:Bruce Momjian
< > * Allow cross-compiling by generating the zic database on the target system
2004-11-29Clean up initdb's error handling so that it prints something moreTom Lane
useful than just \'failed\' when there's a problem. Per gripe from Chris Albertson. In an unrelated change, use VACUUM FULL; VACUUM FREEZE; rather than a single VACUUM FULL FREEZE command, to respond to my worries of a couple days ago about the reliability of doing this in one go.
2004-11-29Update Turkish FAQ.Bruce Momjian
Devrim GUNDUZ
2004-11-29Add comment explaining possible compiler warning:Bruce Momjian
/* * Some compilers with throw a warning knowing this test can never be * true because off_t can't exceed the compared maximum. */ if (th->fileLen > MAX_TAR_MEMBER_FILELEN) die_horribly(AH, modulename, "archive member too large for tar format\n");
2004-11-29Add:Bruce Momjian
> * Auto-vacuum > o Move into the backend code > o Scan the buffer cache to find free space or use background writer > o Use free-space map information to guide refilling
2004-11-29Typo fixes.Bruce Momjian
Euler Taveira de Oliveira
2004-11-29Have initdb display relative paths to start postmaster if used to invokeBruce Momjian
initdb, and display in a path-native way.
2004-11-28Make pg_dumplo schema-aware. Karel ZakTom Lane
2004-11-28Avoid scribbling on original parsetree during DECLARE CURSOR. ThisTom Lane
prevents problems when the DECLARE is in a portal and is executed repeatedly, as is possible in v3 protocol. Per analysis by Oliver Jowett, though I didn't use his patch exactly.
2004-11-28Add description:Bruce Momjian
< information, either by name or offset from UTC > information, either zone name or offset from UTC > > If the TIMESTAMP value is stored with a time zone name, interval > computations should adjust based on the time zone rules, e.g. adding > 24 hours to a timestamp would yield a different result from adding one > day. >
2004-11-28Mega-clarifications from Joachim Wieland.Bruce Momjian
2004-11-27Work around lack of NLS support in libpgport by making those componentsPeter Eisentraut
who use it scan the relevant source files for their own catalog. It creates a bit of duplicate work for translators, but it gets the job done for now.
2004-11-27Correctly name the Windows operating systemsPeter Eisentraut
2004-11-27Update of conformance information to SQL:2003Peter Eisentraut
by Troels Arvin, Simon Riggs, Elein Mustain Make spelling of SQL standard names uniform.
2004-11-27Fix HAVE_OPTRESET to be HAVE_INT_OPTRESET. Typos spotted by Lorne Sunley.Tom Lane
2004-11-27Add web development faq item.Bruce Momjian
2004-11-27Add mention of Cygwin. Update version number.Bruce Momjian
2004-11-27Add to CPPFLAGS/CFLAGS in template files, don't over-ride them.Bruce Momjian
2004-11-27This adds mention of my latest tweak to the tsearch2/pg_trgmTom Lane
integration. It is much better to create a word list of unstemmed words than stemmed ones. Chris K-L
2004-11-26RelOptInfo.pages should really be declared as BlockNumber, not long.Tom Lane
2004-11-24Install Tcl regex fixes to sync our regex engine with Tcl 8.4.8 (up fromTom Lane
8.4.1). This corrects some curious regex bugs, though not the greediness issue I was hoping to find a solution for :-(
2004-11-24Our interface code for Spencer's regexp package was checking for regexpTom Lane
error conditions during regexp compile, but not during regexp execution; any sort of "can't happen" errors would be treated as no-match instead of being reported as they should be. Noticed while trying to duplicate a reported Tcl bug.
2004-11-24A client_encoding specification coming from the connection request hasTom Lane
to be processed by GUC before InitPostgres, because any required lookup of the encoding conversion function has to be done during InitializeClientEncoding. So, I broke this last week by moving GUC processing to after InitPostgres :-(. What we can do as a compromise is process non-SUSET variables during command line scanning (the same as before), and postpone the processing of only SUSET variables. None of the SUSET variables need to be set before InitPostgres.
2004-11-24Avoid getting bit by roundoff error while checking $Safe::VERSION.Tom Lane
Per report from Mark Kirkwood.
2004-11-24Trivial fix for a bug introduced in r1.94 of help.c: we want to onlyNeil Conway
include "\s" in \? output when readline is enabled, but that commit supressed "\s" whether readline was enabled or not.
2004-11-24Assert that BufferIsPinned() in IncrBufferRefCount(), rather than usingNeil Conway
a home-brewed combination of assertions that boiled down to the same thing.
2004-11-23Prevent pgcrypto from successfully compiling if no valid random sourceNeil Conway
has been defined. Previously, pgcrypto would compile but would be unusable.
2004-11-23New translationsPeter Eisentraut
2004-11-23Translation updatesPeter Eisentraut
2004-11-23Clean files generated by htmlhelp target.Peter Eisentraut
2004-11-23Add htmlhelp stylesheet and build target.Peter Eisentraut
2004-11-23Further plperl cleanup: be more paranoid about checking the type ofTom Lane
data returned from Perl. Consolidate multiple bits of code to convert a Perl hash to a tuple, and drive the conversion off the keys present in the hash rather than the tuple column names, so we detect error if the hash contains keys it shouldn't. (This means keys not in the hash will silently default to NULL, which seems ok to me.) Fix a bunch of reference-count leaks too.
2004-11-22The beginnings of a regression test for plperl. Right now it onlyTom Lane
covers return value processing, but that was the most broken stuff...
2004-11-22Try to instill some sanity in plperl's function result processing.Tom Lane
Get rid of static variables for SETOF result, don't crash when called from non-FROM context, eliminate dead code, etc.
2004-11-22Fix typo in release notes. Michael Fuhr.Neil Conway
2004-11-22update us to beta5REL8_0_0BETA5PostgreSQL Daemon
2004-11-22Update release notes for recent changes; also minor editorialization.Tom Lane
2004-11-21Fix rounding problem in dynahash.c's decision about when the targetTom Lane
fill factor has been exceeded. We usually run with ffactor == 1, but the way the test was coded, it wouldn't split a bucket until the actual fill factor reached 2.0, because of use of integer division. Change from > to >= so that it will split more aggressively when the table starts to get full.
2004-11-21Reduce the default size of the PortalHashTable in order to save aTom Lane
few cycles during transaction exit. A typical session probably wouldn't have as many as half a dozen portals open at once, so the original value of 64 seems far larger than needed.
2004-11-21While fixing plperl and pltcl, I realized plpgsql wasn't doingTom Lane
subtransactions quite right either: the ReleaseCurrentSubTransaction call should occur inside the PG_TRY, so that the proper path is taken if an error occurs during subtransaction commit. This assumes that AbortSubTransaction can cope with the state left behind if CommitSubTransaction fails partway through, but we were already requiring that.
2004-11-21Suppress remaining compile warnings, and add a comment about whyTom Lane
it's not really broken. Andrew Dunstan
2004-11-21Fix plperl and pltcl error handling per my previous proposal. SPITom Lane
operations are now run as subtransactions, so that errors in them can be reported as ordinary Perl or Tcl errors and caught by the normal error handling convention of those languages. Also do some minor code cleanup in pltcl.c: extract a large chunk of duplicated code in pltcl_SPI_execute and pltcl_SPI_execute_plan into a shared subroutine.
2004-11-20Fix typo.Bruce Momjian
2004-11-20Patch of 2004-03-30 corrected date_part(timestamp) for extractingTom Lane
the year from a BC date, but failed to make the same fix in date_part(timestamptz).
2004-11-20Fix typo, per Bruno Wolff.Tom Lane
2004-11-20Fix up makefile dependencies for pg_config_paths.h.Tom Lane
2004-11-20Avoid scanning the relcache during AtEOSubXact_RelationCache when thereTom Lane
is nothing to do, which is most of the time. This is another simple improvement to cut subtransaction entry/exit overhead.