Re: [HACKERS] pg_stat_statements: calls under-estimation propagation

2013-09-19 Thread samthakur74
On Thu, Sep 19, 2013 at 11:32 AM, Fujii Masao-2 [via PostgreSQL] < ml-node+s1045698n5771565...@n5.nabble.com> wrote: > On Thu, Sep 19, 2013 at 2:25 PM, samthakur74 <[hidden > email]> > wrote: > > >>I got the segmentation fault when I tested th

Re: [HACKERS] FW: REVIEW: Allow formatting in log_line_prefix

2013-09-19 Thread David Rowley
On Fri, Sep 20, 2013 at 12:48 AM, Peter Eisentraut wrote: > Something is weird in your latest patch. The header is: > > diff -u -r b/postgresql/doc/src/sgml/config.sgml > a/postgresql/doc/src/sgml/config.sgml > --- b/postgresql/doc/src/sgml/config.sgml 2013-09-09 > 23:40:52.356371191 +1200

Re: [HACKERS] proposal: lob conversion functionality

2013-09-19 Thread Rushabh Lathia
On Thu, Sep 19, 2013 at 10:19 PM, Pavel Stehule wrote: > Hello > > here is patch > Looks good. Marking it as Ready for Committer. > > Regards > > Pavel > > > > 2013/9/19 Pavel Stehule > >> >> >> >> 2013/9/19 Rushabh Lathia >> >>> Hi Pavel, >>> >>> I have reviewed you patch. >>> >>> -- Patch

Re: [HACKERS] [RFC] Extend namespace of valid guc names

2013-09-19 Thread Amit Kapila
On Thu, Sep 19, 2013 at 2:48 PM, Andres Freund wrote: > On 2013-09-18 11:02:50 +0200, Andres Freund wrote: >> On 2013-09-18 11:55:24 +0530, Amit Kapila wrote: >> >> > > I think that ship has long since sailed. postgresql.conf has allowed >> > > foo.bar style GUCs via custom_variable_classes for a

Re: [HACKERS] UTF8 national character data type support WIP patch and list of open issues.

2013-09-19 Thread Valentine Gogichashvili
Hi, > That may be what's important to you, but it's not what's important to >> me. >> > > National character types support may be important to some potential users > of PostgreSQL and the popularity of PostgreSQL, not me. That's why > national character support is listed in the PostgreSQL TODO

Re: [HACKERS] Range types do not display in pg_stats

2013-09-19 Thread Robert Haas
On Thu, Sep 19, 2013 at 4:54 PM, Josh Berkus wrote: > > create table tstztest( trange tstzrange ); > > postgres=# insert into tstztest select tstzrange(t, t + interval '1 month') > from generate_series('2012-01-01'::timestamptz,'2018-01-01','1 month') > as gs(t); > INSERT 0 73 > postgres=# analyze

Re: [HACKERS] Looking for information on our elephant

2013-09-19 Thread Tatsuo Ishii
Oh great! Thank you Oleg! -- Tatsuo Ishii SRA OSS, Inc. Japan English: http://www.sraoss.co.jp/index_en.php Japanese: http://www.sraoss.co.jp > Tatsuo, > > I have emails even from 1995 ! You can see that historical message here: > http://www.pgsql.ru/db/mw/msg.html?mid=1238939 > > Re: [HACKERS

Re: [HACKERS] UTF8 national character data type support WIP patch and list of open issues.

2013-09-19 Thread Tatsuo Ishii
> On Mon, Sep 16, 2013 at 8:49 AM, MauMau wrote: >> 2. NCHAR/NVARCHAR columns can be used in non-UTF-8 databases and always >> contain Unicode data. > ... >> 3. Store strings in UTF-16 encoding in NCHAR/NVARCHAR columns. >> Fixed-width encoding may allow faster string manipulation as described in

Re: [HACKERS] Looking for information on our elephant

2013-09-19 Thread Oleg Bartunov
Tatsuo, I have emails even from 1995 ! You can see that historical message here: http://www.pgsql.ru/db/mw/msg.html?mid=1238939 Re: [HACKERS] PostgreSQL logo. *Author:* yang( at )sjuphil( dot )sju( dot )edu *Date:* 1997-04-03 20:36:33 *Subject:*

[HACKERS] Looking for information on our elephant

2013-09-19 Thread Tatsuo Ishii
Hi, I'm Looking for information on our elephant: especially how/why we chose elephant as our mascot. According to: http://wiki.postgresql.org/wiki/Logo The discussion was back to 1997 on the hackers list. Unfortunately the official archive for 1997 was lost. Mine seems to be gone too. Any inform

Re: [HACKERS] Dead code or buggy code?

2013-09-19 Thread Greg Stark
So I'm just going to make the code defensive and assume NULL is possible when if maybe it isn't. In case it's not clear, this is one of the thing's Xi Wang's took picked up. There not to many but it turns out they are indeed not all in the adt code so I might wait until after the commit fest to co

Re: [HACKERS] [PERFORM] encouraging index-only scans

2013-09-19 Thread Andres Freund
On 2013-09-19 14:39:43 -0400, Robert Haas wrote: > On Tue, Sep 17, 2013 at 7:10 PM, Andres Freund wrote: > > I generally think the current logic for triggering VACUUMs via > > autovacuum doesn't really make all that much sense in the days where we > > have the visibility map. > > Right now, wheth

Re: [HACKERS] UTF8 national character data type support WIP patch and list of open issues.

2013-09-19 Thread MauMau
From: "Robert Haas" That may be what's important to you, but it's not what's important to me. National character types support may be important to some potential users of PostgreSQL and the popularity of PostgreSQL, not me. That's why national character support is listed in the PostgreSQL T

Re: [HACKERS] record identical operator - Review

2013-09-19 Thread Steve Singer
On 09/12/2013 06:27 PM, Kevin Grittner wrote: Attached is a patch for a bit of infrastructure I believe to be necessary for correct behavior of REFRESH MATERIALIZED VIEW CONCURRENTLY as well as incremental maintenance of matviews. Here is attempt at a review of the v1 patch. There has been a h

Re: [HACKERS] Re: [BUGS] BUG #7873: pg_restore --clean tries to drop tables that don't exist

2013-09-19 Thread Pavel Stehule
2013/9/16 Satoshi Nagayasu > (2013/07/06 1:16), Pavel Stehule wrote: > >> I am sending a patch that removes strict requirements for DROP IF >> EXISTS statements. This behave is similar to our ALTER IF EXISTS >> behave now. >> >> >> postgres=# DROP CAST IF EXISTS (sss AS public.casttesttype); >> N

Re: [HACKERS] [RFC] Extend namespace of valid guc names

2013-09-19 Thread Andres Freund
On 2013-09-19 14:57:53 -0400, Robert Haas wrote: > On Tue, Sep 17, 2013 at 6:56 PM, Andres Freund wrote: > > I think that ship has long since sailed. postgresql.conf has allowed > > foo.bar style GUCs via custom_variable_classes for a long time, and > > these days we don't even require that but al

Re: [HACKERS] Freezing without write I/O

2013-09-19 Thread Ants Aasma
On Thu, Sep 19, 2013 at 2:42 PM, Heikki Linnakangas wrote: >> * switchFinishXmin and nextSwitchXid should probably be either volatile >>or have a compiler barrier between accessing shared memory and >>checking them. The compiler very well could optimize them away and >>access shmem all

Re: [HACKERS] Where to load modules from?

2013-09-19 Thread Andres Freund
On 2013-09-19 22:56:52 +0200, Dimitri Fontaine wrote: > Robert Haas writes: > >> I think I'd prefer a GUC that allows specifying multiple directories > >> that are searched in order to a single symlinked directory. > > > > Why? > > > > I ask because I have the opposite preference, based on the pre

Re: [HACKERS] Dump/Reload broken with relocatable extensions

2013-09-19 Thread Dimitri Fontaine
Vik Fearing writes: > I don't know if this has been discussed before, a cursory search of the > archives didn't turn up anything interesting. I perhaps didn't put in > the right keywords. For others not to spend too much time on this: it seems like a problem with the extension not abiding by the

Re: [HACKERS] [PERFORM] encouraging index-only scans

2013-09-19 Thread Kevin Grittner
Robert Haas wrote: > Right now, whether or not to autovacuum is the rest of a two-pronged > test.  The first prong is based on number of updates and deletes > relative to table size; that triggers a regular autovacuum.  The > second prong is based on age(relfrozenxid) and triggers a > non-page-s

[HACKERS] Dump/Reload broken with relocatable extensions

2013-09-19 Thread Vik Fearing
I don't know if this has been discussed before, a cursory search of the archives didn't turn up anything interesting. I perhaps didn't put in the right keywords. Unfortunately, the easiest way that I've found to reproduce this bug is to apply the attached patch to the unaccent extension. This is

Re: [HACKERS] Where to load modules from?

2013-09-19 Thread Dimitri Fontaine
Robert Haas writes: >> I think I'd prefer a GUC that allows specifying multiple directories >> that are searched in order to a single symlinked directory. > > Why? > > I ask because I have the opposite preference, based on the precedent of > pg_xlog. I understand Andres preference, as it would a

[HACKERS] Range types do not display in pg_stats

2013-09-19 Thread Josh Berkus
create table tstztest( trange tstzrange ); postgres=# insert into tstztest select tstzrange(t, t + interval '1 month') from generate_series('2012-01-01'::timestamptz,'2018-01-01','1 month') as gs(t); INSERT 0 73 postgres=# analyze tstztest; ANALYZE postgres=# select * from pg_stats where tablenam

Re: [HACKERS] [RFC] Extend namespace of valid guc names

2013-09-19 Thread Robert Haas
On Tue, Sep 17, 2013 at 6:56 PM, Andres Freund wrote: >> That's more or less what I figured. One thing I'm uncomfortable with >> is that, while this is useful for extensions, what do we do when we >> have a similar requirement for core? The proposed GUC name is of the >> format extension.user_de

Re: [HACKERS] record identical operator

2013-09-19 Thread Robert Haas
On Wed, Sep 18, 2013 at 7:29 PM, Vik Fearing wrote: > On 09/19/2013 12:55 AM, Dimitri Fontaine wrote: >>> We have, as a community, gone to a fair amount of trouble to make >>> > the concept of equality pluggable and allow multiple types of >>> > equality per type. To me it seems the perfect tool

Re: [HACKERS] Assertions in PL/PgSQL

2013-09-19 Thread Robert Haas
On Sat, Sep 14, 2013 at 6:09 PM, Marko Tiikkaja wrote: > On 2013-09-14 23:55, Pavel Stehule wrote: >> but introduction a reserved keword for one very special purpose (without >> extensibility) is not prudent. > > How about using an existing keyword then? ASSERTION used to be reserved in > the SQL

Re: [HACKERS] UTF8 national character data type support WIP patch and list of open issues.

2013-09-19 Thread Robert Haas
On Wed, Sep 18, 2013 at 6:42 PM, MauMau wrote: >> It seems to me that these two points here are the real core of your >> proposal. The rest is just syntactic sugar. > > No, those are "desirable if possible" features. What's important is to > declare in the manual that PostgreSQL officially suppo

Re: [HACKERS] [PERFORM] encouraging index-only scans

2013-09-19 Thread Robert Haas
On Tue, Sep 17, 2013 at 7:10 PM, Andres Freund wrote: > I generally think the current logic for triggering VACUUMs via > autovacuum doesn't really make all that much sense in the days where we > have the visibility map. Right now, whether or not to autovacuum is the rest of a two-pronged test. T

Re: [HACKERS] Where to load modules from?

2013-09-19 Thread Robert Haas
On Wed, Sep 18, 2013 at 12:53 PM, Andres Freund wrote: > On 2013-09-18 08:46:08 -0400, Robert Haas wrote: >> Here's another idea. At initdb time, create an empty directory called >> called pg_you_can_load_stuff_from_here (pick a better name) inside >> $PGDATA. Allow it to be replaced with a syml

Re: [HACKERS] Dead code or buggy code?

2013-09-19 Thread Robert Haas
On Wed, Sep 18, 2013 at 6:20 PM, Greg Stark wrote: > The following code is in the ProcSleep at proc.c:1138. > GetBlockingAutoVacuumPgproc() should presumably always return a vacuum > pgproc entry since the deadlock state says it's blocked by autovacuum. > But I'm not really familiar enough with th

Re: [HACKERS] Not In Foreign Key Constraint

2013-09-19 Thread David Johnston
Misa Simic wrote > Hi hackers, > > I just wonder how hard would be to implement something like "Not In FK > Constraint" or opposite to FK... A more useful couple next sentences would be along the lines of: I have this problemI've approached it by doingbut it seems that an actual database

Re: [HACKERS] Minor inheritance/check bug: Inconsistent behavior

2013-09-19 Thread Robert Haas
>> Marking this as Ready for committer. > > Thanks a ton for reviewing the patch. I rewrote the comments for this patch and fixed the incorrect formatting in parse_relation.c. It used spaces instead of tabs, which is why if you look at the patch file you'll see that the alignment looked off. See

Re: [HACKERS] Re: Proposal/design feedback needed: WITHIN GROUP (sql standard ordered set aggregate functions)

2013-09-19 Thread Andrew Gierth
> "Robert" == Robert Haas writes: >> bgworker.c: In function 'WaitForBackgroundWorkerStartup': >> bgworker.c:866: warning: 'pid' may be used uninitialized in this function Robert> Does the attached patch fix it for you? It compiles without error and looks ok... -- Andrew (irc:RhodiumTo

Re: [HACKERS] Re: Proposal/design feedback needed: WITHIN GROUP (sql standard ordered set aggregate functions)

2013-09-19 Thread Robert Haas
On Thu, Sep 19, 2013 at 12:52 PM, Andrew Gierth wrote: > It compiles without error and looks ok... Thanks for checking. Committed. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org

Re: [HACKERS] proposal: lob conversion functionality

2013-09-19 Thread Pavel Stehule
Hello here is patch Regards Pavel 2013/9/19 Pavel Stehule > > > > 2013/9/19 Rushabh Lathia > >> Hi Pavel, >> >> I have reviewed you patch. >> >> -- Patch got applied cleanly (using patch -p1) >> -- Make & Make install works fine >> -- make check looks good >> >> I done code-walk and it loo

Re: [HACKERS] Not In Foreign Key Constraint

2013-09-19 Thread Misa Simic
2013/9/19 David Johnston > Misa Simic wrote > > I guess that rule can be achieved with triigers on TableA and TableC - > but > > the same is true for FK (and FK constraint is more effective then trigger > > - > > that is why I wonder would it be useful/achievable to create that kind of > > constr

Re: [HACKERS] Some interesting news about Linux 3.12 OOM

2013-09-19 Thread Dimitri Fontaine
Robert Haas writes: > I laughed, too, but the reality is that at least as far as PG is > concerned it's probably a truthful statement, and if it isn't, nobody > here is likely to complain about having to fix it. Yeah, there's a > lot of other code out there not as well written or maintained as PG

Re: [HACKERS] Support for REINDEX CONCURRENTLY

2013-09-19 Thread Robert Haas
On Tue, Sep 17, 2013 at 7:04 PM, Andres Freund wrote: >> 1. We're not in a huge hurry to ensure that sinval notifications are >> delivered in a timely fashion. We know that sinval resets are bad, so >> if a backend is getting close to needing a sinval reset, we kick it in >> an attempt to get it

Re: [HACKERS] Performance problem in PLPgSQL

2013-09-19 Thread dlight
We intsall postgresql 9.3.0 server from FreeBSD ports http://svnweb.freebsd.org/ports/head/databases/postgresql93-server/ the administrator says that he already contains this patch. -- View this message in context: http://postgresql.1045698.n5.nabble.com/Performance-problem-in-PLPgSQL-tp576

Re: [HACKERS] Some interesting news about Linux 3.12 OOM

2013-09-19 Thread Dimitri Fontaine
Andres Freund writes: > What has changed is how to react to situations where memory has been > overcommitted but is now actually needed. Sure. You either have a failure at malloc() or usage, over commit is all about never failing at malloc(), but now you have to deal with OOM conditions in creati

Re: [HACKERS] logical changeset generation v6

2013-09-19 Thread Robert Haas
On Thu, Sep 19, 2013 at 10:43 AM, Andres Freund wrote: >> - Looking specifically at the 0004 patch, I think that the >> RecentGlobalDataXmin changes are logically separate from the rest of >> the patch, and that if we're going to commit them at all, it should be >> separate from the rest of this.

Re: [HACKERS] Some interesting news about Linux 3.12 OOM

2013-09-19 Thread Andres Freund
On 2013-09-19 11:49:05 -0400, Robert Haas wrote: > On Thu, Sep 19, 2013 at 11:30 AM, Merlin Moncure wrote: > > On Thu, Sep 19, 2013 at 9:12 AM, Robert Haas wrote: > >>> But, naturally, that will not be a problem > >>> since all user-space code diligently checks the return status of every > >>> sy

Re: [HACKERS] Some interesting news about Linux 3.12 OOM

2013-09-19 Thread Robert Haas
On Thu, Sep 19, 2013 at 12:02 PM, Andres Freund wrote: > The "problem" is that it's not just about malloc() (aka brk() and > mmap()) and friends. It's about many of the other systemcalls. Like > e.g. send() to name one of the more likely ones. *shrug* If you're using for send() and not testing f

Re: [HACKERS] Some interesting news about Linux 3.12 OOM

2013-09-19 Thread Andres Freund
On 2013-09-19 18:23:07 +0200, Dimitri Fontaine wrote: > I've been told at several instances that this has been made for the JVM > and other such programs that want to allocate huge amount of memory even > if they don't really intend to use it. That's not really related - what you describe is memor

Re: [HACKERS] Some interesting news about Linux 3.12 OOM

2013-09-19 Thread Robert Haas
On Thu, Sep 19, 2013 at 11:30 AM, Merlin Moncure wrote: > On Thu, Sep 19, 2013 at 9:12 AM, Robert Haas wrote: >>> But, naturally, that will not be a problem >>> since all user-space code diligently checks the return status of every >>> system call and responds with well-tested error-handling code

Re: [HACKERS] Some interesting news about Linux 3.12 OOM

2013-09-19 Thread Merlin Moncure
On Thu, Sep 19, 2013 at 9:12 AM, Robert Haas wrote: >> But, naturally, that will not be a problem >> since all user-space code diligently checks the return status of every >> system call and responds with well-tested error-handling code when >> things go wrong. That just short circuited my sarcas

Re: [HACKERS] logical changeset generation v6

2013-09-19 Thread Andres Freund
Hi Robert, On 2013-09-19 10:02:31 -0400, Robert Haas wrote: > On Tue, Sep 17, 2013 at 10:31 AM, Andres Freund > wrote: > > Rebased patches attached. > > I spent a bit of time looking at these patches yesterday and today. > It seems to me that there's a fair amount of stylistic cleanup that is >

Re: [HACKERS] Some interesting news about Linux 3.12 OOM

2013-09-19 Thread Robert Haas
On Wed, Sep 18, 2013 at 10:09 PM, Daniel Farina wrote: > I'm not sure how many of you have been tracking this but courtesy of > lwn.net I have learned that it seems that the OOM killer behavior in > Linux 3.12 will be significantly different. And by description, it > sounds like an improvement.

Re: [HACKERS] Re: Proposal/design feedback needed: WITHIN GROUP (sql standard ordered set aggregate functions)

2013-09-19 Thread Robert Haas
On Tue, Sep 17, 2013 at 2:27 PM, Andrew Gierth wrote: >> "Robert" == Robert Haas writes: > > >> Someone should do the same in WaitForBackgroundWorkerStartup so > >> that building with -Werror works. > > Robert> I don't get a warning there. Can you be more specific about > Robert> the pro

Re: [HACKERS] logical changeset generation v6

2013-09-19 Thread Robert Haas
On Tue, Sep 17, 2013 at 10:31 AM, Andres Freund wrote: > Rebased patches attached. I spent a bit of time looking at these patches yesterday and today. It seems to me that there's a fair amount of stylistic cleanup that is still needed, and some pretty bad naming choices, and some FIXMEs that shou

Re: [HACKERS] Patch for fail-back without fresh backup

2013-09-19 Thread Sawada Masahiko
On Thu, Sep 19, 2013 at 7:32 PM, Fujii Masao wrote: > On Thu, Sep 19, 2013 at 7:07 PM, Sawada Masahiko > wrote: >> On Thu, Sep 19, 2013 at 12:25 PM, Fujii Masao wrote: >>> On Thu, Sep 19, 2013 at 11:48 AM, Sawada Masahiko >>> wrote: I attached the patch which I have modified. >>> >>> Tha

Re: [HACKERS] Freezing without write I/O

2013-09-19 Thread Andres Freund
On 2013-09-19 14:40:35 +0200, Andres Freund wrote: > > >* I think heap_lock_tuple() needs to unset all-visible, otherwise we > > > won't vacuum that page again which can lead to problems since we > > > don't do full-table vacuums again? > > > > It's OK if the page is never vacuumed again, the

Re: [HACKERS] record identical operator

2013-09-19 Thread Hannu Krosing
On 09/19/2013 02:41 PM, Kevin Grittner wrote: > Hannu Krosing wrote: > >> the patch solves the general problem of "when the table changes, >> refresh" >> >> After saying it like this, the problem could also be solved by >> including xmin(s) for rows from underlying table(s)in the >> matview. >> >>

[HACKERS] information schema parameter_default implementation

2013-09-19 Thread Amit Khandekar
On 15 September 2013 01:35, Peter Eisentraut wrote: > > Here is an updated patch which fixes the bug you have pointed out. > > On Thu, 2013-01-31 at 18:59 +0500, Ali Dar wrote: > > > I checked our your patch. There seems to be an issue when we have OUT > > parameters after the DEFAULT values. > >

Re: [HACKERS] FW: REVIEW: Allow formatting in log_line_prefix

2013-09-19 Thread Peter Eisentraut
Something is weird in your latest patch. The header is: diff -u -r b/postgresql/doc/src/sgml/config.sgml a/postgresql/doc/src/sgml/config.sgml --- b/postgresql/doc/src/sgml/config.sgml 2013-09-09 23:40:52.356371191 +1200 +++ a/postgresql/doc/src/sgml/config.sgml 2013-09-19 22:13:26.

Re: [HACKERS] record identical operator

2013-09-19 Thread Kevin Grittner
Hannu Krosing wrote: > the patch solves the general problem of "when the table changes, > refresh" > > After saying it like this, the problem could also be solved by > including xmin(s) for rows from underlying table(s)in the > matview. > > Would this be a better approach ? Now you're moving fro

Re: [HACKERS] Freezing without write I/O

2013-09-19 Thread Andres Freund
Hi, On 2013-09-19 14:42:19 +0300, Heikki Linnakangas wrote: > On 18.09.2013 16:22, Andres Freund wrote: > >* Why can we do a GetOldestXmin(allDbs = false) in > > BeginXidLSNRangeSwitch()? > > Looks like a bug. I think I got the arguments backwards, was supposed to be > allDbs = true and ignoreV

Re: [HACKERS] Assertions in PL/PgSQL

2013-09-19 Thread Pavel Stehule
2013/9/19 Marko Tiikkaja > On 9/19/13 2:08 PM, Pavel Stehule wrote: > >> I think so similar frameworks will be exists (we have some similar >> Probably You and me have a same opinion so only simple and very primitive >> assert is not enough: >> >> I see as useful feature for assertions: >> >> a)

Re: [HACKERS] record identical operator

2013-09-19 Thread Andres Freund
On 2013-09-19 05:33:22 -0700, Kevin Grittner wrote: > Dimitri Fontaine wrote: > > Kevin Grittner writes: > > >> The problem, as I see it, is that the view and the concurrently > >> refreshed materialized view don't yield the same results for the > >> same query.  The rows are equal, but they are

Re: [HACKERS] record identical operator

2013-09-19 Thread Kevin Grittner
Dimitri Fontaine wrote: > Kevin Grittner writes: >> The problem, as I see it, is that the view and the concurrently >> refreshed materialized view don't yield the same results for the >> same query.  The rows are equal, but they are not the same. >> With the patch the matview, after RMVC, looks

Re: [HACKERS] Assertions in PL/PgSQL

2013-09-19 Thread Marko Tiikkaja
On 9/19/13 2:08 PM, Pavel Stehule wrote: I think so similar frameworks will be exists (we have some similar Probably You and me have a same opinion so only simple and very primitive assert is not enough: I see as useful feature for assertions: a) possibility to specify a message (two parametric

Re: [HACKERS] Assertions in PL/PgSQL

2013-09-19 Thread Marko Tiikkaja
On 9/18/13 5:11 PM, Pavel Stehule wrote: In this code a assert fail can be lost in app log. Or can be knowingly handled and ignored - what is wrong, and should not be allowed. When I wrote a little bit complex procedures, I had to use a EXCEPTION WHEN OTHERS clause - because I would not to lost

Re: [HACKERS] Assertions in PL/PgSQL

2013-09-19 Thread Pavel Stehule
2013/9/18 Jim Nasby > On 9/14/13 11:55 PM, Pavel Stehule wrote: > >> >> >> >> 2013/9/15 Marko Tiikkaja mailto:ma...@joh.to>> >> >> >> On 2013-09-15 00:09, Pavel Stehule wrote: >> >> this is a possibility for introduction a new hook and possibility >> implement >> asserions and

Re: [HACKERS] proposal: lob conversion functionality

2013-09-19 Thread Pavel Stehule
2013/9/19 Rushabh Lathia > Hi Pavel, > > I have reviewed you patch. > > -- Patch got applied cleanly (using patch -p1) > -- Make & Make install works fine > -- make check looks good > > I done code-walk and it looks good. Also did some manual testing and > haven't > found any issue with the imple

Re: [HACKERS] Freezing without write I/O

2013-09-19 Thread Heikki Linnakangas
On 18.09.2013 16:22, Andres Freund wrote: On 2013-09-16 16:59:28 +0300, Heikki Linnakangas wrote: Here's a rebased version of the patch, including the above-mentioned fixes. Nothing else new. * We need some higherlevel description of the algorithm somewhere in the source. I don't think I've

Re: [HACKERS] record identical operator

2013-09-19 Thread Hannu Krosing
On 09/19/2013 10:54 AM, Dimitri Fontaine wrote: > Kevin Grittner writes: >> There are examples in the patch and this thread, but rather than >> reference back to those I'll add a new one. Without the patch: > Thanks much for doing that. > >> The problem, as I see it, is that the view and the conc

[HACKERS] FW: REVIEW: Allow formatting in log_line_prefix

2013-09-19 Thread David Rowley
(Forgot to copy list) From: David Rowley [mailto:dgrowle...@gmail.com] Sent: 19 September 2013 22:35 To: Albe Laurenz Subject: Re: REVIEW: Allow formatting in log_line_prefix Hi Laurenz, Thanks for the review. Please see my comments below and the updated patch attached. On Thu, Sep 19

Re: [HACKERS] Patch for fail-back without fresh backup

2013-09-19 Thread Fujii Masao
On Thu, Sep 19, 2013 at 7:07 PM, Sawada Masahiko wrote: > On Thu, Sep 19, 2013 at 12:25 PM, Fujii Masao wrote: >> On Thu, Sep 19, 2013 at 11:48 AM, Sawada Masahiko >> wrote: >>> I attached the patch which I have modified. >> >> Thanks for updating the patch! >> >> Here are the review comments:

Re: [HACKERS] proposal: lob conversion functionality

2013-09-19 Thread Rushabh Lathia
Hi Pavel, I have reviewed you patch. -- Patch got applied cleanly (using patch -p1) -- Make & Make install works fine -- make check looks good I done code-walk and it looks good. Also did some manual testing and haven't found any issue with the implementation. Patch introduced two new API load_

Re: [HACKERS] Patch for fail-back without fresh backup

2013-09-19 Thread Sawada Masahiko
On Thu, Sep 19, 2013 at 12:25 PM, Fujii Masao wrote: > On Thu, Sep 19, 2013 at 11:48 AM, Sawada Masahiko > wrote: >> I attached the patch which I have modified. > > Thanks for updating the patch! > > Here are the review comments: > Thank you for reviewing! > I got the compiler warning: > >

Re: [HACKERS] [RFC] Extend namespace of valid guc names

2013-09-19 Thread Andres Freund
On 2013-09-18 11:02:50 +0200, Andres Freund wrote: > On 2013-09-18 11:55:24 +0530, Amit Kapila wrote: > > > > I think that ship has long since sailed. postgresql.conf has allowed > > > foo.bar style GUCs via custom_variable_classes for a long time, and > > > these days we don't even require that b

Re: [HACKERS] record identical operator

2013-09-19 Thread Dimitri Fontaine
Kevin Grittner writes: > There are examples in the patch and this thread, but rather than > reference back to those I'll add a new one.  Without the patch: Thanks much for doing that. > The problem, as I see it, is that the view and the concurrently > refreshed materialized view don't yield the