Re: [HACKERS] Modifying update_attstats of analyze.c for C Strings

2014-07-07 Thread Ashoke
As a follow-up question, I found some of the varchar column types, in which the histogram_bounds are not being surrounded in double quotes (" ") even in the default implementation. Ex : *c_name* column of *Customer* table I also found histogram_bounds in which only some strings are surrounded in

Re: [HACKERS] Extending constraint exclusion for implied constraints/conditions

2014-07-07 Thread Ashutosh Bapat
On Mon, Jul 7, 2014 at 11:46 PM, Greg Stark wrote: > On Mon, Jul 7, 2014 at 3:07 PM, Tom Lane wrote: > > I doubt it. The extra code isn't the problem so much, it's the extra > > planning cycles spent trying to make proofs that will usually fail. > > What you propose will create a combinatorial

Re: [HACKERS] better atomics - v0.5

2014-07-07 Thread Amit Kapila
On Thu, Jul 3, 2014 at 10:56 AM, Amit Kapila wrote: > On Tue, Jul 1, 2014 at 4:10 PM, Andres Freund wrote: Further review of patch: 1. /* * pg_atomic_test_and_set_flag - TAS() * * Acquire/read barrier semantics. */ STATIC_IF_INLINE_DECLARE bool pg_atomic_test_set_flag(volatile pg_atomic_flag

[HACKERS] Modifying update_attstats of analyze.c for C Strings

2014-07-07 Thread Ashoke
Hi, I am trying to implement a functionality that is similar to ANALYZE, but needs to have different values (the values will be valid and is stored in inp->str[][]) for MCV/Histogram Bounds in case the column under consideration is varchar (C Strings). I have written a function *dummy_update_attst

Re: [HACKERS] Extending constraint exclusion for implied constraints/conditions

2014-07-07 Thread Ashutosh Bapat
On Mon, Jul 7, 2014 at 7:37 PM, Tom Lane wrote: > Ashutosh Bapat writes: > > Right now, constraint exclusion code looks only at the provided > conditions. > > If we want avoid table scan based on constraints in the above example, it > > will need to look at the implied conditions as well. E.g. v

Re: [HACKERS] [PATCH] Improve bytea error messages

2014-07-07 Thread Craig Ringer
On 07/08/2014 07:44 AM, Robert Haas wrote: > On Sun, Jul 6, 2014 at 4:17 AM, Craig Ringer wrote: >> After someone reported somewhat less than informative errors in bytea >> decoding (http://stackoverflow.com/q/24588866/398670) I thought I'd put >> together a quick patch to improve the errors here.

Re: [HACKERS] Selectivity estimation for inet operators

2014-07-07 Thread Dilip kumar
On 06 July 2014 20:33, Emre Hasegeli Wrote, > > > Apart from that there is one spell check you can correct > > -- in inet_his_inclusion_selec comments histogram boundies -> > > histogram boundaries :) > > I fixed it. New version attached. The debug log statements are also > removed. I have do

Re: [HACKERS] "RETURNING PRIMARY KEY" syntax extension

2014-07-07 Thread Rushabh Lathia
On Mon, Jul 7, 2014 at 5:50 PM, Robert Haas wrote: > On Fri, Jul 4, 2014 at 12:36 AM, Rushabh Lathia > wrote: > > On Fri, Jul 4, 2014 at 7:37 AM, Tom Lane wrote: > >> Tom Dunstan writes: > >> > On 4 July 2014 00:07, Tom Lane wrote: > >> >> It sounds to me like designing this for JDBC's getGen

Re: [HACKERS] idle_in_transaction_timeout

2014-07-07 Thread Bruce Momjian
On Tue, Jun 24, 2014 at 10:17:49AM -0700, Tom Lane wrote: > Josh Berkus writes: > > On 06/23/2014 03:52 PM, Andres Freund wrote: > >> True. Which makes me wonder whether we shouldn't default this to > >> something non-zero -- even if it is 5 or 10 days. > > > I'd go for even shorter: 48 hours.

Re: [HACKERS] things I learned from working on memory allocation

2014-07-07 Thread Peter Geoghegan
On Mon, Jul 7, 2014 at 7:04 PM, Robert Haas wrote: > The testing I did showed about a 5% overhead on REINDEX INDEX > pgbench_accounts_pkey from one extra tuple copy (cf. > 9f03ca915196dfc871804a1f8aad26207f601fd6). Of course that could vary > by circumstance for a variety of reasons. Be careful

[HACKERS] Interesting behavior change of psql

2014-07-07 Thread Tatsuo Ishii
>From 9.4 psql has slightly changed it's behavior. Pre 9.4: psql --version psql (PostgreSQL) 9.3.4 psql -U '' test FATAL: no PostgreSQL user name specified in startup packet psql: FATAL: no PostgreSQL user name specified in startup packet 9.4: psql -U '' test psql (9.4beta1, server 9.3.4) Type

Re: [HACKERS] things I learned from working on memory allocation

2014-07-07 Thread Robert Haas
On Mon, Jul 7, 2014 at 5:37 PM, Peter Geoghegan wrote: > On Mon, Jul 7, 2014 at 12:57 PM, Robert Haas wrote: >> 5. It's tempting to look at other ways of solving the parallel sort >> problem that don't need an allocator - perhaps by simply packing all >> the tuples into a DSM one after the next.

Re: [HACKERS] tab completion for setting search_path

2014-07-07 Thread Fujii Masao
On Mon, Jul 7, 2014 at 8:51 PM, Fujii Masao wrote: > On Tue, Jun 24, 2014 at 11:57 AM, Jeff Janes wrote: >> On Mon, Jun 23, 2014 at 6:25 PM, Jeff Janes wrote: >>> On Mon, Jun 23, 2014 at 3:53 PM, Andres Freund >>> wrote: On 2014-06-23 13:10:34 -0400, Robert Haas wrote: > On Mon, Jun 23

Re: [HACKERS] Built-in binning functions

2014-07-07 Thread Tom Lane
Petr Jelinek writes: > here is a patch implementing varwidth_bucket (naming is up for > discussion) function which does binning with variable bucket width. I didn't see any discussion of the naming question in this thread. I'd like to propose that it should be just "width_bucket()"; we can easil

Re: [HACKERS] [PATCH] Improve bytea error messages

2014-07-07 Thread Robert Haas
On Sun, Jul 6, 2014 at 4:17 AM, Craig Ringer wrote: > After someone reported somewhat less than informative errors in bytea > decoding (http://stackoverflow.com/q/24588866/398670) I thought I'd put > together a quick patch to improve the errors here. The first two changes seem fine from here, but

Re: [HACKERS] [REVIEW] Re: Fix xpath() to return namespace definitions

2014-07-07 Thread Tom Lane
Abhijit Menon-Sen writes: > I can confirm that it works fine. I have attached here a very slightly > tweaked version of the patch (removed trailing whitespace, and changed > some comment text). > I'm marking this ready for committer. I don't know enough about XML/XPATH to know if this is a good

Re: [HACKERS] pg_dump reporing version of server & pg_dump as comments in the output

2014-07-07 Thread Tom Lane
Jeevan Chalke writes: > Can't we remove this else all-together and print extra line unconditionally? > Also can we remove curly braces in if and else near these code changes ? > (Attached patch along those lines) I committed this with slight further rearrangement to create what seems like better

Re: [HACKERS] things I learned from working on memory allocation

2014-07-07 Thread Peter Geoghegan
On Mon, Jul 7, 2014 at 12:57 PM, Robert Haas wrote: > 5. It's tempting to look at other ways of solving the parallel sort > problem that don't need an allocator - perhaps by simply packing all > the tuples into a DSM one after the next. But this is not easy to do, > or at least it's not easy to d

Re: [HACKERS] Pg_upgrade and toast tables bug discovered

2014-07-07 Thread Bruce Momjian
On Mon, Jul 7, 2014 at 01:44:59PM -0400, Bruce Momjian wrote: > On Mon, Jul 7, 2014 at 11:24:51AM -0400, Robert Haas wrote: > > > As far as the reusing of oids, we don't set the oid counter until after > > > the restore, so any new unmatched toast table would given a very low > > > oid. Since we

[HACKERS] things I learned from working on memory allocation

2014-07-07 Thread Robert Haas
I wrote previously about my efforts to create a new memory allocator (then called sb_alloc, now renamed to BlockAllocatorContext in my git branch for consistency with existing identifiers) for PostgreSQL. To make a long story short, many of the basic concepts behind that patch still seem sound to

Re: [HACKERS] pg_xlogdump --stats

2014-07-07 Thread Abhijit Menon-Sen
At 2014-07-07 09:48:44 +0200, and...@2ndquadrant.com wrote: > > I'd suggest only defining INT64_MODIFIER here and build INT64_FORMAT, > UINT64_FORMAT ontop, in c.h. Oh, I see. I'm sorry, I misread your earlier suggestion. Regenerated patches attached. Is this what you had in mind? -- Abhijit diff

Re: [HACKERS] Extending constraint exclusion for implied constraints/conditions

2014-07-07 Thread Greg Stark
On Mon, Jul 7, 2014 at 3:07 PM, Tom Lane wrote: > I doubt it. The extra code isn't the problem so much, it's the extra > planning cycles spent trying to make proofs that will usually fail. > What you propose will create a combinatorial explosion in the number > of proof paths to be considered. W

Re: [HACKERS] RLS Design

2014-07-07 Thread Robert Haas
On Thu, Jul 3, 2014 at 1:14 AM, Stephen Frost wrote: > Alright, apologies for it being a bit later than intended, but here's > what I've come up with thus far. > > -- policies defined at a table scope > -- allows using the same policy name for different tables > -- with quals appropriate for each

Re: [HACKERS] Pg_upgrade and toast tables bug discovered

2014-07-07 Thread Bruce Momjian
On Mon, Jul 7, 2014 at 11:24:51AM -0400, Robert Haas wrote: > > As far as the reusing of oids, we don't set the oid counter until after > > the restore, so any new unmatched toast table would given a very low > > oid. Since we restore in oid order, for an oid to be assigned that was > > used in t

Re: [HACKERS] Pg_upgrade and toast tables bug discovered

2014-07-07 Thread Bruce Momjian
On Fri, Jul 4, 2014 at 11:12:58PM -0400, Bruce Momjian wrote: > On Fri, Jul 4, 2014 at 12:01:37AM -0400, Bruce Momjian wrote: > > > The most robust, but not trivial, approach seems to be to prevent toast > > > table creation if there wasn't a set_next_toast_pg_class_oid(). Then, > > > after all r

Re: [HACKERS] [RFC: bug fix?] Connection attempt block forever when the synchronous standby is not running

2014-07-07 Thread Andres Freund
On 2014-07-07 12:06:14 -0400, Tom Lane wrote: > Andres Freund writes: > > On 2014-07-07 09:57:20 -0400, Tom Lane wrote: > >> Well, see the comment that explains why the logic is like this now: > > > I think we should 'simply' make sequences assign a toplevel xid - then > > we can get rid of that

Re: [HACKERS] Allowing join removals for more join types

2014-07-07 Thread Tom Lane
David Rowley writes: > On Mon, Jul 7, 2014 at 4:15 AM, Tom Lane wrote: >> I poked around to see if we didn't have some code already for that, and >> soon found that not only do we have such code (equality_ops_are_compatible) >> but actually almost this entire patch duplicates logic that already e

Re: [HACKERS] Cluster name in ps output

2014-07-07 Thread Alvaro Herrera
Tom Lane wrote: > Also, -1 for adding another log_line_prefix escape. If you're routing > multiple clusters logging to the same place (which is already a bit > unlikely IMO), you can put distinguishing strings in log_line_prefix > already. And it's not like we've got an infinite supply of letter

Re: [HACKERS] [RFC: bug fix?] Connection attempt block forever when the synchronous standby is not running

2014-07-07 Thread Fujii Masao
On Tue, Jul 8, 2014 at 1:06 AM, Tom Lane wrote: > Andres Freund writes: >> On 2014-07-07 09:57:20 -0400, Tom Lane wrote: >>> Well, see the comment that explains why the logic is like this now: > >> I think we should 'simply' make sequences assign a toplevel xid - then >> we can get rid of that sp

Re: [HACKERS] [RFC: bug fix?] Connection attempt block forever when the synchronous standby is not running

2014-07-07 Thread Tom Lane
Andres Freund writes: > On 2014-07-07 09:57:20 -0400, Tom Lane wrote: >> Well, see the comment that explains why the logic is like this now: > I think we should 'simply' make sequences assign a toplevel xid - then > we can get rid of that special case in RecordTransactionCommit(). And I > think t

Re: [HACKERS] [RFC: bug fix?] Connection attempt block forever when the synchronous standby is not running

2014-07-07 Thread Andres Freund
On 2014-07-07 09:57:20 -0400, Tom Lane wrote: > Andres Freund writes: > > I think we should rework RecordTransactionCommit() to only wait for the > > standby if `markXidCommitted' and not if `wrote_xlog'. There really > > isn't a reason to make a readonly transaction's commit wait just because > >

Re: [HACKERS] Pg_upgrade and toast tables bug discovered

2014-07-07 Thread Robert Haas
On Fri, Jul 4, 2014 at 11:12 PM, Bruce Momjian wrote: > On Fri, Jul 4, 2014 at 12:01:37AM -0400, Bruce Momjian wrote: >> > The most robust, but not trivial, approach seems to be to prevent toast >> > table creation if there wasn't a set_next_toast_pg_class_oid(). Then, >> > after all relations ar

Re: [HACKERS] Extending constraint exclusion for implied constraints/conditions

2014-07-07 Thread Tom Lane
Ashutosh Bapat writes: > Right now, constraint exclusion code looks only at the provided conditions. > If we want avoid table scan based on constraints in the above example, it > will need to look at the implied conditions as well. E.g. val2 < 30 AND val > = val2 => val < 30. Then the constraint e

Re: [HACKERS] [RFC: bug fix?] Connection attempt block forever when the synchronous standby is not running

2014-07-07 Thread Tom Lane
Andres Freund writes: > I think we should rework RecordTransactionCommit() to only wait for the > standby if `markXidCommitted' and not if `wrote_xlog'. There really > isn't a reason to make a readonly transaction's commit wait just because > it did some hot pruning. Well, see the comment that ex

Re: [HACKERS] Cluster name in ps output

2014-07-07 Thread Robert Haas
On Fri, Jul 4, 2014 at 10:33 AM, Tom Lane wrote: > Vik Fearing writes: >>> You mean that if synchronous_standby_names is an empty it automatically >>> should be set to cluster_name? > >> No, I mean that synchronous_standby_names should look at cluster_name >> first, and if it's not set then unfor

Re: [HACKERS] TODO : Allow parallel cores to be used by vacuumdb [ WIP ]

2014-07-07 Thread Robert Haas
On Fri, Jul 4, 2014 at 1:15 AM, Dilip kumar wrote: > In attached patch, I have moved pgpipe, piperead functions to src/port/pipe.c If we want to consider proceeding with this approach, you should probably separate this into a refactoring patch that doesn't do anything but move code around and a f

Re: [HACKERS] Use unique index for longer pathkeys.

2014-07-07 Thread Abhijit Menon-Sen
Hi. I took a quick look at this patch, more or less because nobody else did. > Duing last CF, I proposed to match long pathkeys against index columns > during creating index paths. This worked fine but also it is difficult > to make sure that all side-effects are eliminated. Finally Tom Lane > su

Re: [HACKERS] "RETURNING PRIMARY KEY" syntax extension

2014-07-07 Thread Robert Haas
On Fri, Jul 4, 2014 at 12:36 AM, Rushabh Lathia wrote: > On Fri, Jul 4, 2014 at 7:37 AM, Tom Lane wrote: >> Tom Dunstan writes: >> > On 4 July 2014 00:07, Tom Lane wrote: >> >> It sounds to me like designing this for JDBC's getGeneratedKeys method >> >> is a mistake. There isn't going to be an

Re: [HACKERS] IMPORT FOREIGN SCHEMA statement

2014-07-07 Thread Ronan Dunklau
Le lundi 7 juillet 2014 07:58:33 Robert Haas a écrit : > On Mon, May 26, 2014 at 12:17 PM, Tom Lane wrote: > > Albe Laurenz writes: > >> In addition to data type mapping questions (which David already raised) > >> I have one problem when I think of the Oracle FDW: > >> > >> Oracle follows the SQ

Re: [HACKERS] IMPORT FOREIGN SCHEMA statement

2014-07-07 Thread Robert Haas
On Mon, May 26, 2014 at 12:17 PM, Tom Lane wrote: > Albe Laurenz writes: >> In addition to data type mapping questions (which David already raised) >> I have one problem when I think of the Oracle FDW: > >> Oracle follows the SQL standard in folding table names to upper case. >> So this would nor

Re: [HACKERS] Allowing join removals for more join types

2014-07-07 Thread David Rowley
On Mon, Jul 7, 2014 at 4:15 AM, Tom Lane wrote: > David Rowley writes: > > On 6 July 2014 03:20, Tom Lane wrote: > >> Just to note that I've started looking at this, and I've detected a > rather > >> significant omission: there's no check that the join operator has > anything > >> to do with th

Re: [HACKERS] tab completion for setting search_path

2014-07-07 Thread Fujii Masao
On Tue, Jun 24, 2014 at 11:57 AM, Jeff Janes wrote: > On Mon, Jun 23, 2014 at 6:25 PM, Jeff Janes wrote: >> On Mon, Jun 23, 2014 at 3:53 PM, Andres Freund >> wrote: >>> On 2014-06-23 13:10:34 -0400, Robert Haas wrote: On Mon, Jun 23, 2014 at 9:10 AM, Kevin Grittner wrote: > I wou

Re: [HACKERS] [bug fix or improvement?] Correctly place DLLs for ECPG apps in bin folder

2014-07-07 Thread Asif Naeem
Hi MauMau, Other than my pervious comments, patch looks good to me. Thanks. Regards, Muhammad Asif Naeem On Wed, Feb 26, 2014 at 2:14 AM, Peter Eisentraut wrote: > You should be able to do this without specifically referencing the names > "libpq" or "ecpg". Look into the Makefile, if it defi

Re: [HACKERS] add line number as prompt option to psql

2014-07-07 Thread Jeevan Chalke
Hi, Found two (A and B) issues with latest patch: A: -- Set prompts postgres=# \set PROMPT1 '%/[%l]%R%# ' postgres[1]=# \set PROMPT2 '%/[%l]%R%# ' postgres[1]=# postgres[1]=# select postgres[2]-# * postgres[3]-# from postgres[4]-# abc; ERROR: relation "abc" does not exist LINE 4: abc; ^

Re: [HACKERS] [REVIEW] Re: Compression of full-page-writes

2014-07-07 Thread Rahila Syed
Thank you for review comments. >There are still numerous formatting changes required, e.g. spaces around >"=" and correct formatting of comments. And "git diff --check" still has >a few whitespace problems. I won't point these out one by one, but maybe >you should run pgindent I will do this. >C

Re: [HACKERS] [RFC: bug fix?] Connection attempt block forever when the synchronous standby is not running

2014-07-07 Thread Fujii Masao
On Mon, Jul 7, 2014 at 4:14 PM, Andres Freund wrote: > Hi, > > On 2014-07-04 22:59:15 +0900, MauMau wrote: >> My customer reported a strange connection hang problem. He and I couldn't >> reproduce it. I haven't been able to understand the cause, but I can think >> of one hypothesis. Could you g

Re: [HACKERS] pg_receivexlog add synchronous mode

2014-07-07 Thread Fujii Masao
On Fri, Jul 4, 2014 at 7:45 PM, wrote: >> > Thanks for reviewing the patch! >> > >> > I think that this refactoring patch is useful for improving source >> > code readability and making the future patches simpler, whether we >> > adopt your patch or not. So, barring any objections, I'm thinking t

Re: [HACKERS] pg_xlogdump --stats

2014-07-07 Thread Andres Freund
On 2014-07-04 18:59:07 +0530, Abhijit Menon-Sen wrote: > At 2014-07-04 11:34:21 +0200, and...@2ndquadrant.com wrote: > > > > I think we're going to have to redefine the > > PGAC_FUNC_SNPRINTF_LONG_LONG_INT_FORMAT callsite in configure.in to > > define INT64_MODIFIER='"ll/l/I64D"' > > I've attached

Re: [HACKERS] [BUGS] BUG #9652: inet types don't support min/max

2014-07-07 Thread Asif Naeem
Hi Haribabu, Thank you for sharing the patch. I have spent some time to review the changes. Overall patch looks good to me, make check and manual testing seems run fine with it. There seems no related doc/sgml changes ?. Patch added network_smaller() and network_greater() functions but in PG sourc

Re: [HACKERS] [BUGS] BUG #9652: inet types don't support min/max

2014-07-07 Thread Asif Naeem
On Mon, Jun 30, 2014 at 4:45 PM, Abhijit Menon-Sen wrote: > At 2014-06-30 16:35:45 +0500, anaeem...@gmail.com wrote: > > > > pc1dotnetpk:postgresql asif$ patch -p0 < > > > ~/core/min_max_support_for_inet_datatypes/inet_agg_v4.patch > > > can't find file to patch at input line 3 > > > Perhaps you

Re: [HACKERS] [PATCH] introduce XLogLockBlockRangeForCleanup()

2014-07-07 Thread Abhijit Menon-Sen
At 2014-07-07 14:02:15 +0530, amit.khande...@enterprisedb.com wrote: > > Other than some minor comments as mentioned below, I don't have any > more issues, it looks all good. Thank you. (Updated patch attached.) -- Abhijit diff --git a/src/backend/access/nbtree/nbtxlog.c b/src/backend/access/nbtr

Re: [HACKERS] [PATCH] introduce XLogLockBlockRangeForCleanup()

2014-07-07 Thread Amit Khandekar
On 4 July 2014 19:11, Abhijit Menon-Sen wrote: > Updated patch attached, thanks. > > Amit: what's your conclusion from the review? > Other than some minor comments as mentioned below, I don't have any more issues, it looks all good. XLogLockBlockRangeForCleanup() function header comments has th

Re: [HACKERS] Request for Patch Feedback: Lag & Lead Window Functions Can Ignore Nulls

2014-07-07 Thread Jeff Davis
On Sun, 2014-07-06 at 21:11 -0700, Jeff Davis wrote: > On Wed, 2014-04-16 at 12:50 +0100, Nicholas White wrote: > > Thanks for the detailed feedback, I'm sorry it took so long to > > incorporate it. I've attached the latest version of the patch, fixing > > in particular: Looking a little more: *

Re: [HACKERS] wrapping in extended mode doesn't work well with default pager

2014-07-07 Thread Sergey Muraviov
So what's wrong with the patch? And what should I change in it for 9.5? 2014-07-07 3:12 GMT+04:00 Greg Stark : > On Sun, Jul 6, 2014 at 8:40 AM, Sergey Muraviov > wrote: > > Is there anyone who can commit the patch? > > So what I'm inclined to do here (sigh) is commit it into 9.5 and > revert i

Re: [HACKERS] 9.5 CF1

2014-07-07 Thread Abhijit Menon-Sen
At 2014-07-02 10:44:23 +0530, a...@2ndquadrant.com wrote: > > Miscellaneous > - > > contrib/fastbloat - tool for quickly assessing bloat stats for a table > Pending review by Jaime. > > showing index update time on EXPLAIN > Pending updated patch by Jaime. > > idle_in_transac

Re: [HACKERS] 9.5 CF1

2014-07-07 Thread Abhijit Menon-Sen
At 2014-07-02 10:54:05 +0530, a...@2ndquadrant.com wrote: > > Functions > - > > min/max support for inet datatypes > Pending review by Muhammad Asif Naeem. No updates. > Selectivity estimation for inet operators > Dilip Kumar plans to post a review this week. Reviewed, and updat

Re: [HACKERS] 9.5 CF1

2014-07-07 Thread Abhijit Menon-Sen
At 2014-07-02 11:09:19 +0530, a...@2ndquadrant.com wrote: > > System administration > - > > pg_hibernator > Nice feature, some discussion, no code reviews. Status not entirely > clear, but updated patch available. Now being reviewed by MauMau. > Monitoring & control >

Re: [HACKERS] 9.5 CF1

2014-07-07 Thread Abhijit Menon-Sen
At 2014-07-02 11:14:52 +0530, a...@2ndquadrant.com wrote: > > Security > > > Row-security based on Updatable security barrier views > Lots of discussion that I haven't dared to look at properly yet. I > gather there's still plenty of design-level work needed, and this > is not

Re: [HACKERS] 9.5 CF1

2014-07-07 Thread Abhijit Menon-Sen
At 2014-07-02 11:21:53 +0530, a...@2ndquadrant.com wrote: > > SQL commands > > > Event triggers: object creation support > Enormous patch, no reviews, no reviewers, but it's known to work > already. Does anyone want to have a look at this? (I thought it > was being reviewe

Re: [HACKERS] 9.5 CF1

2014-07-07 Thread Kohei KaiGai
>> Custom Plan API >> Shigeru Hanada has said he plans to post a design review soon. > > Any updates? Should this be moved to the next CF? > Now I'm working to revise the patch according to his suggestion; will be completed within a couple of days. A few issues needs design-level suggestion fro

Re: [HACKERS] [RFC: bug fix?] Connection attempt block forever when the synchronous standby is not running

2014-07-07 Thread Andres Freund
Hi, On 2014-07-04 22:59:15 +0900, MauMau wrote: > My customer reported a strange connection hang problem. He and I couldn't > reproduce it. I haven't been able to understand the cause, but I can think > of one hypothesis. Could you give me your opinions on whether my hypothesis > is correct, an

Re: [HACKERS] 9.5 CF1

2014-07-07 Thread Abhijit Menon-Sen
At 2014-07-02 11:38:31 +0530, a...@2ndquadrant.com wrote: > > Performance > --- > > scalable LWLocks > Generic atomics implementation > Both under active discussion. Work continues on these. > KNN-GiST with recheck > Partial sort > Some earlier discussion, but no conclusions, and

Re: [HACKERS] 9.5 CF1

2014-07-07 Thread Abhijit Menon-Sen
At 2014-07-02 10:36:23 +0530, a...@2ndquadrant.com wrote: > > Server features > --- > > Lag & Lead Window Functions Can Ignore Nulls > Latest patch currently pending review by Jeff and Álvaro. No > updates so far. Jeff has posted a review, and is working on the patch further.