summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-03-06Update:Bruce Momjian
< * %Disallow changing sequence characteristics like INCREMENT for SERIAL columns > * %Disallow ALTER SEQUENCE changes for SERIAL sequences because pg_dump > does not dump the changes
2006-03-06Add:Bruce Momjian
> * %Disallow changing sequence characteristics like INCREMENT for SERIAL columns
2006-03-06Prevent autovacuum from zeroing damaged pages.Bruce Momjian
2006-03-06in the docs, the function "ascii(text)" is described asBruce Momjian
returning "ASCII code of the first character of the argument" (see http://www.postgresql.org/docs/8.1/interactive/functions-string.html, Table 9-6. "Other String Functions"). Presumably this should read "ASCII code of the first byte of the argument", which is what is returned when the argument is a multi-byte character (although then with UTF-8 at least that might not necessarily be an ASCII code). Ian Barwick
2006-03-06In psql, save history of backslash commands used in multi-lineBruce Momjian
statements before the multi-line statement, rather than inside the multi-line statement.
2006-03-05Per recent discussion on -hackers, we should sometimes reorder theNeil Conway
columns of the grouping clause to avoid redundant sorts. The optimizer is not currently capable of doing this, so this patch implements a simple hack in the analysis phase (transformGroupClause): if any subset of the GROUP BY clause matches a prefix of the ORDER BY list, that prefix is moved to the front of the GROUP BY clause. This shouldn't change the semantics of the query, and allows a redundant sort to be avoided for queries like "GROUP BY a, b ORDER BY b".
2006-03-05Add:Bruce Momjian
> o Port contrib/xml2
2006-03-05Prepared queries for PLPerl, plus fixing a small plperl memory leak. PatchAndrew Dunstan
and docs from Dmitry Karasik, slightly editorialised.
2006-03-05Update copyright for 2006. Update scripts.Bruce Momjian
2006-03-05Update to 2006.Bruce Momjian
2006-03-05Done:Bruce Momjian
> o -Add "include file" functionality in postgresql.conf
2006-03-05Check for "msys" so it doesn't use 'con' by checking for an evironmentBruce Momjian
variable.
2006-03-05Improve STRINGS_H macro test for MSVC extensions.Bruce Momjian
Add DLLIMPORT for V1 headers, in case Win32 don't export all symbols.
2006-03-05Improve OS X shared-memory documentation: fix typos and provide a usableTom Lane
example of /etc/sysctl.conf contents.
2006-03-04Support include directives in postgresql.conf.Tom Lane
Patch by Joachim Wieland, somewhat reworked for clarity and portability.
2006-03-04Declare the arguments of AllocateFile() as const char *, not char *.Tom Lane
This is consistent with the standard definition of fopen().
2006-03-04Incorporate a couple of recent tuplesort.c improvements into tuplestore.c.Tom Lane
In particular, ensure that enlargement of the memtuples[] array doesn't fall foul of MaxAllocSize when work_mem is very large, and don't bother enlarging it if that would force an immediate switch into 'tape' mode anyway.
2006-03-04Prevent lazy_space_alloc from making requests that exceed MaxAllocSize,Tom Lane
per report from Stefan Kaltenbrunner.
2006-03-04Prevent sorting from requesting a SortTuple array that exceeds MaxAllocSize;Tom Lane
we'll go over to disk-based sort if we reach that limit. This fixes Stefan Kaltenbrunner's observation that sorting can suffer an 'invalid memory alloc request size' failure when sort_mem is set large enough. It's unfortunately not so easy to fix in 8.1 ...
2006-03-04Tighten up SJIS byte sequence check. Now we reject invalid SJIS byteTatsuo Ishii
sequence such as "0x95 0x27". Patches from Akio Ishida. Also update copyright notice.
2006-03-04Add:Bruce Momjian
> * Allow FSM page return free space based on table clustering, to assist > in maintaining clustering?
2006-03-04> gettimeofday.c:35: warning: integer constant is too large for "long"Bruce Momjian
> type Wouldn't it be better to use the UINT64CONST macro? I realize this file is Windows-only, but we do worry about more than one compiler on that platform. Kris Jurka
2006-03-04> It doesn't say that only the listed commands acquire ACCESS EXCLUSIVE,Bruce Momjian
> just that certain commands do. TRUNCATE isn't shown. Patch against HEAD to add TRUNCATE to the list of commands that aquire ACCESS EXCLUSIVE. Jim C. Nasby, Sr.
2006-03-04Use DEVTTY as 'con' on Win32 as a replacement for /dev/tty.Bruce Momjian
2006-03-04That was a typo in my comment before the code (the nutshellBruce Momjian
descriptions after the code are correct). Only shmmax needs to be multiples of the page size (at least, that's how I interpret the Darwin code). Chris Campbell
2006-03-03This patch fixes this warning.Bruce Momjian
gettimeofday.c:35: warning: integer constant is too large for "long" type Kris Jurka
2006-03-03Avoid trying to open /dev/tty on Win32. Some Win32 systems haveBruce Momjian
/dev/tty, but it isn't a device file and doesn't work as expected. This fixes a known bug where psql does not prompt for a password on some Win32 systems. Backpatch to 8.1.X. Robert Kinberg
2006-03-03Improve pg_dump and psql to use libpq's newer COPY support routines,Tom Lane
instead of the old deprecated ones. Volkan Yazici, with some editorializing by moi.
2006-03-03Fixes for Win32-client only compiles.Bruce Momjian
Hiroshi Saito
2006-03-03Rename Online Backup to Continuous Archiving.Bruce Momjian
2006-03-03Update ipcclean to use try 'id' first for root check.Bruce Momjian
2006-03-03Add workaround so MSVC doesn't try to load strings.h, which it doesn'tBruce Momjian
have. This happens when MSVC uses pg_config.h generated by MinGW. Per report from Charles F. I. Savage
2006-03-03Teach PQcmdTuples() that a COPY command tag might contain a row count,Tom Lane
and tighten up its sanity checking of the tag as a safety measure. Volkan Yazici.
2006-03-03Clarify macro layout for win32 IMPORT.Bruce Momjian
2006-03-03Done:Bruce Momjian
> * -Allow TRUNCATE ... CASCADE/RESTRICT
2006-03-03Done:Bruce Momjian
< o %Have COPY return the number of rows loaded/unloaded? > o -Have COPY return the number of rows loaded/unloaded?
2006-03-03Make the COPY command return a command tag that includes the number ofTom Lane
rows copied. Backend side of Volkan Yazici's recent patch, with corrections and documentation.
2006-03-03Dept. of second thoughts: rejigger the TRUNCATE ... CASCADE patch so thatTom Lane
relations are still checked for permissions etc as soon as they are opened. The original form of the patch could hold exclusive lock for a long time on relations that the user doesn't even have permissions to access, let alone truncate.
2006-03-03In ipcclean, check LOGNAME only if USER is not set.Bruce Momjian
Fixes problem with 'su' on some platforms.
2006-03-03Fix a typo.Neil Conway
2006-03-03Add CASCADE option to TRUNCATE. Joachim WielandTom Lane
2006-03-03Add:Bruce Momjian
> * Allow FSM to return free space toward the beginning of the heap file, > in hopes that empty pages at the end can be truncated by VACUUM
2006-03-03Appended is a small documentation patch that adds a note to the CREATEBruce Momjian
ROLE page, based on what Tom Lane told me here: http://archives.postgresql.org/pgsql-general/2005-11/msg00998.php Joachim Wieland
2006-03-03Add:Bruce Momjian
> * Add missing parameter handling in to_char() > > http://archives.postgresql.org/pgsql-hackers/2005-12/msg00948.php >
2006-03-03Add:Bruce Momjian
> * Allow to_date() and to_timestamp() accept localized month names
2006-03-03Add comment about localized month names for to_date and to_timestamp.Bruce Momjian
2006-03-03Arrange to call AbsorbFsyncRequests every so often while performing aTom Lane
checkpoint in the bgwriter. This forestalls overflow of the fsync request queue, which is not fatal but causes considerable performance degradation when it occurs (because backends then have to do their own fsyncs). Per patch from Itagaki Takahiro, modified a little bit by me.
2006-03-02Remove unnecessary lo_lseek call in lo_open. Apparently there was onceTom Lane
a need for it back in the neolithic era, but it's certainly dead code in any PG release we would recognize as such. Since it forces an additional network round trip to the backend, getting rid of it should provide some small performance improvement for large-object-using clients.
2006-03-02Fix ancient error in large objects usage example: overwrite() subroutineTom Lane
was opening with INV_READ flag and then writing. Prior to 8.1 the backend did not reject this, but now it does.
2006-03-02Repair oidvectorrecv and int2vectorrecv, which I broke while changingTom Lane
them to use array_recv :-(. Per report from Tim Kordas.