Re: [HACKERS] Patch committers

2009-11-11 Thread Peter Eisentraut
On ons, 2009-11-11 at 22:30 -0500, Emmanuel Cecchet wrote: > On the other end, how do we, simple developers, become better to > reach > the status of committers? How can we endure the constant bashing > especially in the early stages of our learning phase (especially if > you > are not paid to d

Re: [HACKERS] write ahead logging in standby (streaming replication)

2009-11-11 Thread Heikki Linnakangas
Fujii Masao wrote: > The problem is that fsync needs to be issued too frequently, which would > be harmless in asynchronous replication, but not in synchronous one. > A transaction would have to wait for the primary's and standby's fsync > before returning a "success" to a client. > > So I'm incli

Re: [HACKERS] next CommitFest

2009-11-11 Thread Greg Smith
Robert Haas wrote: Here's an attempt. http://wiki.postgresql.org/wiki/Running_a_CommitFest Perfect, that's the sort of thing I was looking for the other day but couldn't find anywhere. I just made a pass through better wiki-fying that and linking it to the related pages in this area. Two

Re: [HACKERS] Patch committers

2009-11-11 Thread Nikhil Sontakke
Hi, > True, but even I avoid patches I don't understand, and "practicing" by > applying them could lead to a very undesirable outcome, e.g. > instability. > How about having a staging server to help around novice committers? Basically the selected new band of people can take a patch, review it an

Re: [HACKERS] NULL-handling in aggregate(DISTINCT ...)

2009-11-11 Thread Andrew Gierth
> "Tom" == Tom Lane writes: Tom> I think you could probably just change it: make DISTINCT work as Tom> per regular DISTINCT (treat null like a value, keep one copy). Tom> All the spec-conforming aggregates are strict and would ignore Tom> the null in the next step anyway. >> Change it f

Re: [HACKERS] Listen / Notify rewrite

2009-11-11 Thread A.M.
On Nov 11, 2009, at 10:43 PM, Tom Lane wrote: Andrew Chernow writes: I thought of a compromise: add the number of times a notification was generated (coalesced count+1) to the callback data. That would satisfy any backwards compatibility concerns and my use case too! If you are suggesti

Re: [HACKERS] write ahead logging in standby (streaming replication)

2009-11-11 Thread Fujii Masao
On Thu, Nov 12, 2009 at 12:03 PM, Tom Lane wrote: > Fujii Masao writes: >> Should the standby also have to follow the WAL rule during recovery? >> The current patch doesn't care about the write order of the data page >> and WAL in the standby. So, after both servers fail, restarting the >> ex-sta

Re: [HACKERS] Listen / Notify rewrite

2009-11-11 Thread Andrew Chernow
2. The payload parameter is optional. A notifying client can either call "NOTIFY foo;" or "NOTIFY foo 'payload';". The length of the payload is currently limited to 128 characters... Not sure if we should allow longer payload strings... Might be a good idea to make the max the same as the max le

Re: [HACKERS] Listen / Notify rewrite

2009-11-11 Thread Tom Lane
Andrew Chernow writes: >> I thought of a compromise: add the number of times a notification was >> generated (coalesced count+1) to the callback data. That would satisfy >> any backwards compatibility concerns and my use case too! > If you are suggesting that the server poke data into the notif

Re: [HACKERS] Patch committers

2009-11-11 Thread Emmanuel Cecchet
The following email expresses my personal opinion and does not reflect the opinion of my employers. Bruce Momjian wrote: I also think the bad economy is making it harder for people/companies to devote time to community stuff when paid work is available. Actually the bad economy should be a b

Re: [HACKERS] Listen / Notify rewrite

2009-11-11 Thread Andrew Chernow
I thought of a compromise: add the number of times a notification was generated (coalesced count+1) to the callback data. That would satisfy any backwards compatibility concerns and my use case too! If you are suggesting that the server poke data into the notifier's opaque payload, I vot

Re: [HACKERS] Listen / Notify rewrite

2009-11-11 Thread Tom Lane
Joachim Wieland writes: > However, if for some reason we cannot write to the slru files in the > pg_notify/ > directory we might want to roll back the current transaction but with the > proposed patch we cannot because we have already committed... I think this is a deal-breaker, and arguing abou

Re: [HACKERS] Listen / Notify rewrite

2009-11-11 Thread A . M .
On Nov 11, 2009, at 9:28 PM, Merlin Moncure wrote: On Wed, Nov 11, 2009 at 5:48 PM, A.M. wrote: At least with this new payload, I can set the payload to the transaction ID and be certain that all the notifications I sent are processed (and in order even!) but could you explain why the co

Re: [HACKERS] write ahead logging in standby (streaming replication)

2009-11-11 Thread Tom Lane
Fujii Masao writes: > Should the standby also have to follow the WAL rule during recovery? > The current patch doesn't care about the write order of the data page > and WAL in the standby. So, after both servers fail, restarting the > ex-standby by itself might corrupt the data. Surely the receiv

Re: [HACKERS] next CommitFest

2009-11-11 Thread Robert Haas
On Wed, Nov 11, 2009 at 5:27 PM, Robert Haas wrote: > On Wed, Nov 11, 2009 at 5:14 PM, Greg Smith wrote: >> Selena Deckelmann wrote: >> >> On Tue, Nov 10, 2009 at 10:40 PM, Greg Smith wrote: >> >> >> I was just poking around on the Wiki, and it looks like the role of the >> CommitFest manager is

[HACKERS] write ahead logging in standby (streaming replication)

2009-11-11 Thread Fujii Masao
Hi, Should the standby also have to follow the WAL rule during recovery? The current patch doesn't care about the write order of the data page and WAL in the standby. So, after both servers fail, restarting the ex-standby by itself might corrupt the data. If the standby follows the WAL rule, walr

Re: [HACKERS] Listen / Notify rewrite

2009-11-11 Thread Merlin Moncure
On Wed, Nov 11, 2009 at 5:48 PM, A.M. wrote: > At least with this new payload, I can set the payload to the transaction ID > and be certain that all the notifications I sent are processed (and in order > even!) but could you explain why the coalescing is still necessary? Christmas comes early thi

Re: [HACKERS] Listen / Notify rewrite

2009-11-11 Thread Andrew Chernow
Premature optimization is the root of all evil ;-). Unless you've done some profiling and can show that this is a hot spot, making it more complicated isn't the thing to be doing now. I'm thinking of how our system uses/abuses notifies, and began wondering if several thousand backends liste

Re: [HACKERS] NULL-handling in aggregate(DISTINCT ...)

2009-11-11 Thread Tom Lane
Andrew Gierth writes: > "Tom" == Tom Lane writes: > Tom> I think you could probably just change it: make DISTINCT work as > Tom> per regular DISTINCT (treat null like a value, keep one copy). > Tom> All the spec-conforming aggregates are strict and would ignore > Tom> the null in the next ste

Re: [HACKERS] NULL-handling in aggregate(DISTINCT ...)

2009-11-11 Thread Andrew Gierth
> "Tom" == Tom Lane writes: > Andrew Gierth writes: >> Now the question: If the limit of one argument for DISTINCT aggs were >> removed (which I'm considering doing as part of an update to the >> aggregate ORDER BY patch I posted a while back), what should be the >> behaviour of agg(dis

Re: [HACKERS] Unpredictable shark slowdown after migrating to 8.4

2009-11-11 Thread Robert Haas
On Wed, Nov 11, 2009 at 12:50 PM, Sergey Konoplev wrote: > Was this situation mentioned before and is there a solution or > workaround? (I didn't find any) If not please give me a glue where to > dig or what information should I provide? I think you should use log_min_duration_statement or auto_e

Re: [HACKERS] NULL-handling in aggregate(DISTINCT ...)

2009-11-11 Thread Tom Lane
Andrew Gierth writes: > Now the question: If the limit of one argument for DISTINCT aggs were > removed (which I'm considering doing as part of an update to the > aggregate ORDER BY patch I posted a while back), what should be the > behaviour of agg(distinct x,y) where one or both of x or y is nul

[HACKERS] NULL-handling in aggregate(DISTINCT ...)

2009-11-11 Thread Andrew Gierth
Quoth the comments in nodeAgg.c: * We don't currently implement DISTINCT aggs for aggs having more * than one argument. This isn't required for anything in the SQL * spec, but really it ought to be implemented for * feature-completeness. FIXME someday. and: * DISTINCT always suppresses nu

Re: [HACKERS] Partitioning option for COPY

2009-11-11 Thread Josh Berkus
> We can use an INSERT trigger to route tuples into partitions even now. > Why do you need an additional router for COPY? Also, it would be nicer > that the router can works not only in COPY but also in INSERT. Yeah, but performance on an insert trigger is impractical for large volumes of data.

Re: [HACKERS] Listen / Notify rewrite

2009-11-11 Thread Andrew Gierth
> "Martijn" == Martijn van Oosterhout writes: >> Hi, >> >> Attached is a patch for a new listen/notify implementation. >> >> In a few words, the patch reimplements listen/notify as an >> slru-based queue which works similar to the sinval >> structure. Essentially it is a ring buffer

Re: [HACKERS] Partitioning option for COPY

2009-11-11 Thread Itagaki Takahiro
Emmanuel Cecchet wrote: > If you look at the code you will see that you can do optimizations in > the COPY code that you cannot do in the trigger. Since the optimizations is nice, I hope it will work not only in COPY but also in INSERT. An idea is moving the partitioning cache into Relation ca

Re: [HACKERS] Listen / Notify rewrite

2009-11-11 Thread Tom Lane
Andrew Chernow writes: > + * This function is executed for every notification found in the queue in > order > + * to check if the current backend is listening on that channel. Not sure > if we > + * should further optimize this, for example convert to a sorted array and > + * allow binary se

Re: [HACKERS] Listen / Notify rewrite

2009-11-11 Thread Andrew Chernow
Joachim Wieland wrote: On Thu, Nov 12, 2009 at 1:04 AM, Andrew Chernow wrote: I think a bsearch would be needed. Very busy servers that make heavy use of notifies would be quite a penalty. In such an environment, how many relations/channels is a backend typically listening to? Do you have av

Re: [HACKERS] Partitioning option for COPY

2009-11-11 Thread Emmanuel Cecchet
Hi, I have extracted the partitioning option for COPY (removed the error logging part) from the previous patch. We can use an INSERT trigger to route tuples into partitions even now. Why do you need an additional router for COPY? Tom has already explained on the list why using a trigger w

Re: [HACKERS] not logging caught exceptions

2009-11-11 Thread Tom Lane
Peter Eisentraut writes: > Is it at all reasonable to try to create some mechanism so that > exceptions (elog) that are caught and not rethrown do not end up in the > log? For example, when you write code that does something like > try > insert > catch unique_constraint_violation > updat

Re: [HACKERS] Listen / Notify rewrite

2009-11-11 Thread Joachim Wieland
On Thu, Nov 12, 2009 at 1:04 AM, Andrew Chernow wrote: > I think a bsearch would be needed.  Very busy servers that make heavy use of > notifies would be quite a penalty. In such an environment, how many relations/channels is a backend typically listening to? Do you have average / maximal numbers

Re: [HACKERS] Partitioning option for COPY

2009-11-11 Thread Itagaki Takahiro
Emmanuel Cecchet wrote: > I have extracted the partitioning option for COPY (removed the error > logging part) from the previous patch. We can use an INSERT trigger to route tuples into partitions even now. Why do you need an additional router for COPY? Also, it would be nicer that the router

Re: [HACKERS] Deadlock on the same object?

2009-11-11 Thread Itagaki Takahiro
Tom Lane wrote: > I think this is an artifact of the fact that SQL functions parse the > whole querystring before executing any of it. Parsing of "DELETE FROM > a" will result in acquiring ROW EXCLUSIVE lock on a, and then when the > LOCK commands are executed, you have a lock-upgrade scenario

Re: [HACKERS] Listen / Notify rewrite

2009-11-11 Thread Andrew Chernow
/* + * This function is executed for every notification found in the queue in order + * to check if the current backend is listening on that channel. Not sure if we + * should further optimize this, for example convert to a sorted array and + * allow binary search on it... + */ + static b

Re: [HACKERS] Patch committers

2009-11-11 Thread Josh Berkus
On 11/11/09 12:55 PM, Greg Smith wrote: > I seriously doubt you're going to find a new committer > jumping right in by committing hot standby out of the gate just because > they could do so. > We'd be lucky to get them to *read* the Hot Standby patch and comment on it. --Josh Berkus -- Sent

Re: [HACKERS] next CommitFest

2009-11-11 Thread Euler Taveira de Oliveira
Robert Haas escreveu: > I think an automatic system would probably not be too valuable > I have the same impression. > It's easy to generate systems that spew out a lot of email, but the > system doesn't really have any understanding of what is really going > on. When I send out emails to nag pe

Re: [HACKERS] Listen / Notify rewrite

2009-11-11 Thread Andrew Chernow
2. adds the possibility to specify a payload parameter, i.e. executing in SQL "NOTIFY foo 'payload';" and 'payload' will be delivered to any listening backend. Thank you for implementing this- LISTEN/NOTIFY without a payload has been a major problem to work around for me. +1 -- Andre

Re: [HACKERS] Listen / Notify rewrite

2009-11-11 Thread A.M.
On Nov 11, 2009, at 4:25 PM, Joachim Wieland wrote: Hi, Attached is a patch for a new listen/notify implementation. In a few words, the patch reimplements listen/notify as an slru- based queue which works similar to the sinval structure. Essentially it is a ring buffer on disk with pages

Re: [HACKERS] Listen / Notify rewrite

2009-11-11 Thread Martijn van Oosterhout
On Wed, Nov 11, 2009 at 10:25:05PM +0100, Joachim Wieland wrote: > Hi, > > Attached is a patch for a new listen/notify implementation. > > In a few words, the patch reimplements listen/notify as an slru-based queue > which works similar to the sinval structure. Essentially it is a ring buffer >

Re: [HACKERS] next CommitFest

2009-11-11 Thread Robert Haas
On Wed, Nov 11, 2009 at 5:14 PM, Greg Smith wrote: > Selena Deckelmann wrote: > > On Tue, Nov 10, 2009 at 10:40 PM, Greg Smith wrote: > > > I was just poking around on the Wiki, and it looks like the role of the > CommitFest manager isn't very well documented yet. > > > It's pretty straightforwar

Re: [HACKERS] next CommitFest

2009-11-11 Thread Robert Haas
On Wed, Nov 11, 2009 at 5:06 PM, Jaime Casanova wrote: > On Wed, Nov 11, 2009 at 4:40 PM, Robert Haas wrote: >> On Wed, Nov 11, 2009 at 4:21 PM, Jaime Casanova >> wrote: >>> why we need a full time manager at all? >>> why not simply use -rrreviewers to track the status of a patch? of >>> course,

Re: [HACKERS] next CommitFest

2009-11-11 Thread Greg Smith
Selena Deckelmann wrote: On Tue, Nov 10, 2009 at 10:40 PM, Greg Smith wrote: I was just poking around on the Wiki, and it looks like the role of the CommitFest manager isn't very well documented yet. It's pretty straightforward. Robert has actually done a great job of communicating ab

Re: [HACKERS] next CommitFest

2009-11-11 Thread Jaime Casanova
On Wed, Nov 11, 2009 at 4:40 PM, Robert Haas wrote: > On Wed, Nov 11, 2009 at 4:21 PM, Jaime Casanova > wrote: >> why we need a full time manager at all? >> why not simply use -rrreviewers to track the status of a patch? of >> course, we hope the author or reviewer to change the status as >> appr

Re: [HACKERS] next CommitFest

2009-11-11 Thread Josh Berkus
Selena, > I'd be happy to get together at some pre-appointed hour this weekend > (Saturday / Sunday) to talk it over by phone / IRC. PDXPUG was already > planning to get together to review some patches this Sunday from 3-5pm > PST, so that is a convenient time for me. Aren't you running OpenSQL t

Re: [HACKERS] grant with hierarchy option

2009-11-11 Thread Tom Lane
Peter Eisentraut writes: > On fre, 2009-10-30 at 00:49 -0400, Tom Lane wrote: >> And this is a problem why exactly? It's entirely likely that >> employee-ness can be determined just from what is visible in >> the persons view, anyway. Not to mention tableoid. > Yeah, tableoid is a deal-breaker.

Re: [HACKERS] Patch committers

2009-11-11 Thread Greg Smith
Bruce Momjian wrote: I also think the bad economy is making it harder for people/companies to devote time to community stuff when paid work is available. I think this explains away more of the recent situation than you're giving it credit for. When everybody's fat and happy and it's easy to

Re: [HACKERS] next CommitFest

2009-11-11 Thread Robert Haas
On Wed, Nov 11, 2009 at 4:21 PM, Jaime Casanova wrote: > why we need a full time manager at all? > why not simply use -rrreviewers to track the status of a patch? of > course, we hope the author or reviewer to change the status as > appropiate but we have seen many people including missing discuss

[HACKERS] not logging caught exceptions

2009-11-11 Thread Peter Eisentraut
Is it at all reasonable to try to create some mechanism so that exceptions (elog) that are caught and not rethrown do not end up in the log? For example, when you write code that does something like try insert catch unique_constraint_violation update end try this will end up cluttering t

Re: [HACKERS] Patch committers

2009-11-11 Thread Robert Haas
On Wed, Nov 11, 2009 at 3:57 PM, Greg Smith wrote: > Robert Haas wrote: >> >> I tried to help, but I was fairly tied up with overall CommitFest >> management and >> did not have time for a full read-through of every patch. >> > > I think it's completely unreasonable to expect the CF manager to do

Re: [HACKERS] next CommitFest

2009-11-11 Thread Jaime Casanova
On Sun, Nov 8, 2009 at 8:52 PM, Robert Haas wrote: > The next CommitFest is scheduled to start in a week.  So far, it > doesn't look too bad, though a lot could change between now and then. > > I would personally prefer not to be involved in the management of the > next CommitFest.  Having done al

Re: [HACKERS] grant with hierarchy option

2009-11-11 Thread Peter Eisentraut
On fre, 2009-10-30 at 00:49 -0400, Tom Lane wrote: > Peter Eisentraut writes: > > There is a gap in the permission scheme for inheritance setups. Say you > > have this: > > > CREATE TABLE persons (...); > > CREATE TABLE employees (...) INHERITS (persons); > > > GRANT SELECT ON persons TO foo; >

Re: [HACKERS] next CommitFest

2009-11-11 Thread Stefan Kaltenbrunner
Selena Deckelmann wrote: Hi! On Tue, Nov 10, 2009 at 10:40 PM, Greg Smith wrote: On Sun, 8 Nov 2009, Robert Haas wrote: I would personally prefer not to be involved in the management of the next CommitFest. Having done all of the July CommitFest and a good chunk of the September CommitFest,

Re: [HACKERS] Patch committers

2009-11-11 Thread Greg Smith
Robert Haas wrote: I tried to help, but I was fairly tied up with overall CommitFest management and did not have time for a full read-through of every patch. I think it's completely unreasonable to expect the CF manager to do any patch review themselves. It's a hard enough job to keep going

Re: [HACKERS] Patch committers

2009-11-11 Thread Greg Smith
Bruce Momjian wrote: True, but even I avoid patches I don't understand, and "practicing" by applying them could lead to a very undesirable outcome, e.g. instability. The usual type of practice here should come from applying trivial patches, or ones that don't impact code quality. Docs patche

Re: [HACKERS] Patch committers

2009-11-11 Thread Robert Haas
On Wed, Nov 11, 2009 at 2:51 PM, Bruce Momjian wrote: > Josh Berkus wrote: >> >> > For example, probably only Simon and Heikki are knowledge enough to >> > apply the HS and SR patchs --- but those patch is handled.  The harder >> > part is the other patches where there are only a small pool of peo

Re: [HACKERS] CommitFest 2009-09, two weeks on

2009-11-11 Thread Alvaro Herrera
Boszormenyi Zoltan escribió: > 2) 1b-cursor_name-ctxdiff.patch > > "name" -> "cursor_name" transition in core grammar > and ecpg grammar. Currently it does nothing, it's a > preparation phase. Depends on patch 1. Applied this part too. I cannot apply the other ones -- they belong to the ECPG ma

Re: [HACKERS] Patch committers

2009-11-11 Thread Robert Haas
On Wed, Nov 11, 2009 at 12:45 PM, Peter Eisentraut wrote: > The patches that get sent in are almost always > either fallout from a customer/company project, or stuff that one of the > closed-sourced forks has developed that they don't want to maintain, or > stuff people do "at night" to make their

Re: [HACKERS] Patch committers

2009-11-11 Thread Alvaro Herrera
Rick Gigger wrote: > Couldn't you have a policy that every patch is reviewed first by someone who > wants to be an expert in that area, and then by someone who is currently an > expert. Then you have the best of both worlds. The patch is reviewed by > someone will make sure it won't cause prob

Re: [HACKERS] Patch committers

2009-11-11 Thread Rick Gigger
Couldn't you have a policy that every patch is reviewed first by someone who wants to be an expert in that area, and then by someone who is currently an expert. Then you have the best of both worlds. The patch is reviewed by someone will make sure it won't cause problems, and the want to be ex

Re: [HACKERS] CommitFest 2009-09, two weeks on

2009-11-11 Thread Alvaro Herrera
Tom Lane escribió: > Alvaro Herrera writes: > > I have applied this patch after some tinkering. > > Shouldn't there be a docs change in that commit? True -- fixed. -- Alvaro Herrerahttp://www.CommandPrompt.com/ The PostgreSQL Company - Command Prompt, Inc. --

Re: [HACKERS] Patch committers

2009-11-11 Thread Josh Berkus
> True, but even I avoid patches I don't understand, and "practicing" by > applying them could lead to a very undesirable outcome, e.g. > instability. Right, but being responsible for applying the patch is the only real incentive anyone has to learn enough to understand its effects. If a contrib

Re: [HACKERS] Patch committers

2009-11-11 Thread Bruce Momjian
Josh Berkus wrote: > > > For example, probably only Simon and Heikki are knowledge enough to > > apply the HS and SR patchs --- but those patch is handled. The harder > > part is the other patches where there are only a small pool of people > > knowledgeable enough to apply the patch, but many of

Re: [HACKERS] Patch committers

2009-11-11 Thread Josh Berkus
> For example, probably only Simon and Heikki are knowledge enough to > apply the HS and SR patchs --- but those patch is handled. The harder > part is the other patches where there are only a small pool of people > knowledgeable enough to apply the patch, but many of those knowledgeable > people

Re: [HACKERS] CommitFest 2009-09, two weeks on

2009-11-11 Thread Tom Lane
Alvaro Herrera writes: > I have applied this patch after some tinkering. Shouldn't there be a docs change in that commit? regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.

Re: [HACKERS] CommitFest 2009-09, two weeks on

2009-11-11 Thread Alvaro Herrera
Boszormenyi Zoltan escribió: > I have split up (and cleaned up a little) the dynamic > cursorname patch into smaller logical, easier-to-review > pieces. Descriptions below. > > 1) 1a-unified-optfromin-fetch-ctxdiff.patch > > ecpg supports optional FROM/IN in FETCH and > MOVE statements (mainly b

Re: [HACKERS] Patch committers

2009-11-11 Thread Bruce Momjian
Josh Berkus wrote: > Bruce, > > Well, I think the answer is to promote some new committers. When was > the last time we added a committer? > > We have added a bunch of new reviewers and major contributors over the > last 2 years. It's time to review their work and see who can be > promoted to m

Re: [HACKERS] Patch committers

2009-11-11 Thread Josh Berkus
Bruce, Well, I think the answer is to promote some new committers. When was the last time we added a committer? We have added a bunch of new reviewers and major contributors over the last 2 years. It's time to review their work and see who can be promoted to more responsibility for other people

Re: [HACKERS] Parsing config files in a directory

2009-11-11 Thread Josh Berkus
>> Let's NOT start that discussion again. > > Bruce's comments were a useful addition to the technical discussion. Yes, I'm just trying to avoid sidelining this into a discussion of search_path management commands, which we already failed to come to a consensus spec for earlier this year. Not

Re: [HACKERS] Patch committers

2009-11-11 Thread Bruce Momjian
Peter Eisentraut wrote: > On ons, 2009-11-11 at 10:25 -0500, Bruce Momjian wrote: > > There is a more worrisome/sinister possibility that I didn't want to > > mention in my first email --- that companies are hiring our most > > experienced developers and having them work almost exclusively on > > c

[HACKERS] Unpredictable shark slowdown after migrating to 8.4

2009-11-11 Thread Sergey Konoplev
Hello community, Second time after migration 8.3.7 --> 8.4.1 I was caught by this problem. Migration was 8 days ago. (note, I never seen such situation on 8.3) Environment: PostgreSQL 8.4.1 + patch http://archives.postgresql.org/pgsql-committers/2009-10/msg00056.php CentOS release 5.4 (Final) S

Re: [HACKERS] Patch committers

2009-11-11 Thread Peter Eisentraut
On ons, 2009-11-11 at 10:25 -0500, Bruce Momjian wrote: > There is a more worrisome/sinister possibility that I didn't want to > mention in my first email --- that companies are hiring our most > experienced developers and having them work almost exclusively on > company-related or closed-source pr

Re: [HACKERS] next CommitFest

2009-11-11 Thread Selena Deckelmann
Hi! On Tue, Nov 10, 2009 at 10:40 PM, Greg Smith wrote: > On Sun, 8 Nov 2009, Robert Haas wrote: > >> I would personally prefer not to be involved in the management of the >> next CommitFest.  Having done all of the July CommitFest and a good >> chunk of the September CommitFest, I am feeling a b

[HACKERS] Partitioning option for COPY

2009-11-11 Thread Emmanuel Cecchet
Hi all, I have extracted the partitioning option for COPY (removed the error logging part) from the previous patch. The documentation and test suite sample are provided as well. More details are on the wiki page at http://wiki.postgresql.org/wiki/Auto-partitioning_in_COPY. Ignore the error lo

Re: [HACKERS] Patch committers

2009-11-11 Thread Bruce Momjian
bruce wrote: > This brings up a concern I have --- that the number of patch > committers/managers is decreasing while our patch volume is increasing. > Consider that Heikki is working mostly on Hot Standby and Streaming > Replication, Alvaro isn't as involved in applying patches, Neil Conway > isn

Re: [HACKERS] Hot standby, freezing

2009-11-11 Thread Simon Riggs
On Wed, 2009-11-11 at 12:35 +0200, Heikki Linnakangas wrote: > While reading through the patch for what must be the 100th time by now, :-) > it occurred to me that this comment in heap_xlog_freeze: > > + /* > +* Freezing tuples does not require conflict processing > +*/ >

Re: [HACKERS] Deadlock on the same object?

2009-11-11 Thread Tom Lane
Itagaki Takahiro writes: > I encountered the following log in 8.4.1 and HEAD. The deadlock occured > on the same object (relation 17498 of database 17497). Is it reasonable? I think this is an artifact of the fact that SQL functions parse the whole querystring before executing any of it. Parsing

Re: [HACKERS] total execution time as reported by auto_explain

2009-11-11 Thread Tom Lane
Jaime Casanova writes: > I was using auto_explain to log plans (with analyze option on) from > queries that take more than 500ms, something i found i little odd is > that the duration says 779ms but actual time says 269ms (almost 3 > times lower), maybe some kind of instrumentation cleanup can exp

Re: [HACKERS] Hot Standby status

2009-11-11 Thread Simon Riggs
On Tue, 2009-11-10 at 15:11 -0500, Michael Glaesemann wrote: > I skimmed through the documentation to get a better handle on what > this will mean. Thanks for this and any further corrections/additions. -- Simon Riggs www.2ndQuadrant.com -- Sent via pgsql-hackers mailing list (p

Re: [HACKERS] Hot Standby status

2009-11-11 Thread Simon Riggs
On Tue, 2009-11-10 at 22:00 +0200, Devrim GÜNDÜZ wrote: > On Tue, 2009-11-10 at 20:36 +0200, Heikki Linnakangas wrote: > > Attached is the latest and greatest patch against CVS head, taken from > > the hs-riggs branch in my git repository. > > Is there a reason why recovery.conf.sample does not in

Re: [HACKERS] Parsing config files in a directory

2009-11-11 Thread Simon Riggs
On Tue, 2009-11-10 at 20:14 -0800, Josh Berkus wrote: > On 11/10/09 5:59 AM, Bruce Momjian wrote: > > Simon Riggs wrote: > >> All of this *also* applies to shared_preload_libraries. We also need to > >> be able to specify new load libraries without editing the same darn > >> parameter. > > > > And

Re: [HACKERS] [GENERAL] PostgreSQL 8.3.8 on AIX5.3 : compilation failed

2009-11-11 Thread Albe Laurenz
Tom Lane wrote: >> The problem is that both _LARGE_FILES and _LARGE_FILE_API are #defined >> in this case, which makes #include fail. >> Does anyone have an idea how to best fix this problem in the >> source tree? I'm willing to implement and test. > > I've committed changes for this in CVS, plea

[HACKERS] Hot standby, freezing

2009-11-11 Thread Heikki Linnakangas
While reading through the patch for what must be the 100th time by now, it occurred to me that this comment in heap_xlog_freeze: + /* +* Freezing tuples does not require conflict processing +*/ is plain wrong. In the master, we can freeze the xmin of a tuple that's not yet v

Re: [HACKERS] Hot Standby status

2009-11-11 Thread Heikki Linnakangas
Devrim GÜNDÜZ wrote: > Is there a reason why recovery.conf.sample does not include (sample) > entries for recovery_connections and max_standby_delay? No, they probably should be included. I'll add them, thanks. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com -- Sent via pg