- 19 Sep, 2007 1 commit
-
-
Bruce Momjian authored
-
- 18 Sep, 2007 3 commits
-
-
Andrew Dunstan authored
database via builtin functions, as recently discussed on -hackers. chr() now returns a character in the database encoding. For UTF8 encoded databases the argument is treated as a Unicode code point. For other multi-byte encodings the argument must designate a strict ascii character, or an error is raised, as is also the case if the argument is 0. ascii() is adjusted so that it remains the inverse of chr(). The two argument form of convert() is gone, and the three argument form now takes a bytea first argument and returns a bytea. To cover this loss three new functions are introduced: . convert_from(bytea, name) returns text - converts the first argument from the named encoding to the database encoding . convert_to(text, name) returns bytea - converts the first argument from the database encoding to the named encoding . length(bytea, name) returns int - gives the length of the first argument in characters in the named encoding
-
Teodor Sigaev authored
per notice by Gregory Stark <stark@enterprisedb.com>
-
Bruce Momjian authored
-
- 17 Sep, 2007 1 commit
-
-
Bruce Momjian authored
-
- 16 Sep, 2007 4 commits
-
-
Tom Lane authored
we'd dump core anyway immediately afterward if it were null; and it seems to confuse some versions of icc into generating bad code. Per report from Sergey Koposov. Patched in HEAD only, for the moment, since this is only likely to affect developers.
-
Tom Lane authored
Seems to have been introduced in 8.1 by careless SECS_PER_DAY search-and-replace.
-
Tom Lane authored
-
Tom Lane authored
no-longer-needed pages at the end of a table. We thought we could throw away pages containing HEAPTUPLE_DEAD tuples; but this is not so, because such tuples very likely have index entries pointing at them, and we wouldn't have removed the index entries. The problem only emerges in a somewhat unlikely race condition: the dead tuples have to have been inserted by a transaction that later aborted, and this has to have happened between VACUUM's initial scan of the page and then rechecking it for empty in count_nondeletable_pages. But that timespan will include an index-cleaning pass, so it's not all that hard to hit. This seems to explain a couple of previously unsolved bug reports.
-
- 15 Sep, 2007 1 commit
-
-
Bruce Momjian authored
Jun Kuwamura
-
- 14 Sep, 2007 22 commits
-
-
Bruce Momjian authored
> > o Prevent long-lived temporary tables from causing frozen-xid > advancement starvation > > http://archives.postgresql.org/pgsql-general/2007-06/msg01645.php
-
Bruce Momjian authored
> > * Make it possible to use RETURNING together with conditional DO INSTEAD > rules, such as for partitioning setups > > http://archives.postgresql.org/pgsql-hackers/2007-09/msg00577.php
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
-
Bruce Momjian authored
Heikki Linnakangas
-
Tom Lane authored
-
Bruce Momjian authored
Kris Jurka
-
Bruce Momjian authored
Andrew Maclean
-
Tom Lane authored
-
Bruce Momjian authored
Brendan Jurd Fix markup in previous commit.
-
Bruce Momjian authored
Albe Laurenz
-
Bruce Momjian authored
don't need to recommend nightly analyzes anymore unless autovacuum is off.
-
Bruce Momjian authored
Backpatch to 8.2.X.
-
Bruce Momjian authored
Oleg.
-
Bruce Momjian authored
* adds a few missing words to some commands (like adding GIN as a valid index type or OWNED BY for ALTER SEQUENCE,...) * support for ALTER TABLE foo ENABLE/DISABLE REPLICA TRIGGER/RULE * autocomplete CREATE DATABASE foo TEMPLATE (mostly done to prevent conflicts with the TEMPLATE keyword for text search) * support for ALTER/CREATE/DROP TEXT SEARCH as well as COMMENT ON TEXT SEARCH and the corresponding psql backslash commands. This proved a little more difficult than expected due to the fact that words_after_create[] is used for two purposes - one is to provide a list of words that follow immediatly after CREATE (or DROP) and the other purpose is to use it for autocompleting anywhere in the statement if the word in that struct is found with a query. Since TEXT SEARCH CONFIGURATION|DICTIONARY|TEMPLATE|PARSER results in 3 words instead of one (as all the other words in that list are) I added a flag to the struct to tell create_command_generator() to skip that entry for autocompleting immediatly after CREATE which feels like a dirty hack (but that holds true for a lot of code in tab-complete.c). Stefan Kaltenbrunner
-
Bruce Momjian authored
of PostgreSQL 8.2) and provides a link to compiling and linking section. Euler Taveira de Oliveira
-
Bruce Momjian authored
Backpatch to 8.2.X.
-
Bruce Momjian authored
the problems non-root reading /etc/shadow.
-
Tom Lane authored
contrib/intarray's GIN opclass override the built-in default. Per bug #3048 and other complaints.
-
Bruce Momjian authored
Fujii Masao
-
Bruce Momjian authored
-
- 13 Sep, 2007 3 commits
-
-
Bruce Momjian authored
administrator-scheduled vacuums.
-
Teodor Sigaev authored
patch from ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>
-
Bruce Momjian authored
Jun Kuwamura
-
- 12 Sep, 2007 5 commits
-
-
Alvaro Herrera authored
who reported it privately to me.
-
Tom Lane authored
than two independent bits (one of which was never used in heap pages anyway, or at least hadn't been in a very long time). This gives us flexibility to add the HOT notions of redirected and dead item pointers without requiring anything so klugy as magic values of lp_off and lp_len. The state values are chosen so that for the states currently in use (pre-HOT) there is no change in the physical representation.
-
Andrew Dunstan authored
so that invalidly encoded data cannot enter the database by these means.
-
Bruce Momjian authored
-
Tom Lane authored
Jeremy Drake.
-