• R/O
  • HTTP
  • SSH
  • HTTPS

syncrep: List of commits

PostgreSQL9.0用の同期レプリケーションパッチ


RSS
Rev. Time Author
1e7b52d REL9_0_STABLE 2011-07-05 16:46:23 Magnus Hagander

Fix typo in sslmode documentation

Per bug #6089, noted by Sidney Cadot

cd34647 master 2011-07-05 16:45:19 Magnus Hagander

Fix typo in sslmode documentation

Per bug #6089, noted by Sidney Cadot

27af661 2011-07-05 06:01:35 Peter Eisentraut

Message style tweaks

d479a0f 2011-07-05 06:00:14 Peter Eisentraut

Small documentation tweaks

6fbc803 2011-07-05 05:09:42 Peter Eisentraut

Set user_defined_types.data_type to null

On re-reading the standard, this field is only used for distinct or
reference types.

6bb8659 2011-07-05 04:42:33 Heikki Linnakangas

Clarify that you need ActiveState perl 5.8 *or later* to build on Windows.

e24662c 2011-07-05 04:42:17 Heikki Linnakangas

Clarify that you need ActiveState perl 5.8 *or later* to build on Windows.

b93f5a5 2011-07-05 03:35:58 Alvaro Herrera

Move Trigger and TriggerDesc structs out of rel.h into a new reltrigger.h

This lets us stop including rel.h into execnodes.h, which is a widely
used header.

d665162 2011-07-05 03:33:44 Alvaro Herrera

Don't try to use a constraint name as domain name

The bug that caused this to be discovered is that the code was trying to
dereference a NULL or ill-defined pointer, as reported by Michael Mueller;
but what it was doing was wrong anyway, per Heikki.

This patch is Heikki's suggested fix.

9f08452 2011-07-05 00:03:17 Peter Eisentraut

Remove unused variable to silence compiler warning

e54ae78 2011-07-04 23:35:52 Tom Lane

Remove missed reference to SilentMode.

1e8b78e 2011-07-04 23:12:27 Andrew Dunstan

Back-patch Fix bat file quoting of %ENV from commit 19b7fac8.

f7ea6be 2011-07-04 20:35:44 Heikki Linnakangas

Remove silent_mode. You get the same functionality with "pg_ctl -l
postmaster.log", or nohup.

There was a small issue with LINUX_OOM_ADJ and silent_mode, namely that with
silent_mode the postmaster process incorrectly used the OOM settings meant
for backend processes. We certainly could've fixed that directly, but since
silent_mode was redundant anyway, we might as well just remove it.

f563afd 2011-07-04 19:09:51 Simon Riggs

Alter test results to comply with new ALTER TABLE behaviour.

2c3d9db 2011-07-04 17:31:40 Simon Riggs

Reset ALTER TABLE lock levels to AccessExclusiveLock in all cases.
Locks on inheritance parent remain at lower level, as they were before.
Remove entry from 9.1 release notes.

c7e84d5 2011-07-04 11:12:25 Tom Lane

Fix omissions in documentation of the pg_roles view.

Somehow, column rolconfig got removed from the documentation of the
pg_roles view in the 9.0 cycle, although the column is actually still
there. In 9.1, we'd also forgotten to document the rolreplication column.
Spotted by Sakamoto Masahiko.

4fa046a 2011-07-04 11:12:14 Tom Lane

Fix omissions in documentation of the pg_roles view.

Somehow, column rolconfig got removed from the documentation of the
pg_roles view in the 9.0 cycle, although the column is actually still
there. In 9.1, we'd also forgotten to document the rolreplication column.
Spotted by Sakamoto Masahiko.

99e47ed 2011-07-04 08:03:51 Tom Lane

Put comments on the installable procedural languages.

Per suggestion from Josh Kupershmidt.

5da7916 2011-07-04 06:34:47 Robert Haas

Fix bugs in relpersistence handling during table creation.

Unlike the relistemp field which it replaced, relpersistence must be
set correctly quite early during the table creation process, as we
rely on it quite early on for a number of purposes, including security
checks. Normally, this is set based on whether the user enters CREATE
TABLE, CREATE UNLOGGED TABLE, or CREATE TEMPORARY TABLE, but a
relation may also be made implicitly temporary by creating it in
pg_temp. This patch fixes the handling of that case, and also
disables creation of unlogged tables in temporary tablespace (such
table indeed skip WAL-logging, but we reject an explicit
specification) and creation of relations in the temporary schemas of
other sessions (which is not very sensible, and didn't work right
anyway).

Report by Amit Khandekar.

acb9198 2011-07-04 02:55:12 Tom Lane

Make distprep and *clean build targets recurse into all subdirectories.

Certain subdirectories do not get built if corresponding options are not
selected at configure time. However, "make distprep" should visit such
directories anyway, so that constructing derived files to be included in
the tarball happens without requiring all configure options to be given
in the tarball build script. Likewise, it's better if cleanup actions
unconditionally visit all directories (for example, this ensures proper
cleanup if someone has done a manual make in such a subdirectory).

To handle this, set up a convention that subdirectories that are
conditionally included in SUBDIRS should be added to ALWAYS_SUBDIRS
instead when they are excluded.

Back-patch to 9.1, so that plpython's spiexceptions.h will get provided
in 9.1 tarballs. There don't appear to be any instances where distprep
actions got missed in previous releases, and anyway this fix requires
gmake 3.80 so we don't want to apply it before 9.1.

19b7fac 2011-07-03 23:36:56 Andrew Dunstan

Fix bat file quoting of %ENV.

24e2d4b 2011-07-03 20:15:58 Magnus Hagander

Mark pg_stat_reset_shared as strict

This is the proper fix for bug #6082 about
pg_stat_reset_shared(NULL) causing a crash, and it reverts
commit 79aa44536f3980d324f486504cde643ce23bf5c6 on head.

The workaround of throwing an error from inside the function is
left on backbranches (including 9.1) since this change requires
a new initdb.

789d3d4 2011-07-03 14:35:15 Tom Lane

Fix EXPLAIN to handle gating Result nodes within inner-indexscan subplans.

It is possible for a NestLoop plan node to pass an OUTER Var into an
"inner indexscan" that is an Append construct (derived from an inheritance
tree or UNION ALL subquery). The OUTER tuple is then passed down at
runtime to the leaf indexscan node(s) where it will actually be used.
EXPLAIN has to likewise pass the information about the nestloop's outer
subplan down through the Append node, else it will fail to print the
outer-reference Vars (with complaints like "bogus varno: 65001").

However, there was a case missed in all this: we could also have gating
Result nodes that were inserted into the appendrel plan tree to deal with
pseudoconstant qual conditions. So EXPLAIN has to pass down the outer plan
node to a Result's subplan, too. Per example from Jon Nelson.

The problem is gone in 9.1 because we replaced the nestloop outer-tuple
kluge with a Param-based data transfer mechanism. Also, so far as I can
tell, the case can't happen before 8.4 because of restrictions on what
sorts of appendrel members could be pulled up into the parent query.
So this patch is only needed for 8.4 and 9.0.

4624228 2011-07-02 12:09:14 Bruce Momjian

In pg_upgrade 9.0 and 9.1, document suggestion of using a non-default
port number to avoid unintended client connections.

426cafc 2011-07-02 09:57:34 Tom Lane

Suppress compiler warning about potentially uninitialized variable.

Maybe some compilers are smart enough to not complain about the previous
coding ... but mine isn't.

cc81d99 2011-07-02 07:36:00 Bruce Momjian

In the pg_upgrade docs, move 50432 port mention to the place where we
talk about client access.

a88f449 2011-07-02 07:17:12 Bruce Momjian

Change pg_upgrade to use port 50432 by default to avoid unintended
client connections during the upgrade. Also rename data/bin/port
environment variables to being with 'PG'. Also no longer honor PGPORT.

8977952 2011-07-01 00:24:31 Alvaro Herrera

Enable CHECK constraints to be declared NOT VALID

This means that they can initially be added to a large existing table
without checking its initial contents, but new tuples must comply to
them; a separate pass invoked by ALTER TABLE / VALIDATE can verify
existing data and ensure it complies with the constraint, at which point
it is marked validated and becomes a normal part of the table ecosystem.

An non-validated CHECK constraint is ignored in the planner for
constraint_exclusion purposes; when validated, cached plans are
recomputed so that partitioning starts working right away.

This patch also enables domains to have unvalidated CHECK constraints
attached to them as well by way of ALTER DOMAIN / ADD CONSTRAINT / NOT
VALID, which can later be validated with ALTER DOMAIN / VALIDATE
CONSTRAINT.

Thanks to Thom Brown, Dean Rasheed and Jaime Casanova for the various
reviews, and Robert Hass for documentation wording improvement
suggestions.

This patch was sponsored by Enova Financial.

b36927f 2011-06-30 08:49:47 Alvaro Herrera

Fix outdated comment

Extracted from a patch by Bernd Helmle

bbfcc71 2011-06-30 08:47:07 Tom Lane

Restore correct btree preprocessing of "indexedcol IS NULL" conditions.

Such a condition is unsatisfiable in combination with any other type of
btree-indexable condition (since we assume btree operators are always
strict). 8.3 and 8.4 had an explicit test for this, which I removed in
commit 29c4ad98293e3c5cb3fcdd413a3f4904efff8762, mistakenly thinking that
the case would be subsumed by the more general handling of IS (NOT) NULL
added in that patch. Put it back, and improve the comments about it, and
add a regression test case.

Per bug #6079 from Renat Nasyrov, and analysis by Dean Rasheed.

Show on old repository browser