Re: [BUGS] BUG #7533: Client is not able to connect cascade standby incase basebackup is taken from hot standby

2012-09-13 Thread Heikki Linnakangas
On 12.09.2012 22:03, Fujii Masao wrote: On Wed, Sep 12, 2012 at 8:47 PM, wrote: The following bug has been logged on the website: Bug reference: 7533 Logged by: Amit Kapila Email address: amit.kap...@huawei.com PostgreSQL version: 9.2.0 Operating system: Suse Description:

Re: [BUGS] BUG #7533: Client is not able to connect cascade standby incase basebackup is taken from hot standby

2012-09-13 Thread Amit Kapila
On Thursday, September 13, 2012 5:52 PM Heikki Linnakangas wrote: On 12.09.2012 22:03, Fujii Masao wrote: > On Wed, Sep 12, 2012 at 8:47 PM, wrote: >> The following bug has been logged on the website: >> >>> Bug reference: 7533 >>> Logged by: Amit Kapila >>> Email address: amit.

Re: [BUGS] BUG #6704: ALTER EXTENSION postgis SET SCHEMA leaves dangling relations

2012-09-13 Thread Dimitri Fontaine
Alvaro Herrera writes: > Well, what I saw was that both the table and its SERIAL-generated > sequence got an DEPENDENCY_EXTENSION row in pg_depend, which is exactly > what (IMV) causes the problem. One of my proposals is to tweak the code > to avoid that row (but if we do that, then we need to do

Re: [BUGS] Re: Probable bug with CreateFakeRelcacheEntry (now with reproducible test case)

2012-09-13 Thread Robert Haas
On Wed, Sep 12, 2012 at 7:19 PM, Jeff Davis wrote: > This bug seems particularly troublesome because the right fix would be > to include the relpersistence in the WAL records that need it. But that > can't be backported (right?). No, because if a WAL record was written at all, then by definition

Re: [BUGS] BUG #6704: ALTER EXTENSION postgis SET SCHEMA leaves dangling relations

2012-09-13 Thread Dimitri Fontaine
Dimitri Fontaine writes: > I think we shouldn't change the content of pg_depend lightly here, and So here's a patch following that idea. Even for TIP I don't want us to change how pg_depend tracking is done, because I want to propose a fix for the pg_dump bug wrt sequences and pg_extension_confi

Re: [BUGS] BUG #7533: Client is not able to connect cascade standby incase basebackup is taken from hot standby

2012-09-13 Thread Fujii Masao
On Thu, Sep 13, 2012 at 9:21 PM, Heikki Linnakangas wrote: > On 12.09.2012 22:03, Fujii Masao wrote: >> >> On Wed, Sep 12, 2012 at 8:47 PM, wrote: >>> >>> The following bug has been logged on the website: >>> >>> Bug reference: 7533 >>> Logged by: Amit Kapila >>> Email address:

[BUGS] BUG #7536: run arbitrary -c setup command before interaction [wishlist]

2012-09-13 Thread bugs
The following bug has been logged on the website: Bug reference: 7536 Logged by: Brad Bowman Email address: b...@bereft.net PostgreSQL version: 9.1.5 Operating system: linux Description: I'd like a -c (or -f) option that doesn't exit immediately. In my case, I'd like

Re: [BUGS] Re: Probable bug with CreateFakeRelcacheEntry (now with reproducible test case)

2012-09-13 Thread Jeff Davis
On Thu, 2012-09-13 at 12:39 -0400, Robert Haas wrote: > On Wed, Sep 12, 2012 at 7:19 PM, Jeff Davis wrote: > > This bug seems particularly troublesome because the right fix would be > > to include the relpersistence in the WAL records that need it. But that > > can't be backported (right?). > > N

Re: [BUGS] BUG #7534: walreceiver takes long time to detect n/w breakdown

2012-09-13 Thread Fujii Masao
On Thu, Sep 13, 2012 at 1:22 PM, Amit Kapila wrote: > On Wednesday, September 12, 2012 10:15 PM Fujii Masao > On Wed, Sep 12, 2012 at 8:54 PM, wrote: >>> The following bug has been logged on the website: >>> >>> Bug reference: 7534 >>> Logged by: Amit Kapila >>> Email address:

Re: [BUGS] BUG #7516: PL/Perl crash

2012-09-13 Thread Tom Lane
Marko Tiikkaja writes: > On 9/12/12 1:50 AM, Tom Lane wrote: >> Marko Tiikkaja writes: >>> Joel Jacobson managed to narrow it down to this test case, which crashes >>> consistently on Ubuntu 12.04 both with and without your patch. I, >>> however, wasn't able to reproduce the problem on my OS X M

Re: [BUGS] BUG #7516: PL/Perl crash

2012-09-13 Thread Marko Tiikkaja
On 13/09/2012 19:48, Tom Lane wrote: Marko Tiikkaja writes: On 9/12/12 1:50 AM, Tom Lane wrote: Hm, I wonder if it's Ubuntu-specific? What Perl version is that exactly? We've reproduced it on both 5.14.2 and 5.16.1. What happens is that free_plperl_function() for some reason gets called w

Re: [BUGS] initdb.exe changes --locale option

2012-09-13 Thread Dave Page
Sandeep, can you look into this and respond on list please? The thread started here: http://archives.postgresql.org/pgsql-bugs/2012-09/msg00083.php It sounds to me like the OS is at fault for not accepting the name it gives to a locale as input, and that the change to the installer would be a work

Re: [BUGS] BUG #7516: PL/Perl crash

2012-09-13 Thread Tom Lane
Marko Tiikkaja writes: > On 13/09/2012 19:48, Tom Lane wrote: >> Hm, I wonder if it's Ubuntu-specific? What Perl version is that exactly? > We've reproduced it on both 5.14.2 and 5.16.1. Meh. I've managed to reproduce it on the fifth system I tried. I don't think it's got anything to do with

Re: [BUGS] BUG #7516: PL/Perl crash

2012-09-13 Thread Tom Lane
I wrote: > Apparently the reasoning is that current_call_data is a static and > therefore the compiler can see everything that can happen to it and > therefore this store into current_call_data is dead code, since the > store six lines below will replace it. Sigh. I shall file a bug, > but I've f

Re: [BUGS] BUG #7516: PL/Perl crash

2012-09-13 Thread Tom Lane
I wrote: > A probably less costly solution than marking current_call_data volatile > is just to make it not-static. And on still further investigation, the patch I just applied to HEAD seems to make it go away too. Bizarre as can be. If that holds up for you, I think back-patching that change is

[BUGS] how to proccess record returning null

2012-09-13 Thread te
Hi all, I am new to postgresql and I am trying to write a function which uses record (r) to select from table and then proccess that record value. CREATE OR REPLACE FUNCTION clean() RETURNS integer AS $$ DECLARE r record; result integer:= 0; BEGIN FOR r i

Re: [BUGS] how to proccess record returning null

2012-09-13 Thread John R Pierce
On 09/13/12 12:17 PM, te wrote: FOR r in select distinct(id) from temp select clean() what is this selecting records from? what is "temp" ? -- john r pierceN 37, W 122 santa cruz ca mid-left coast -- Sent via pgsql-

[BUGS] BUG #7537: Server will not start up from Windows Service Manager

2012-09-13 Thread dfisupport
The following bug has been logged on the website: Bug reference: 7537 Logged by: Owen Sleep Email address: dfisupp...@docfocus.ca PostgreSQL version: 9.0.8 Operating system: Windows Server 2003 Service Pack 2 Description: PostgreSQL service was running successfully fo

Re: [BUGS] BUG #7533: Client is not able to connect cascade standby incase basebackup is taken from hot standby

2012-09-13 Thread Amit Kapila
On Thursday, September 13, 2012 10:32 PM Fujii Masao wrote: On Thu, Sep 13, 2012 at 9:21 PM, Heikki Linnakangas wrote: > On 12.09.2012 22:03, Fujii Masao wrote: >> >> On Wed, Sep 12, 2012 at 8:47 PM, wrote: >>> >>> The following bug has been logged on the website: >>> >>> Bug reference: 7533