Re: [COMMITTERS] pgsql: Tag 9.1rc1.

2011-08-19 Thread Peter Geoghegan
e? +1 I agree that the ambiguity is pretty confusing, and unnecessarily so. -- Peter Geoghegan       http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training and Services -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your su

Re: [COMMITTERS] pgsql: Properly call strerror() in thread test; add comments.

2011-08-22 Thread Peter Geoghegan
Why have you removed the GetLastError() call? MSDN says that "The return value is the calling thread's last-error code". -- Peter Geoghegan       http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training and Services -- Sent via pgsql-committers mailing list (p

Re: [COMMITTERS] pgsql: plpython: Add SPI cursor support

2012-01-09 Thread Peter Geoghegan
.co.uk/docs/gccintro/gccintro_36.html -- Peter Geoghegan       http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training and Services -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref

Re: [COMMITTERS] pgsql: Make bgwriter sleep longer when it has no work to do, to save el

2012-01-27 Thread Peter Geoghegan
in that structure? -- Peter Geoghegan       http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training and Services -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers

Re: [COMMITTERS] pgsql: Don't install hstore--1.0.sql any more.

2012-02-23 Thread Peter Geoghegan
houldn't this commit have removed the 1.0 file from git altogether? > It's quite useless if it's not going to get installed. It's worth noting that the recent commit "Make EXPLAIN (BUFFERS) track blocks dirtied, as well as those written" did not remove pg_

Re: [COMMITTERS] pgsql: More duplicate word removal.

2012-05-02 Thread Peter Geoghegan
On 2 May 2012 14:43, Thom Brown wrote: > "in" looks like an unnecessary duplicate, but maybe someone who speaks > Italian can confirm. Gabriele Bartolini, a prominent contributor to the .it translation and a colleague of mine, confirms privately that it's an error.

Re: [COMMITTERS] pgsql: Further corrections from the department of redundancy department

2012-05-03 Thread Peter Geoghegan
I think I figured out why these went unnoticed for so long: http://i.imgur.com/TnwtZ.png -- Peter Geoghegan       http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training and Services -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes

Re: [COMMITTERS] pgsql: Improve tests for postmaster death in auxiliary processes.

2012-05-10 Thread Peter Geoghegan
not sure why we're pushing the responsibility to call PostmasterIsAlive() onto latch clients. Why not just do it within WaitLatchOrSocket just as the WL_POSTMASTER_DEATH bit is set? It's not as if someone could conceivably care that the Postmaster might have died, but not enough to want to

Re: [COMMITTERS] pgsql: Make WaitLatch's WL_POSTMASTER_DEATH result trustworthy; simplif

2012-05-10 Thread Peter Geoghegan
On 10 May 2012 19:35, Tom Lane wrote: > Remove weasel wording about falsely-set result bits from > WaitLatch's API contract. Aren't those weasel words still applicable to the case where sock != PGINVALID_SOCKET ? -- Peter Geoghegan       http://www.2ndQuadrant.com/ PostgreSQL D

Re: [COMMITTERS] pgsql: Remove reviewers from 9.2 release notes; improve attributions.

2012-05-23 Thread Peter Geoghegan
cky-entry decay, and indeed the very idea of sticky entries. -- Peter Geoghegan       http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training and Services -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: h

Re: [COMMITTERS] pgsql: Mention Peter Geoghegan as primary author of pg_stat_statements

2012-05-23 Thread Peter Geoghegan
On 23 May 2012 15:12, Bruce Momjian wrote: > Mention Peter Geoghegan as primary author of pg_stat_statements changes. Thank you. -- Peter Geoghegan       http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training and Services -- Sent via pgsql-committers mailing list (pg

Re: [COMMITTERS] pgsql: Introduce timeout handling framework

2012-07-17 Thread Peter Geoghegan
commit is non-destructively reverted on the staging branch. I don't know that it's worth worrying about, nor if the turnaround on having a commit not break the buildfarm would be generally acceptable in this situation. It would be nice to keep commit history cleaner, though. -- Peter Geog

Re: [COMMITTERS] pgsql: Revert "commit_delay" change; just add comment that we don't hav

2012-08-14 Thread Peter Geoghegan
evisited), it will be reasonable to have the new GUC in units of milliseconds. After all, we've already been switching to milliseconds across various statistics views, including pg_stat_statements. -- Peter Geoghegan http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Traini

Re: [COMMITTERS] pgsql: Revert "commit_delay" change; just add comment that we don't hav

2012-08-15 Thread Peter Geoghegan
On 15 August 2012 05:15, Tom Lane wrote: > Peter Geoghegan writes: >> On 14 August 2012 21:26, Bruce Momjian wrote: >>> Revert "commit_delay" change; just add comment that we don't have >>> a microsecond specification. > >> I think

Re: [COMMITTERS] pgsql: Disable _FORTIFY_SOURCE with ICC

2012-10-02 Thread Peter Geoghegan
./../src/include/c.h:67, from qsort.c:46: /usr/include/features.h:314:4: warning: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Wcpp] ... [peter@peterlaptop port]$ gcc --version gcc (GCC) 4.7.2 20120921 (Red Hat 4.7.2-2) ... -- Peter Geoghegan ht

Re: [COMMITTERS] pgsql: Add pg_xlogdump contrib program

2013-02-22 Thread Peter Geoghegan
On 22 February 2013 19:58, Alvaro Herrera wrote: > Add pg_xlogdump contrib program I feel slightly silly reporting this, but you probably should have updated the copyright years to 2013 before committing. -- Regards, Peter Geoghegan -- Sent via pgsql-committers mailing list (pg

Re: [COMMITTERS] pgsql: Reorder 9.3 release note items

2013-04-21 Thread Peter Geoghegan
s easy to imagine that DBAs are specifying a high value of work_mem to compensate for the previous implementation's tendency to under provision. > * "Require superuser privileges to set commit_delay" > Meaning of commit_delay has changed and users should review their > settin

Re: [COMMITTERS] pgsql: pg_test_fsync: update output to show usecs/op clearer

2013-05-02 Thread Peter Geoghegan
ion, but that's about it. -- Peter Geoghegan -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers

Re: [COMMITTERS] pgsql: 9.3 release notes: move compatibility items into their own sect

2013-05-03 Thread Peter Geoghegan
warn against that. -- Peter Geoghegan -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers

Re: [COMMITTERS] pgsql: Add support for ICU 4.2

2017-08-06 Thread Peter Geoghegan
both the commit message and the code comment. There is no ucol_getKeywordsForLocale() function. -- Peter Geoghegan -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers

Re: [COMMITTERS] pgsql: Fix transient mdsync() errors of truncated relations due to 72a9

2017-09-17 Thread Peter Geoghegan
addition of EXTENSION_DONT_CHECK_SIZE, this makes for a nicer > implementation of EXTENSION_REALLY_RETURN_NULL. You missed a remaining reference to EXTENSION_REALLY_RETURN_NULL within _mdfd_getseg(). -- Peter Geoghegan -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)

Re: [COMMITTERS] pgsql: Fix freezing of a dead HOT-updated tuple

2017-09-28 Thread Peter Geoghegan
IndexBuildHeapRangeScan, index.c:2597 Time: 3.699 ms -- Peter Geoghegan -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers

Re: [COMMITTERS] pgsql: Extend & revamp pg_bswap.h infrastructure.

2017-09-29 Thread Peter Geoghegan
((x >> 40) & UINT64CONST(0x0000ff00)) | + ((x >> 56) & UINT64CONST(0x00ff)); +} -- Peter Geoghegan -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers

Re: [COMMITTERS] pgsql: Fix traversal of half-frozen update chains

2017-10-12 Thread Peter Geoghegan
return true; > > return false; > } Wouldn't this last "if" test, to cover the pg_upgrade case, be better targeted by comparing *raw* xmin to FrozenTransactionId? You're using the potentially distinct xmin value returned by HeapTupleHeaderGetXmin() for the tes

Re: [COMMITTERS] pgsql: Fix traversal of half-frozen update chains

2017-10-17 Thread Peter Geoghegan
On Tue, Oct 17, 2017 at 3:40 AM, Alvaro Herrera wrote: > Peter Geoghegan wrote: > >> Wouldn't this last "if" test, to cover the pg_upgrade case, be better >> targeted by comparing *raw* xmin to FrozenTransactionId? You're using >> the

Re: [COMMITTERS] pgsql: Fix traversal of half-frozen update chains

2017-10-17 Thread Peter Geoghegan
On Tue, Oct 17, 2017 at 12:23 PM, Peter Geoghegan wrote: > On Tue, Oct 17, 2017 at 3:40 AM, Alvaro Herrera > wrote: >> Peter Geoghegan wrote: >> >>> Wouldn't this last "if" test, to cover the pg_upgrade case, be better >>> targeted by compar

Re: [COMMITTERS] pgsql: Fix traversal of half-frozen update chains

2017-10-24 Thread Peter Geoghegan
are you planning on committing this? -- Peter Geoghegan -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers

Re: [COMMITTERS] pgsql: Fix freezing of a dead HOT-updated tuple

2017-11-02 Thread Peter Geoghegan
whether or not it is safe to interrogate clog for a given heap tuple using a tool like amcheck. And, it wasn't obvious that you couldn't have a codepath that failed to account for pre-cutoff non-frozen tuples -- codepaths that call TransactionIdDidCommit() despite it actually being unsaf

Re: [HACKERS] [COMMITTERS] pgsql: Fix freezing of a dead HOT-updated tuple

2017-11-02 Thread Peter Geoghegan
ases differently. It was buggy even on its own terms. The FrozenTransactionId test used an xmin from HeapTupleHeaderGetXmin(), not HeapTupleHeaderGetRawXmin(). -- Peter Geoghegan -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers

Re: [HACKERS] [COMMITTERS] pgsql: Fix freezing of a dead HOT-updated tuple

2017-11-03 Thread Peter Geoghegan
7;m missing something here? Can you be more specific about what you mean here? I think that I understand where you're going with this, but I'm not sure. -- Peter Geoghegan -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers

Re: [HACKERS] [COMMITTERS] pgsql: Fix freezing of a dead HOT-updated tuple

2017-11-03 Thread Peter Geoghegan
ains)) xmax_new_tuple = InvalidTransactionId; else xmax_new_tuple = HeapTupleHeaderGetRawXmax(oldtup.t_data); My naive guess is that we have to create a new MultiXactId here in at least some cases, just like FreezeMultiXactId() sometimes does. -- Peter Geoghegan -- Sent via pgsql-co

Re: [COMMITTERS] pgsql: Stamp 9.2.24.

2017-11-06 Thread Peter Geoghegan
Tom Lane wrote: Stamp 9.2.24. Uh, I thought 9.2 was EOL. -- Peter Geoghegan -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers

Re: [COMMITTERS] pgsql: Stamp 9.2.24.

2017-11-06 Thread Peter Geoghegan
On Mon, Nov 6, 2017 at 2:47 PM, Michael Paquier wrote: > On Tue, Nov 7, 2017 at 7:39 AM, Tom Lane wrote: >> Peter Geoghegan writes: >>> Tom Lane wrote: >>>> Stamp 9.2.24. > 9.2.24 is the last of the 9.2-series, November being the last minor > release after

Re: [HACKERS] [COMMITTERS] pgsql: Fix freezing of a dead HOT-updated tuple

2017-11-09 Thread Peter Geoghegan
T chains are sane, which is how the enhanced amcheck notices the bug here in practice. (Before this bug was discovered, I would have expected amcheck to catch problems like it slightly later, during the Bloom filter probe for that HOT chain...but, in fact, it never gets there with corruption from this bug

Re: [HACKERS] [COMMITTERS] pgsql: Fix freezing of a dead HOT-updated tuple

2017-11-09 Thread Peter Geoghegan
ng to make sense of what you said. > It's the second > vacuum. The reindex part was about $user trying to fix the problem... > As you need two vacuums with appropriate cutoffs to hit the "rows > revive" problem, that'll often in practice not happen immediately. Thi

Re: [HACKERS] [COMMITTERS] pgsql: Fix freezing of a dead HOT-updated tuple

2017-11-09 Thread Peter Geoghegan
it might be some other HOT chain root following TID recycling by VACUUM)? Assuming that's what you meant: I would have thought that the xmin/xmax matching within heap_get_root_tuples() makes the sanity checking fairly reliable in practice. -- Peter Geoghegan -- Sent via pgsql-committers

Re: [HACKERS] [COMMITTERS] pgsql: Fix freezing of a dead HOT-updated tuple

2017-11-09 Thread Peter Geoghegan
ch for the principal point I raised, which is how much work we need to > do to not further worsen the corruption. You're right. Just trying to put the risk in context, and to understand the extent of the concern that you have. -- Peter Geoghegan

Re: [COMMITTERS] pgsql: Generate parallel sequential scan plans in simple cases.

2015-11-11 Thread Peter Geoghegan
On Wed, Nov 11, 2015 at 7:35 AM, Magnus Hagander wrote: >> Congratulations! >> > > +1. That's an exciting milestone! Congratulations, Robert. -- Peter Geoghegan -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to

Re: [COMMITTERS] pgsql: Generate parallel sequential scan plans in simple cases.

2015-11-11 Thread Peter Geoghegan
On Wed, Nov 11, 2015 at 9:08 AM, Peter Geoghegan wrote: > Congratulations, Robert. I should certainly extend my congratulations to Amit too. -- Peter Geoghegan -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: h

Re: [COMMITTERS] pgsql: Support parallel joins, and make related improvements.

2016-01-20 Thread Peter Geoghegan
On Wed, Jan 20, 2016 at 11:41 AM, Robert Haas wrote: > Support parallel joins, and make related improvements. Congratulations to all involved. -- Peter Geoghegan -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: h

Re: [COMMITTERS] pgsql: Allow SetHintBits() to succeed if the buffer's LSN is new enough

2016-02-15 Thread Peter Geoghegan
On Mon, Feb 15, 2016 at 2:17 PM, Andres Freund wrote: > On 2016-02-15 22:01:12 +, Andres Freund wrote: >> Allow SetHintBits() to succeed if the buffer's LSN is new enough. > > Thanks, that works with my brand of annoying compiler... Wrong commit message. :-) -- Peter

Re: [COMMITTERS] pgsql: Don't vacuum all-frozen pages.

2016-03-10 Thread Peter Geoghegan
On Thu, Mar 10, 2016 at 1:22 PM, Andres Freund wrote: > Yeha! Fantastic effort, particularly from Masahiko. Well done. -- Peter Geoghegan -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailp

Re: [COMMITTERS] pgsql: Load FK defs into relcache for use by planner

2016-04-07 Thread Peter Geoghegan
On Thu, Apr 7, 2016 at 4:09 AM, Simon Riggs wrote: > Load FK defs into relcache for use by planner I gather this is infrastructure for the "use foreign keys to improve join estimates" patch. A more worked out commit message would be nice, though. -- Peter Geoghegan -- S

Re: [COMMITTERS] pgsql: CREATE INDEX ... INCLUDING (column[, ...])

2016-04-08 Thread Peter Geoghegan
al decoding are also a concern; there could be significant issues there, but that analysis just didn't happen. I had significant misunderstandings about the patch as recently as this week. This should be reverted. -- Peter Geoghegan -- Sent via pgsql-committers mailing list (pgsql-committers@po

Re: [COMMITTERS] pgsql: Fix assorted missing infrastructure for ON CONFLICT.

2016-05-11 Thread Peter Geoghegan
On Wed, May 11, 2016 at 1:20 PM, Tom Lane wrote: > Fix assorted missing infrastructure for ON CONFLICT. What does this mean? + /* XXX broken */ if (attno < 0) elog(ERROR, "system column in index"); -- Peter Geoghegan -- Sent via

Re: [COMMITTERS] pgsql: Fix assorted missing infrastructure for ON CONFLICT.

2016-05-11 Thread Peter Geoghegan
not supported, and we should throw an error (granted, a less ugly one), or they are supported, and inference should succeed. -- Peter Geoghegan -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/

Re: [COMMITTERS] pgsql: Fix building of large (bigger than shared_buffers) hash indexes.

2016-06-27 Thread Peter Geoghegan
g index is total garbage. This tells us a lot about how many people use hash indexes in production, of course. 9.5 has been out for months. -- Peter Geoghegan -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgre

Re: [COMMITTERS] pgsql: Improve parser's and planner's handling of set-returning functio

2016-09-13 Thread Peter Geoghegan
ed to perform the update) and it's hard to see why it should not be > treated as an error. It's a release-note-worthy change though. There is a reference to this right at the end of the executor README that was missed. -- Peter Geoghegan -- Sent via pgsql-committers mailing list (p

Re: [COMMITTERS] pgsql: Change the way pre-reading in external sort's merge phase works.

2016-10-05 Thread Peter Geoghegan
ilures that are probably harmless, but not really fixable within LogicalTapeRewind() itself). Might be best to get ahead of that now; my problem with using LogicalTapeRewind() suggests to me that not using LogicalTapeRewind() to simply free preload memory could be good *general* future-proofing. T

Re: [COMMITTERS] pgsql: Make getrusage() output a little more readable

2016-10-19 Thread Peter Geoghegan
On Wed, Oct 19, 2016 at 6:58 AM, Peter Eisentraut wrote: > Make getrusage() output a little more readable BTW, trace_sort is a user-visible, documented GUC, so I guess that means that this will need a release note item. -- Peter Geoghegan -- Sent via pgsql-committers mailing list (pg

Re: [COMMITTERS] pgsql: Fix accounting of memory needed for merge heap.

2016-12-08 Thread Peter Geoghegan
here the new limit is applied. Also suggest that the subsequent USEMEM() call have "state->read_buffer_size * numInputTapes" as its argument, rather than state->availMem, just to be neat. Thanks -- Peter Geoghegan -- Sent via pgsql-committers mailing list (pgsql-commi

Re: [COMMITTERS] pgsql: Fix accounting of memory needed for merge heap.

2016-12-08 Thread Peter Geoghegan
On Thu, Dec 8, 2016 at 1:07 PM, Heikki Linnakangas wrote: > D'oh, you're right, of course. Fixed, thanks for the vigilance! I've made exactly the same mistake myself before. :-) -- Peter Geoghegan -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.or

Re: [COMMITTERS] pgsql: Simplify tape block format.

2016-12-26 Thread Peter Geoghegan
On Thu, Dec 22, 2016 at 8:45 AM, Heikki Linnakangas wrote: > Simplify tape block format. > > No more indirect blocks. The blocks form a linked list instead. There is still one remaining reference to indirect blocks that you missed in comments above LogicalTapeRewindForWrite().

Re: [COMMITTERS] pgsql: contrib/amcheck needs RecentGlobalXmin to be PGDLLIMPORT'ified.

2017-03-10 Thread Peter Geoghegan
ir weight. They're justified as documentation. If the assertion ever does fail, preventing someone from pushing buggy code, then so much the better. -- Peter Geoghegan -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers

Re: [COMMITTERS] pgsql: Faster expression evaluation and targetlist projection.

2017-03-25 Thread Peter Geoghegan
On Sat, Mar 25, 2017 at 3:55 PM, Thomas Munro wrote: > This is a huge achievement. Congratulations! I also think it's excellent. Well done to all involved. -- Peter Geoghegan -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subs

Re: [COMMITTERS] pgsql: Expose qurey ID in pg_stat_statements view.

2013-12-07 Thread Peter Geoghegan
I see now that references to "queryid" in the documentation say "querid" in one or two places. Whoops. -- Peter Geoghegan -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers

Re: [COMMITTERS] pgsql: Keep pg_stat_statements' query texts in a file, not in shared me

2014-01-27 Thread Peter Geoghegan
didn't bother unlinking on startup, and so the file with query texts was always on the PGDATA filesystem. What's the difference? -- Peter Geoghegan -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.or

Re: [COMMITTERS] pgsql: Keep pg_stat_statements' query texts in a file, not in shared me

2014-01-27 Thread Peter Geoghegan
otally orthogonal to our security model. -- Peter Geoghegan -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers

Re: [COMMITTERS] pgsql: Keep pg_stat_statements' query texts in a file, not in shared me

2014-01-27 Thread Peter Geoghegan
if things are timed just right. I do see it in the wild, albeit very infrequently. -- Peter Geoghegan -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers

Re: [COMMITTERS] pgsql: Keep pg_stat_statements' query texts in a file, not in shared me

2014-01-27 Thread Peter Geoghegan
r this patch in particular? You'll need to serialize the file at least once before seeing it, but then it's there for good (on old versions, before Magnus got annoyed that that affected basebackups). -- Peter Geoghegan -- Sent via pgsql-committers mailing list (pgsql-committers@postgres

Re: [COMMITTERS] pgsql: Keep pg_stat_statements' query texts in a file, not in shared me

2014-01-27 Thread Peter Geoghegan
call query after another query's parse analysis, but before its execution finishes. That's one obvious way. But you don't even need a reset - a badly timed entry_dealloc() could do it too. I don't see what hash collisions have to do with it, though. -- Peter Geoghegan -- S

Re: [COMMITTERS] pgsql: Keep pg_stat_statements' query texts in a file, not in shared me

2014-01-27 Thread Peter Geoghegan
nk it's incongruous that you chose to make your opinion known at this time and in this way. You knew about this patch several months ago; are your surprised that it does what it was prominently advertised to do? -- Peter Geoghegan -- Sent via pgsql-committers mailing list (pgsql-committe

Re: [COMMITTERS] pgsql: Allow using huge TLB pages on Linux (MAP_HUGETLB)

2014-01-29 Thread Peter Geoghegan
ers +and a hugepage size of 2kb of you will need at least 3156 huge pages. I think that this should say 2MiB rather than 2kb. Or 2M, if you prefer. -- Peter Geoghegan -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: h

Re: [COMMITTERS] pgsql: Include planning time in EXPLAIN ANALYZE output.

2014-02-02 Thread Peter Geoghegan
generally, as with pg_stat_statements, which doesn't include planning time in total_time, while we aren't even explicit about that in the documentation. But even still, seeing the two side-by-side, with planning time > total runtime did give me pause. -- Peter Geoghegan -- Sent

Re: [COMMITTERS] pgsql: Include planning time in EXPLAIN ANALYZE output.

2014-02-02 Thread Peter Geoghegan
On Sun, Feb 2, 2014 at 8:13 AM, Tom Lane wrote: > Perhaps s/Total runtime/Execution time/ ? +1 -- Peter Geoghegan -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers

Re: [COMMITTERS] pgsql: Add a GUC to report whether data page checksums are enabled.

2014-02-18 Thread Peter Geoghegan
On Tue, Feb 18, 2014 at 11:39 AM, Alvaro Herrera wrote: > Is there are reason this wasn't back-patched to 9.3? I think it should > be. +1. -- Peter Geoghegan -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscri

Re: [HACKERS] Re: [COMMITTERS] pgsql: Add a GUC to report whether data page checksums are enabled.

2014-02-19 Thread Peter Geoghegan
ers couldn't run pg_controldata even if they'd heard of it... -- Peter Geoghegan -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers

Re: [COMMITTERS] pgsql: Initial version of Postgres 9.4 release notes

2014-05-03 Thread Peter Geoghegan
On Sat, May 3, 2014 at 8:16 PM, Bruce Momjian wrote: > Initial version of Postgres 9.4 release notes Did you forget to "git add release-9.4.sgml"? -- Peter Geoghegan -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subsc

Re: [COMMITTERS] pgsql: Clean up jsonb code.

2014-05-07 Thread Peter Geoghegan
ller user-passed lookup array once has to be cheaper than searching through the entire jsonb perhaps elem_count times per call. -- Peter Geoghegan -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers

Re: [COMMITTERS] pgsql: Add pinning_backends column to the pg_buffercache extension.

2014-08-21 Thread Peter Geoghegan
On Thu, Aug 21, 2014 at 3:29 PM, Andres Freund wrote: > Add pinning_backends column to the pg_buffercache extension. Minor point: "Existence" is misspelled. -- Peter Geoghegan -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your

Re: [COMMITTERS] pgsql: Fix CreatePolicy, pg_dump -v; psql and doc updates

2014-10-03 Thread Peter Geoghegan
t are at the beginning of some unused range, and so do other people, so this happens more often than you might think. -- Peter Geoghegan -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers

Re: [COMMITTERS] pgsql: Add support for INSERT ... ON CONFLICT DO NOTHING/UPDATE.

2015-05-11 Thread Peter Geoghegan
What I suggest is that this be changed to match the first suggestion here (the intended message), since the "ON CONSTRAINT ... " variant is really just an escape hatch that I don't expect will see much use. I tried to encourage use of the conventional inference mechanism everywhere.

Re: [COMMITTERS] pgsql: Additional functions and operators for jsonb

2015-05-13 Thread Peter Geoghegan
perator to perform "field assignment" for JSON objects. The inability to do that is a complaint that people have with jsonb, and this ought to be positioned as the solution to that problem. -- Peter Geoghegan -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.

Re: [COMMITTERS] pgsql: release notes: Add entry for commit 5ea86e6e6.

2015-06-26 Thread Peter Geoghegan
On Fri, Jun 26, 2015 at 11:55 AM, Robert Haas wrote: > release notes: Add entry for commit 5ea86e6e6. s/Extend the infrastructure allow sorting/Extend the infrastructure that allows/ -- Peter Geoghegan -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To m

Re: [COMMITTERS] pgsql: Improve 9.5 release notes.

2015-06-30 Thread Peter Geoghegan
On Tue, Jun 30, 2015 at 12:00 PM, Andres Freund wrote: > Improve 9.5 release notes. Noticed a typo: "compact and cheap to to update by" -- Peter Geoghegan -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subsc

Re: [COMMITTERS] pgsql: Use gender-neutral language in documentation

2015-09-21 Thread Peter Geoghegan
the connection might not be the same as the intended corresponding database user. -- Peter Geoghegan -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers

Re: [HACKERS] [COMMITTERS] pgsql: Use gender-neutral language in documentation

2015-09-22 Thread Peter Geoghegan
occurred to me that this usage is even non-traditional. I am a native English speaker born in Ireland in the 1980s. -- Peter Geoghegan -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers

Re: [COMMITTERS] pgsql: doc: Update URLs of external projects

2015-10-03 Thread Peter Geoghegan
On Sat, Oct 3, 2015 at 1:37 AM, Magnus Hagander wrote: > Should we consider backpatching this further into the stable branches? > Arguably it's a bugfix given the state of pgfoundry. +1 -- Peter Geoghegan -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.o

Re: [COMMITTERS] pgsql: Add CASCADE support for CREATE EXTENSION.

2015-10-03 Thread Peter Geoghegan
too. -- Peter Geoghegan -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-committers

Re: [COMMITTERS] pgsql: Apply SELECT policies in INSERT/UPDATE+RETURNING

2015-10-05 Thread Peter Geoghegan
On Mon, Oct 5, 2015 at 4:55 AM, Stephen Frost wrote: > Apply SELECT policies in INSERT/UPDATE+RETURNING If we've changed this now, where does that leave the excluded.* pseudo-relation? -- Peter Geoghegan -- Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)