PostgreSQL
Timeline
Not logged in

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

50 most recent check-ins

2014-05-17
10:55
Update README, we don't do post-recovery cleanup actions anymore. transam/README explained how B-tree incomplete splits were tracked and fixed after recovery, as an example of handling complex action... Leaf check-in: d250ce3c3c user: heikki.linnakangas@iki.fi tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
2014-05-16
20:51
Make sure chr(int) can't create invalid UTF8 sequences. Several years ago we changed chr(int) so that if the database encoding is UTF8, it would interpret its argument as a Unicode code point and exp... check-in: ee787097fc user: tgl@sss.pgh.pa.us tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
19:29
Suppress some more valgrind whining about btree_gist. A couple of functions didn't bother to zero out pad bytes in datums that would ultimately go to disk. Harmless, but valgrind doesn't know that. check-in: e846fca3d6 user: tgl@sss.pgh.pa.us tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
19:18
Fix a second cause of undersized pallocs for btree_gist indexes on macaddr. gbt_macad_union also allocated 12-byte structs where we really need 16. Per report from Andres Freund. No back-patch sinc... check-in: 9fae83a1b0 user: tgl@sss.pgh.pa.us tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
19:11
Fix valgrind warning for btree_gist indexes on macaddr. The macaddr opclass stores two macaddr structs (each of size 6) in an index column that's declared as being of type gbtreekey16, ie 16 bytes. I... check-in: d05b3130ac user: tgl@sss.pgh.pa.us tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
08:34
Add test case for logical decoding of prepared transactions. Andres Freund check-in: 96f4eeef2c user: heikki.linnakangas@iki.fi tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
08:34
Fix test_decoding test case's check that slot has been dropped. pg_stat_replication shows connected replication clients. The ddl test case never has any replication clients connected, so querying pg_... check-in: 21141da95f user: heikki.linnakangas@iki.fi tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
07:53
Fix thinko in logical decoding of commit-prepared records. The decoding of prepared transaction commits accidentally used the XID of the transaction performing the COMMIT PREPARED, not the XID of the... check-in: ee35441ec9 user: heikki.linnakangas@iki.fi tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
07:10
Open output file before sleeping in pg_recvlogical. Let's complain about e.g an invalid path or permission problem sooner rather than later. Before this patch, we would only try to open the output fi... check-in: e30f799cd9 user: heikki.linnakangas@iki.fi tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
07:10
Initialize tsId and dbId fields in WAL record of COMMIT PREPARED. Commit dd428c79 added dbId and tsId to the xl_xact_commit struct but missed that prepared transaction commits reuse that struct. Fix ... check-in: 358e2eb36a user: heikki.linnakangas@iki.fi tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
2014-05-15
19:57
Fix unportable setvbuf() usage in initdb. In yesterday's commit 2dc4f011fd61501cce507be78c39a2677690d44b, I tried to force buffering of stdout/stderr in initdb to be what it is by default when the pr... check-in: a70c765987 user: tgl@sss.pgh.pa.us tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
17:23
Fix whitespace check-in: de7408eae9 user: peter_e@gmx.net tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
16:47
Fix a couple of bugs in pg_recvlogical output to stdout. Don't close stdout on SIGHUP. Also, when a SIGHUP is received, close the file immediately, rather than only after receiving some more data fro... check-in: ff5cb39ea2 user: heikki.linnakangas@iki.fi tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
15:29
Handle duplicate XIDs in txid_snapshot. The proc array can contain duplicate XIDs, when a transaction is just being prepared for two-phase commit. To cope, remove any duplicates in txid_current_snaps... check-in: 92e43657bc user: heikki.linnakangas@iki.fi tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
13:37
Fix race condition in preparing a transaction for two-phase commit. To lock a prepared transaction's shared memory entry, we used to mark it with the XID of the backend. When the XID was no longer ac... check-in: 71b0dd1272 user: heikki.linnakangas@iki.fi tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
11:49
Misc message style and doc fixes. Euler Taveira check-in: 4fbde7ff14 user: heikki.linnakangas@iki.fi tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
09:18
Silence warnings about redefining popen on Mingw-w64. Mingw-w64 headers map popen/pclose to _popen and _pclose, but we want to use our popen wrapper rather than the Mingw-w64. #undef the Mingw's vers... check-in: da7221c979 user: heikki.linnakangas@iki.fi tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
02:26
doc: Clarify what files pg_basebackup omits from data directory check-in: b86a7120af user: peter_e@gmx.net tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
02:19
pg_ctl: Write error messages to stderr check-in: 8c98e2209d user: peter_e@gmx.net tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
01:14
In initdb, ensure stdout/stderr buffering behavior is what we expect. Since this program may print to either stdout or stderr, the relative ordering of its messages depends on the buffering behavior ... check-in: 16473c4fc8 user: tgl@sss.pgh.pa.us tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
01:13
pg_update: slight major version adjustment check-in: d581a7c55b user: bruce@momjian.us tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
00:23
Fix version check for pg_upgrade line type crosscheck. Per buildfarm. check-in: 012429d6b4 user: tgl@sss.pgh.pa.us tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
2014-05-14
20:26
pg_upgrade: error out on 'line' data type usage The data type internal format changed in 9.4. Also mention this in the 9.4 release notes. check-in: 517768f488 user: bruce@momjian.us tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
18:56
Code review for recent changes in relcache.c. rd_replidindex should be managed the same as rd_oidindex, and rd_keyattr and rd_idattr should be managed like rd_indexattr. Omissions in this area meant... check-in: c53fc7443a user: tgl@sss.pgh.pa.us tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
18:13
doc: fix 9.4 release notes typo Report by Dean Rasheed check-in: f169613b8b user: bruce@momjian.us tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
16:21
doc: fix typo in 9.4 release note comments Patch by Sergey Muraviov check-in: 7b208ceafd user: bruce@momjian.us tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
15:51
Make initdb throw error for bad locale values. Historically we've printed a complaint for a bad locale setting, but then fallen back to the environment default. Per discussion, this is not such a gr... check-in: 4f4a55a69e user: tgl@sss.pgh.pa.us tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
15:02
docs: mention windows quoting change in 9.4 release notes Report by Heikki Linnakangas check-in: 7b0c70516e user: bruce@momjian.us tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
14:07
doc: auto-updatable view adjustments for 9.4 release notes Report by Dean Rasheed check-in: a4996f0e9f user: bruce@momjian.us tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
2014-05-13
19:13
docs: 9.4 release notes adjustments Patch by Andres Freund, slight adjustments by me check-in: d6235d172a user: bruce@momjian.us tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
16:18
Fix harmless access to uninitialized memory. When cache invalidations arrive while ri_LoadConstraintInfo() is busy filling a new cache entry, InvalidateConstraintCacheCallBack() compares the - not ye... check-in: 87dd810533 user: heikki.linnakangas@iki.fi tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
12:15
Initialize padding bytes in btree_gist varbit support. The code expands a varbit gist leaf key to a node key by copying the bit data twice in a varlen datum, as both the lower and upper key. The lowe... check-in: 54ccb235b2 user: heikki.linnakangas@iki.fi tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
03:03
Add Valgrind suppression for reorderbuffer padding bytes. Andres Freund check-in: c052e531a3 user: noah@leadboat.com tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
01:37
docs: use structfield instead of structname in 9.4 release notes Where appropriate check-in: 606434798b user: bruce@momjian.us tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
01:31
doc: 9.4 release note adjustments Report by Nicolas Barbier, Tatsuo Ishii, MauMau check-in: d237776a3b user: bruce@momjian.us tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
00:21
Be more wary in choice of timezone names to test make_timestamptz with. America/Metlakatla hasn't been in the IANA database all that long, so some installations might not have it. It does seem worth... check-in: 52a1e270e9 user: tgl@sss.pgh.pa.us tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
2014-05-12
18:24
Ignore config.pl and buildenv.pl in src/tools/msvc. config.pl and buildenv.pl can be used to customize build settings when using MSVC. They should never get committed into the common source tree. B... check-in: 15d0179b42 user: tgl@sss.pgh.pa.us tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
16:41
Fix typo in test_shm_mq document. Amit Langote check-in: 4e4c9b0c45 user: fujii@postgresql.org tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
08:01
Free PQresult on error in pg_receivexlog. The leak is fairly small and rare, but a leak nevertheless. Per Coverity report. Backpatch to 9.2, where pg_receivexlog was added. pg_basebackup shares the ... check-in: 7dd26227eb user: heikki.linnakangas@iki.fi tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
2014-05-11
21:16
Stamp 9.4beta1. check-in: b0f511d920 user: tgl@sss.pgh.pa.us tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
19:13
Find postgresql.auto.conf in PGDATA even when postgresql.conf is elsewhere. The original coding for ALTER SYSTEM made a fundamentally bogus assumption that postgresql.auto.conf could be sought relati... check-in: 3f30adf65a user: tgl@sss.pgh.pa.us tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
16:06
Rename jsonb_hash_ops to jsonb_path_ops. There's no longer much pressure to switch the default GIN opclass for jsonb, but there was still some unhappiness with the name "jsonb_hash_ops", since hashin... check-in: b614feb959 user: tgl@sss.pgh.pa.us tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
02:16
Translation updates check-in: 0d52601672 user: peter_e@gmx.net tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
02:03
docs: Mark 9.4 release notes as current as of today check-in: 098b67f6af user: bruce@momjian.us tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
2014-05-10
23:46
Rename min_recovery_apply_delay to recovery_min_apply_delay. Per discussion, this seems like a more consistent choice of name. Fabrízio de Royes Mello, after a suggestion by Peter Eisentraut; some ... check-in: e48672c164 user: tgl@sss.pgh.pa.us tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
22:57
More work on the JSON/JSONB user documentation. Document existence operator adequately; fix obsolete claim that no Unicode-escape semantic checks happen on input (it's still true for json, but not fo... check-in: 9e047ce3ef user: tgl@sss.pgh.pa.us tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
20:28
Fix bug in lossy-page handling in GIN When returning rows from a bitmap, as done with partial match queries, we would get stuck in an infinite loop if the bitmap contained a lossy page reference. Th... check-in: c9739be4cc user: heikki.linnakangas@iki.fi tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
14:48
Accept tcl 8.6 in configure's probe for tclsh. Usually the search would find plain "tclsh" without any trouble, but some installations might only have the version-numbered flavor of that program. No... check-in: f7fb5cf70a user: tgl@sss.pgh.pa.us tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
14:33
Update config.guess and config.sub check-in: f880140b24 user: tgl@sss.pgh.pa.us tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH
00:25
Fix bogus documentation of json_object_agg(). It takes two arguments, not one. check-in: e0691bcbdd user: tgl@sss.pgh.pa.us tags: trunk, WIN32_DEV, REL9_0_ALPHA4_BRANCH