Re: [HACKERS] Poorly thought out code in vacuum

2012-01-06 Thread Simon Riggs
On Fri, Jan 6, 2012 at 12:37 AM, Tom Lane wrote: > We could fix the direct symptom by inserting UnlockReleaseBuffer() > in front of the continue, but AFAICS that just makes this into a > busy-waiting equivalent of waiting unconditionally, so I don't really > see why we should not revert the above

Re: [HACKERS] CLOG contention

2012-01-06 Thread Simon Riggs
On Thu, Jan 5, 2012 at 10:34 PM, Tom Lane wrote: > Robert Haas writes: >> On Thu, Jan 5, 2012 at 2:57 PM, Tom Lane wrote: >>> I would be in favor of that, or perhaps some other formula (eg, maybe >>> the minimum should be less than 8 for when you've got very little shmem). > >> I have some resul

Re: [HACKERS] 16-bit page checksums for 9.2

2012-01-06 Thread Simon Riggs
On Fri, Jan 6, 2012 at 1:10 AM, Stephen Frost wrote: > * Simon Riggs (si...@2ndquadrant.com) wrote: >> I discover that non-all-zeroes holes are fairly common, just not very >> frequent. > > Curious, might be interesting to find out why. > >> That may or may not be a problem, but not something to

Re: [HACKERS] 16-bit page checksums for 9.2

2012-01-06 Thread Andres Freund
On Friday, January 06, 2012 11:30:53 AM Simon Riggs wrote: > On Fri, Jan 6, 2012 at 1:10 AM, Stephen Frost wrote: > > * Simon Riggs (si...@2ndquadrant.com) wrote: > >> I discover that non-all-zeroes holes are fairly common, just not very > >> frequent. > > > > Curious, might be interesting to fin

Re: [HACKERS] FATAL: bogus data in lock file "postmaster.pid": ""

2012-01-06 Thread Magnus Hagander
On Thu, Jan 5, 2012 at 23:19, Tom Lane wrote: > Magnus Hagander writes: >> On Thu, Jan 5, 2012 at 17:13, Tom Lane wrote: >>> I think link(2) would create race conditions of its own.  I'd be >>> inclined to suggest that maybe we should just special-case a zero length >>> postmaster.pid file as me

[HACKERS] Unlogged tables and BufferSync()

2012-01-06 Thread Heikki Linnakangas
In BufferSync(), we have this: /* * Unless this is a shutdown checkpoint, we write only permanent, dirty * buffers. But at shutdown time, we write all dirty buffers. */ if (!(flags & CHECKPOINT_IS_SHUTDOWN)) flags |= BM_PERMANENT; Tha

Re: [HACKERS] Unlogged tables and BufferSync()

2012-01-06 Thread Robert Haas
On Fri, Jan 6, 2012 at 7:52 AM, Heikki Linnakangas wrote: > In BufferSync(), we have this: > >>        /* >>         * Unless this is a shutdown checkpoint, we write only permanent, >> dirty >>         * buffers.  But at shutdown time, we write all dirty buffers. >>         */ >>        if (!(flag

Re: [HACKERS] FATAL: bogus data in lock file "postmaster.pid": ""

2012-01-06 Thread Michael Beattie
On Fri, Jan 6, 2012 at 6:13 AM, Magnus Hagander wrote: > On Thu, Jan 5, 2012 at 23:19, Tom Lane wrote: > > Magnus Hagander writes: > >> On Thu, Jan 5, 2012 at 17:13, Tom Lane wrote: > >>> I think link(2) would create race conditions of its own. I'd be > >>> inclined to suggest that maybe we s

Re: [HACKERS] [COMMITTERS] pgsql: Fix breakage from earlier plperl fix.

2012-01-06 Thread Andrew Dunstan
On 01/05/2012 10:59 PM, Alex Hunsaker wrote: After further digging I found it chokes on any non scalar (IOW any reference). I attached a simple c program that I tested with 5.8.9, 5.10.1, 5.12.4 and 5.14.2 (for those who did not know about it, perlbrew made testing across all those perls relati

Re: [HACKERS] Poorly thought out code in vacuum

2012-01-06 Thread Robert Haas
On Thu, Jan 5, 2012 at 7:37 PM, Tom Lane wrote: > I suppose Robert had something more intelligent in mind than a tight > loop when the buffer can't be exclusively locked, so maybe there is > some other change that should be made here instead. My intention was to skip the tuple, but I failed to no

Re: [HACKERS] Poorly thought out code in vacuum

2012-01-06 Thread Simon Riggs
On Fri, Jan 6, 2012 at 2:29 PM, Robert Haas wrote: > On Thu, Jan 5, 2012 at 7:37 PM, Tom Lane wrote: >> I suppose Robert had something more intelligent in mind than a tight >> loop when the buffer can't be exclusively locked, so maybe there is >> some other change that should be made here instead

Re: [HACKERS] Poorly thought out code in vacuum

2012-01-06 Thread Robert Haas
On Fri, Jan 6, 2012 at 9:53 AM, Simon Riggs wrote: > On Fri, Jan 6, 2012 at 2:29 PM, Robert Haas wrote: >> On Thu, Jan 5, 2012 at 7:37 PM, Tom Lane wrote: >>> I suppose Robert had something more intelligent in mind than a tight >>> loop when the buffer can't be exclusively locked, so maybe there

Re: [HACKERS] Progress on fast path sorting, btree index creation time

2012-01-06 Thread Robert Haas
On Thu, Jan 5, 2012 at 5:27 PM, Tom Lane wrote: > There is no compiler anywhere that implements "always inline", unless > you are talking about a macro.  "inline" is a hint and nothing more, > and if you think you can force it you are mistaken.  So this controversy > is easily resolved: we do not

Re: [HACKERS] [COMMITTERS] pgsql: Fix breakage from earlier plperl fix.

2012-01-06 Thread Alvaro Herrera
Excerpts from Andrew Dunstan's message of vie ene 06 10:34:30 -0300 2012: > And yes, we should possibly add a regression test or two. Of course, we can't > use the cause of the original complaint ($^V) in them, though. Why not? You obviously can't need output it verbatim, but you could compare

Re: [HACKERS] CLOG contention

2012-01-06 Thread Robert Haas
On Thu, Jan 5, 2012 at 5:34 PM, Tom Lane wrote: > Robert Haas writes: >> On Thu, Jan 5, 2012 at 2:57 PM, Tom Lane wrote: >>> I would be in favor of that, or perhaps some other formula (eg, maybe >>> the minimum should be less than 8 for when you've got very little shmem). > >> I have some result

Re: [HACKERS] CLOG contention

2012-01-06 Thread Tom Lane
Simon Riggs writes: > Please can we either make it user configurable? Weren't you just complaining that *I* was overcomplicating things? I see no evidence to justify inventing a user-visible GUC here. We have rough consensus on both the need for and the shape of a formula, with just minor discuss

Re: [HACKERS] CLOG contention

2012-01-06 Thread Tom Lane
Robert Haas writes: > After thinking about this a bit, I think the problem is that the > divisor we picked is still too high. Suppose we set num_clog_buffers > = (shared_buffers / 4MB), with a minimum of 4 and maximum of 32. Works for me. regards, tom lane -- Sent via

Re: [HACKERS] Poorly thought out code in vacuum

2012-01-06 Thread Simon Riggs
On Fri, Jan 6, 2012 at 3:28 PM, Robert Haas wrote: > On Fri, Jan 6, 2012 at 9:53 AM, Simon Riggs wrote: >> On Fri, Jan 6, 2012 at 2:29 PM, Robert Haas wrote: >>> On Thu, Jan 5, 2012 at 7:37 PM, Tom Lane wrote: I suppose Robert had something more intelligent in mind than a tight loop w

Re: [HACKERS] [COMMITTERS] pgsql: Fix breakage from earlier plperl fix.

2012-01-06 Thread Andrew Dunstan
On 01/06/2012 10:49 AM, Alvaro Herrera wrote: Excerpts from Andrew Dunstan's message of vie ene 06 10:34:30 -0300 2012: And yes, we should possibly add a regression test or two. Of course, we can't use the cause of the original complaint ($^V) in them, though. Why not? You obviously can't

Re: [HACKERS] Poorly thought out code in vacuum

2012-01-06 Thread Robert Haas
On Fri, Jan 6, 2012 at 10:51 AM, Simon Riggs wrote: > I *have* explained what is wrong. It "leaves unused tuples in the heap > that would previously have been removed". > > More simply: lazy_vacuum_page() does some work and we can't skip that > work just because we don't get the lock. Elsewhere in

Re: [HACKERS] CLOG contention

2012-01-06 Thread Simon Riggs
On Fri, Jan 6, 2012 at 3:55 PM, Tom Lane wrote: > Simon Riggs writes: >> Please can we either make it user configurable? > > Weren't you just complaining that *I* was overcomplicating things? > I see no evidence to justify inventing a user-visible GUC here. > We have rough consensus on both the n

Re: [HACKERS] Progress on fast path sorting, btree index creation time

2012-01-06 Thread Peter Geoghegan
On 5 January 2012 20:23, Robert Haas wrote: > I don't have a problem with the idea of a pg_always_inline, but I'm > wondering what sort of fallback mechanism you propose.  It seems to me > that if the performance improvement is conditioned on inlining be done > and we're not confident that we can

Re: [HACKERS] Poorly thought out code in vacuum

2012-01-06 Thread Tom Lane
I started to wonder how likely it would be that some other process would sit on a buffer pin for so long as to allow 134217727 iterations of ReadBufferExtended, even given the slowdowns associated with CLOBBER_CACHE_ALWAYS. This led to some fruitless searching for possible deadlock conditions, but

Re: [HACKERS] Progress on fast path sorting, btree index creation time

2012-01-06 Thread Robert Haas
On Fri, Jan 6, 2012 at 12:10 PM, Peter Geoghegan wrote: > As you know, all queries tested have lots and lots of duplicates (a > ~1.5GB table that contains the same number of distinct elements as a > ~10MB table once did), and removing the "duplicate protection" for > btrees, on top of everything e

Re: [HACKERS] Poorly thought out code in vacuum

2012-01-06 Thread Robert Haas
On Fri, Jan 6, 2012 at 12:24 PM, Tom Lane wrote: > I started to wonder how likely it would be that some other process would > sit on a buffer pin for so long as to allow 134217727 iterations of > ReadBufferExtended, even given the slowdowns associated with > CLOBBER_CACHE_ALWAYS.  This led to some

[HACKERS] pgsphere

2012-01-06 Thread Dave Cramer
I've been asked by someone to support pgshpere. It would appear that the two project owners are MIA. If anyone knows different can they let me know ? Does anyone have any objection to me taking over the project? Dave Cramer dave.cramer(at)credativ(dot)ca http://www.credativ.ca -- Sent via pg

Re: [HACKERS] Poorly thought out code in vacuum

2012-01-06 Thread Tom Lane
Robert Haas writes: > On Fri, Jan 6, 2012 at 12:24 PM, Tom Lane wrote: >> So at this point I've got serious doubts as to the quality of testing of >> that whole patch, not just this part. > I tested the case where we skip a block during the first pass, but I > admit that I punted on testing the

Re: [HACKERS] pgsphere

2012-01-06 Thread Andrew Dunstan
On 01/06/2012 12:32 PM, Dave Cramer wrote: I've been asked by someone to support pgshpere. It would appear that the two project owners are MIA. If anyone knows different can they let me know ? Does anyone have any objection to me taking over the project? One of the owners is Teodor, who is

Re: [HACKERS] Poorly thought out code in vacuum

2012-01-06 Thread Robert Haas
On Fri, Jan 6, 2012 at 12:34 PM, Tom Lane wrote: > Robert Haas writes: >> On Fri, Jan 6, 2012 at 12:24 PM, Tom Lane wrote: >>> So at this point I've got serious doubts as to the quality of testing of >>> that whole patch, not just this part. > >> I tested the case where we skip a block during th

Re: [HACKERS] 16-bit page checksums for 9.2

2012-01-06 Thread Simon Riggs
On Thu, Jan 5, 2012 at 3:46 PM, Simon Riggs wrote: > On Wed, Jan 4, 2012 at 1:35 PM, Kevin Grittner > wrote: >> Sure.  I just think you are there already except for what I got into. > New version attached, with your suggested changes included. Hole check > code is there as well, but ifdef'd out

Re: [HACKERS] Progress on fast path sorting, btree index creation time

2012-01-06 Thread Peter Geoghegan
On 6 January 2012 17:29, Robert Haas wrote: > On Fri, Jan 6, 2012 at 12:10 PM, Peter Geoghegan > wrote: >> As you know, all queries tested have lots and lots of duplicates (a >> ~1.5GB table that contains the same number of distinct elements as a >> ~10MB table once did), and removing the "dupli

[HACKERS] pgsphere

2012-01-06 Thread Dave Cramer
I've been asked by someone to support pgshpere. It would appear that the two project owners are MIA. If anyone knows different can they let me know ? Does anyone have any objection to me taking over the project? Dave Cramer dave.cramer(at)credativ(dot)ca http://www.credativ.ca -- Sent via pg

Re: [HACKERS] Progress on fast path sorting, btree index creation time

2012-01-06 Thread Tom Lane
Peter Geoghegan writes: > I didn't bother isolating that, because it doesn't really make sense > to (not having it is probably only of particular value when doing what > I'm doing anyway, but who knows). Go ahead and commit something to > remove that code (get it in both comparetup_index_btree and

Re: [HACKERS] [COMMITTERS] pgsql: Fix breakage from earlier plperl fix.

2012-01-06 Thread Alex Hunsaker
On Fri, Jan 6, 2012 at 06:34, Andrew Dunstan wrote: >> PFA that copies if its readonly and its not a scalar. >> >> I didn't bother adding regression tests-- should I have? > I have several questions. > > 1. How much are we actually saving here? newSVsv() ought to be pretty cheap, > no? I imagine

Re: [HACKERS] [COMMITTERS] pgsql: Fix breakage from earlier plperl fix.

2012-01-06 Thread Andrew Dunstan
On 01/06/2012 02:02 PM, Alex Hunsaker wrote: 3. The above is in any case almost certainly insufficient, because in my tests a typeglob didn't trigger SvREADONLY(), but did cause a crash. Hrm the glob I was testing was *STDIN. It failed to fail in my test program because I was not testing *STDI

Re: [HACKERS] WIP(!) Double Writes

2012-01-06 Thread David Fetter
On Wed, Jan 04, 2012 at 10:19:16PM -0800, David Fetter wrote: > Folks, > > Please find attached two patches, each under the PostgreSQL license, > one which implements page checksums vs. REL9_0_STABLE, the other which > depends on the first (i.e. requires that it be applied first) and > implements

Re: [HACKERS] Progress on fast path sorting, btree index creation time

2012-01-06 Thread Peter Geoghegan
On 6 January 2012 18:45, Tom Lane wrote: > Peter Geoghegan writes: >> I didn't bother isolating that, because it doesn't really make sense >> to (not having it is probably only of particular value when doing what >> I'm doing anyway, but who knows). Go ahead and commit something to >> remove that

Re: [HACKERS] 16-bit page checksums for 9.2

2012-01-06 Thread Andres Freund
On Friday, January 06, 2012 07:26:14 PM Simon Riggs wrote: > The following patch (v4) introduces a new WAL record type that writes > backup blocks for the first hint on a block in any checkpoint that has > not previously been changed. IMHO this fixes the torn page problem > correctly, though at som

Re: [HACKERS] CLOG contention

2012-01-06 Thread Robert Haas
On Fri, Jan 6, 2012 at 11:05 AM, Tom Lane wrote: > Robert Haas writes: >> After thinking about this a bit, I think the problem is that the >> divisor we picked is still too high.  Suppose we set num_clog_buffers >> = (shared_buffers / 4MB), with a minimum of 4 and maximum of 32. > > Works for me.

Re: [HACKERS] 16-bit page checksums for 9.2

2012-01-06 Thread Heikki Linnakangas
On 06.01.2012 20:26, Simon Riggs wrote: The following patch (v4) introduces a new WAL record type that writes backup blocks for the first hint on a block in any checkpoint that has not previously been changed. IMHO this fixes the torn page problem correctly, though at some additional loss of perf

Re: [HACKERS] 16-bit page checksums for 9.2

2012-01-06 Thread Andres Freund
On Friday, January 06, 2012 08:45:45 PM Heikki Linnakangas wrote: > On 06.01.2012 20:26, Simon Riggs wrote: > > The following patch (v4) introduces a new WAL record type that writes > > backup blocks for the first hint on a block in any checkpoint that has > > not previously been changed. IMHO this

Re: [HACKERS] 16-bit page checksums for 9.2

2012-01-06 Thread Robert Haas
On Fri, Jan 6, 2012 at 2:35 PM, Andres Freund wrote: > On Friday, January 06, 2012 07:26:14 PM Simon Riggs wrote: >> The following patch (v4) introduces a new WAL record type that writes >> backup blocks for the first hint on a block in any checkpoint that has >> not previously been changed. IMHO

Re: [HACKERS] 16-bit page checksums for 9.2

2012-01-06 Thread Robert Haas
On Fri, Jan 6, 2012 at 2:48 PM, Andres Freund wrote: > On Friday, January 06, 2012 08:45:45 PM Heikki Linnakangas wrote: >> On 06.01.2012 20:26, Simon Riggs wrote: >> > The following patch (v4) introduces a new WAL record type that writes >> > backup blocks for the first hint on a block in any che

Re: [HACKERS] 16-bit page checksums for 9.2

2012-01-06 Thread Andres Freund
On Friday, January 06, 2012 08:53:38 PM Robert Haas wrote: > On Fri, Jan 6, 2012 at 2:48 PM, Andres Freund wrote: > > On Friday, January 06, 2012 08:45:45 PM Heikki Linnakangas wrote: > >> On 06.01.2012 20:26, Simon Riggs wrote: > >> > The following patch (v4) introduces a new WAL record type that

Re: [HACKERS] Collect frequency statistics for arrays

2012-01-06 Thread Noah Misch
Corrections: On Thu, Dec 29, 2011 at 11:35:00AM -0500, Noah Misch wrote: > On Wed, Nov 09, 2011 at 08:49:35PM +0400, Alexander Korotkov wrote: > > + *We set s to be the estimated frequency of the K'th element in a > > natural > > + *language's frequency table, where K is the tar

Re: [HACKERS] 16-bit page checksums for 9.2

2012-01-06 Thread Simon Riggs
On Fri, Jan 6, 2012 at 7:49 PM, Robert Haas wrote: > No, but I'd rather see us commit a checksum patch that sometimes > carries a major performance penalty and then work to reduce that > penalty later than never commit anything at all.  I think it's > unrealistic to assume we're going to get this

Re: [HACKERS] [COMMITTERS] pgsql: Fix breakage from earlier plperl fix.

2012-01-06 Thread Tom Lane
Alex Hunsaker writes: > Oh my... I dunno exactly what I was smoking last night, but its a good > thing I didn't share :-). Uh so my test program was also completely > wrong, Ill have to redo it all. I've narrowed it down to: > if ((type == SVt_PVGV || SvREADONLY(sv))) > { >

Re: [HACKERS] Progress on fast path sorting, btree index creation time

2012-01-06 Thread Tom Lane
Peter Geoghegan writes: > On 6 January 2012 18:45, Tom Lane wrote: >> Actually, I'm going to object to reverting that commit, as I believe >> that having equal-keyed index entries in physical table order may offer >> some performance benefits at access time. If you don't like the >> comment, we

Re: [HACKERS] 16-bit page checksums for 9.2

2012-01-06 Thread Robert Haas
On Fri, Jan 6, 2012 at 3:47 PM, Simon Riggs wrote: > Since we ignore hints during HS anyway, No, we don't. We need to ignore visibility map bits, but we need not and do not ignore HEAP_XMIN_COMMITTED, HEAP_XMAX_COMMITTED, etc. > not setting them seems OK if > checksums defined. Or we can recomm

Re: [HACKERS] Progress on fast path sorting, btree index creation time

2012-01-06 Thread Robert Haas
On Fri, Jan 6, 2012 at 4:14 PM, Tom Lane wrote: > Admittedly, I don't have any numbers quantifying just how useful that > might be, but on the other hand you've not presented any evidence > justifying removing the behavior either.  If we believe your position > that indexes don't generally have lo

Re: [HACKERS] Add SPI results constants available for PL/*

2012-01-06 Thread Martijn van Oosterhout
On Tue, Jan 03, 2012 at 09:11:17PM -0500, Andrew Dunstan wrote: > Yeah, I'm with you and Pavel. Here's my quick perl one-liner to > produce a set of SPI_* constants for pl/perl. I'm looking at the > best way to include this in the bootstrap code. > >perl -ne 'BEGIN { print "use constant\n{\n";

Re: [HACKERS] 16-bit page checksums for 9.2

2012-01-06 Thread Merlin Moncure
On Fri, Jan 6, 2012 at 2:03 PM, Andres Freund wrote: >> The standby can set hint bits locally that weren't set on the data it >> received from the master.  This will require rechecksumming and >> rewriting the page, but obviously we can't write the WAL records >> needed to protect those writes dur

[HACKERS] LWLOCK_STATS

2012-01-06 Thread Robert Haas
It's been a while since I did any testing with LWLOCK_STATS defined, so I thought it might be about time to do that again and see how things look. Here's how they looked back in July: http://archives.postgresql.org/pgsql-hackers/2011-07/msg01373.php Here are the results from a test I ran today o

[HACKERS] Intermittent regression test failures from index-only plan changes

2012-01-06 Thread Tom Lane
Another regression test failure that I've been seeing lately is a change from index-only scan to seqscan in create_index, as for instance here: http://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=jaguar&dt=2012-01-02%2023%3A05%3A02 I've managed to duplicate and debug this one too. What I find i

Re: [HACKERS] 16-bit page checksums for 9.2

2012-01-06 Thread Simon Riggs
On Fri, Jan 6, 2012 at 7:53 PM, Robert Haas wrote: > On Fri, Jan 6, 2012 at 2:48 PM, Andres Freund wrote: >> On Friday, January 06, 2012 08:45:45 PM Heikki Linnakangas wrote: >>> On 06.01.2012 20:26, Simon Riggs wrote: >>> > The following patch (v4) introduces a new WAL record type that writes >>

Re: [HACKERS] 16-bit page checksums for 9.2

2012-01-06 Thread Aidan Van Dyk
On Fri, Jan 6, 2012 at 5:17 PM, Merlin Moncure wrote: > On Fri, Jan 6, 2012 at 2:03 PM, Andres Freund wrote: >>> The standby can set hint bits locally that weren't set on the data it >>> received from the master.  This will require rechecksumming and >>> rewriting the page, but obviously we can't

Re: [HACKERS] 16-bit page checksums for 9.2

2012-01-06 Thread Robert Haas
On Fri, Jan 6, 2012 at 5:17 PM, Merlin Moncure wrote: >> Its funny. I have the feeling we all are missing a very obvious brilliant >> solution to this... > > Like getting rid of hint bits? No. First, that solution has been proposed before, and it crashed and burned before. You may as well propo

Re: [HACKERS] 16-bit page checksums for 9.2

2012-01-06 Thread Aidan Van Dyk
On Fri, Jan 6, 2012 at 6:48 PM, Aidan Van Dyk wrote: > I think I've said it before, but I'm guessing OLTP style database > rarely have pages written that are dirty that aren't covered by real > changes (so have the FPW anyways) and OLAP type generally freeze after > loads to avoid the hint-bit-wr

[HACKERS] patch: fix SSI finished list corruption

2012-01-06 Thread Dan Ports
There's a corner case in the SSI cleanup code that isn't handled correctly. It can arise when running workloads that are comprised mostly (but not 100%) of READ ONLY transactions, and can corrupt the finished SERIALIZABLEXACT list, potentially causing a segfault. The attached patch fixes it. Speci

[HACKERS] Second thoughts on CheckIndexCompatible() vs. operator families

2012-01-06 Thread Noah Misch
In 367bc426a1c22b9f6badb06cd41fc438fd034639, I introduced a CheckIndexCompatible() that approves btree and hash indexes having changed to a different operator class within the same operator family. To make that valid, I also tightened the operator family contracts for those access methods to addre

Re: [HACKERS] LWLOCK_STATS

2012-01-06 Thread Jeff Janes
On Fri, Jan 6, 2012 at 2:24 PM, Robert Haas wrote: > It's been a while since I did any testing with LWLOCK_STATS defined, > so I thought it might be about time to do that again and see how > things look.  Here's how they looked back in July: > > http://archives.postgresql.org/pgsql-hackers/2011-07

Re: [HACKERS] LWLOCK_STATS

2012-01-06 Thread Robert Haas
On Fri, Jan 6, 2012 at 9:29 PM, Jeff Janes wrote: > On Fri, Jan 6, 2012 at 2:24 PM, Robert Haas wrote: >> It's been a while since I did any testing with LWLOCK_STATS defined, >> so I thought it might be about time to do that again and see how >> things look.  Here's how they looked back in July:

Re: [HACKERS] [v9.2] Fix Leaky View Problem

2012-01-06 Thread Robert Haas
On Tue, Jan 3, 2012 at 12:11 PM, Kohei KaiGai wrote: > 2011/12/23 Robert Haas : >> On Fri, Dec 23, 2011 at 5:56 AM, Kohei KaiGai wrote: >>> I'd like the regression test on select_view test being committed also >>> to detect unexpected changed in the future. How about it? >> >> Can you resend that

Re: [HACKERS] Extensions and 9.2

2012-01-06 Thread Robert Haas
On Fri, Dec 23, 2011 at 5:45 AM, Daniel Farina wrote: > On Wed, Dec 21, 2011 at 5:46 AM, Robert Haas wrote:> >> Assuming the command in >> question can be stuffed inside a function, the most you're gaining is >> a little notational convenience > > I can answer that one (why a full-blown mechanism

[HACKERS] broken link to PostgreSQL 9.1 repository for Fedora 14

2012-01-06 Thread Pavel Stehule
Hello There is broken link on http://yum.postgresql.org/repopackages.php page PostgreSQL 9.1 - Fedora 14 - http://yum.postgresql.org/9.1/fedora/fedora-14-i386/pgdg-fedora-9.1-2.noarch.rpm - 404 - Not Found Regards Pavel Stehule -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.

Re: [HACKERS] LWLOCK_STATS

2012-01-06 Thread Heikki Linnakangas
On 07.01.2012 00:24, Robert Haas wrote: It's been a while since I did any testing with LWLOCK_STATS defined, so I thought it might be about time to do that again and see how things look. Here's how they looked back in July: http://archives.postgresql.org/pgsql-hackers/2011-07/msg01373.php Int