Lists: | pgsql-hackersPostg젠 토토SQL : |
---|
From: | Laurette Cisneros <laurette(at)nextbus(dot)com> |
---|---|
To: | pgsql-hackers(at)postgresql(dot)org |
Subject: | pg7.3b1 |
Date: | 2002-09-26 20:46:33 |
Message-ID: | Pine.LNX.4.44.0209261344540.3395-100000@visor.corp.nextbus.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers pgsql-patches |
I am so glad that postgres now keeps track of relationships between rule,
views, functions, tables, etc. I've had to re-do all my creation and drop
scripts but this is definitely for the better.
During my testing of my scripts, I have come across this message:
psql:/u1/cvs73/DataBase/Config/Schema/logconfig.sql:142: WARNING: Relcache reference leak: relation "positions" has refcnt 1 instead of 0
What does this indicate?
Thanks,
--
Laurette Cisneros
The Database Group
(510) 420-3137
NextBus Information Systems, Inc.
www.nextbus.com
-----------------------------------
NextBus say:
Riders prefer to arrive just minute
before bus than just minute after.
From: | Rod Taylor <rbt(at)rbt(dot)ca> |
---|---|
To: | Laurette Cisneros <laurette(at)nextbus(dot)com> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: pg7.3b1 |
Date: | 2002-09-26 20:52:57 |
Message-ID: | 1033073578.26731.258.camel@jester |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers Postg젠 토토SQL : |
On Thu, 2002-09-26 at 16:46, Laurette Cisneros wrote:
>
> I am so glad that postgres now keeps track of relationships between rule,
> views, functions, tables, etc. I've had to re-do all my creation and drop
> scripts but this is definitely for the better.
>
> During my testing of my scripts, I have come across this message:
> psql:/u1/cvs73/DataBase/Config/Schema/logconfig.sql:142: WARNING: Relcache reference leak: relation "positions" has refcnt 1 instead of 0
>
> What does this indicate?
Someone (probably me) made a mistake and forgot to release a cache
handle.
Do you happen to have a sequence of commands that can reproduce this?
--
Rod Taylor
From: | Laurette Cisneros <laurette(at)nextbus(dot)com> |
---|---|
To: | Rod Taylor <rbt(at)rbt(dot)ca> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: pg7.3b1 |
Date: | 2002-09-26 20:55:53 |
Message-ID: | Pine.LNX.4.44.0209261355350.3560-100000@visor.corp.nextbus.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers pgsql-patches |
I'll see if I can pare down my scripts (they are long) to reproduce this
easier.
L.
On 26 Sep 2002, Rod Taylor wrote:
> On Thu, 2002-09-26 at 16:46, Laurette Cisneros wrote:
> >
> > I am so glad that postgres now keeps track of relationships between rule,
> > views, functions, tables, etc. I've had to re-do all my creation and drop
> > scripts but this is definitely for the better.
> >
> > During my testing of my scripts, I have come across this message:
> > psql:/u1/cvs73/DataBase/Config/Schema/logconfig.sql:142: WARNING: Relcache reference leak: relation "positions" has refcnt 1 instead of 0
> >
> > What does this indicate?
>
> Someone (probably me) made a mistake and forgot to release a cache
> handle.
>
> Do you happen to have a sequence of commands that can reproduce this?
>
>
--
Laurette Cisneros
The Database Group
(510) 420-3137
NextBus Information Systems, Inc.
www.nextbus.com
-----------------------------------
NextBus say:
Riders prefer to arrive just minute
before bus than just minute after.
From: | Laurette Cisneros <laurette(at)nextbus(dot)com> |
---|---|
To: | Rod Taylor <rbt(at)rbt(dot)ca> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: pg7.3b1 |
Date: | 2002-10-02 23:03:34 |
Message-ID: | Pine.LNX.4.44.0210021601490.19630-100000@visor.corp.nextbus.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers pgsql-patches |
Ok, finally had time to narrow this down.
Here's the simplified script that will reproduce this (this sequence
reroduces on my system using 7.3b2):
\echo BEGIN tst.sql
create table pp
( x integer
, i text
);
create view p as
select * from pp where i is null;
comment on view p is
'This is a comment.';
create rule p_ins as on insert to p do instead
insert into pp
values ( new.x
, null
);
comment on rule p_ins is 'insert to p goes to pp';
\echo END tst.sql
On 26 Sep 2002, Rod Taylor wrote:
> On Thu, 2002-09-26 at 16:46, Laurette Cisneros wrote:
> >
> > I am so glad that postgres now keeps track of relationships between rule,
> > views, functions, tables, etc. I've had to re-do all my creation and drop
> > scripts but this is definitely for the better.
> >
> > During my testing of my scripts, I have come across this message:
> > psql:/u1/cvs73/DataBase/Config/Schema/logconfig.sql:142: WARNING: Relcache reference leak: relation "positions" has refcnt 1 instead of 0
> >
> > What does this indicate?
>
> Someone (probably me) made a mistake and forgot to release a cache
> handle.
>
> Do you happen to have a sequence of commands that can reproduce this?
>
>
--
Laurette Cisneros
The Database Group
(510) 420-3137
NextBus Information Systems, Inc.
www.nextbus.com
------------------------------
Do you know where your bus is?
From: | Rod Taylor <rbt(at)rbt(dot)ca> |
---|---|
To: | Laurette Cisneros <laurette(at)nextbus(dot)com> |
Cc: | PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: [HACKERS] pg7.3b1 |
Date: | 2002-10-03 00:16:12 |
Message-ID: | 1033604172.74003.16.camel@jester |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers Postg범퍼카 토토SQL |
Same rule patch, right email this time :)
Lock on the rule relation wasn't removed after adding the comment.
On Wed, 2002-10-02 at 19:03, Laurette Cisneros wrote:
> Ok, finally had time to narrow this down.
>
> Here's the simplified script that will reproduce this (this sequence
> reroduces on my system using 7.3b2):
>
> \echo BEGIN tst.sql
>
> create table pp
> ( x integer
> , i text
> );
>
> create view p as
> select * from pp where i is null;
>
> comment on view p is
> 'This is a comment.';
>
> create rule p_ins as on insert to p do instead
> insert into pp
> values ( new.x
> , null
> );
>
> comment on rule p_ins is 'insert to p goes to pp';
>
> \echo END tst.sql
>
>
> On 26 Sep 2002, Rod Taylor wrote:
>
> > On Thu, 2002-09-26 at 16:46, Laurette Cisneros wrote:
> > >
> > > I am so glad that postgres now keeps track of relationships between rule,
> > > views, functions, tables, etc. I've had to re-do all my creation and drop
> > > scripts but this is definitely for the better.
> > >
> > > During my testing of my scripts, I have come across this message:
> > > psql:/u1/cvs73/DataBase/Config/Schema/logconfig.sql:142: WARNING: Relcache reference leak: relation "positions" has refcnt 1 instead of 0
> > >
> > > What does this indicate?
> >
> > Someone (probably me) made a mistake and forgot to release a cache
> > handle.
> >
> > Do you happen to have a sequence of commands that can reproduce this?
> >
> >
>
> --
> Laurette Cisneros
> The Database Group
> (510) 420-3137
> NextBus Information Systems, Inc.
> www.nextbus.com
> ------------------------------
> Do you know where your bus is?
>
>
--
Rod Taylor
Attachment | Content-Type | Size |
---|---|---|
rule.patch | text/x-patch | 1.0 KB |
From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Rod Taylor <rbt(at)rbt(dot)ca> |
Cc: | Laurette Cisneros <laurette(at)nextbus(dot)com>, PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: [HACKERS] pg7.3b1 |
Date: | 2002-10-04 02:29:12 |
Message-ID: | 200210040229.g942TCa26961@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | Postg토토 사이트 순위SQL pgsql-patches |
Your patch has been added to the PostgreSQL unapplied patches list at:
http://candle.pha.pa.us/cgi-bin/pgpatches
I will try to apply it within the next 48 hours.
---------------------------------------------------------------------------
Rod Taylor wrote:
> Same rule patch, right email this time :)
>
> Lock on the rule relation wasn't removed after adding the comment.
>
> On Wed, 2002-10-02 at 19:03, Laurette Cisneros wrote:
> > Ok, finally had time to narrow this down.
> >
> > Here's the simplified script that will reproduce this (this sequence
> > reroduces on my system using 7.3b2):
> >
> > \echo BEGIN tst.sql
> >
> > create table pp
> > ( x integer
> > , i text
> > );
> >
> > create view p as
> > select * from pp where i is null;
> >
> > comment on view p is
> > 'This is a comment.';
> >
> > create rule p_ins as on insert to p do instead
> > insert into pp
> > values ( new.x
> > , null
> > );
> >
> > comment on rule p_ins is 'insert to p goes to pp';
> >
> > \echo END tst.sql
> >
> >
> > On 26 Sep 2002, Rod Taylor wrote:
> >
> > > On Thu, 2002-09-26 at 16:46, Laurette Cisneros wrote:
> > > >
> > > > I am so glad that postgres now keeps track of relationships between rule,
> > > > views, functions, tables, etc. I've had to re-do all my creation and drop
> > > > scripts but this is definitely for the better.
> > > >
> > > > During my testing of my scripts, I have come across this message:
> > > > psql:/u1/cvs73/DataBase/Config/Schema/logconfig.sql:142: WARNING: Relcache reference leak: relation "positions" has refcnt 1 instead of 0
> > > >
> > > > What does this indicate?
> > >
> > > Someone (probably me) made a mistake and forgot to release a cache
> > > handle.
> > >
> > > Do you happen to have a sequence of commands that can reproduce this?
> > >
> > >
> >
> > --
> > Laurette Cisneros
> > The Database Group
> > (510) 420-3137
> > NextBus Information Systems, Inc.
> > www.nextbus.com
> > ------------------------------
> > Do you know where your bus is?
> >
> >
> --
> Rod Taylor
[ Attachment, skipping... ]
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Rod Taylor <rbt(at)rbt(dot)ca> |
Cc: | Laurette Cisneros <laurette(at)nextbus(dot)com>, PostgreSQL Patches <pgsql-patches(at)postgresql(dot)org> |
Subject: | Re: [HACKERS] pg7.3b1 |
Date: | 2002-10-09 16:27:01 |
Message-ID: | 200210091627.g99GR1v16748@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Lists: | pgsql-hackers pgsql-patches |
Patch applied with Tom's fix for heap_close(NoLock). Thanks.
---------------------------------------------------------------------------
Rod Taylor wrote:
> Same rule patch, right email this time :)
>
> Lock on the rule relation wasn't removed after adding the comment.
>
> On Wed, 2002-10-02 at 19:03, Laurette Cisneros wrote:
> > Ok, finally had time to narrow this down.
> >
> > Here's the simplified script that will reproduce this (this sequence
> > reroduces on my system using 7.3b2):
> >
> > \echo BEGIN tst.sql
> >
> > create table pp
> > ( x integer
> > , i text
> > );
> >
> > create view p as
> > select * from pp where i is null;
> >
> > comment on view p is
> > 'This is a comment.';
> >
> > create rule p_ins as on insert to p do instead
> > insert into pp
> > values ( new.x
> > , null
> > );
> >
> > comment on rule p_ins is 'insert to p goes to pp';
> >
> > \echo END tst.sql
> >
> >
> > On 26 Sep 2002, Rod Taylor wrote:
> >
> > > On Thu, 2002-09-26 at 16:46, Laurette Cisneros wrote:
> > > >
> > > > I am so glad that postgres now keeps track of relationships between rule,
> > > > views, functions, tables, etc. I've had to re-do all my creation and drop
> > > > scripts but this is definitely for the better.
> > > >
> > > > During my testing of my scripts, I have come across this message:
> > > > psql:/u1/cvs73/DataBase/Config/Schema/logconfig.sql:142: WARNING: Relcache reference leak: relation "positions" has refcnt 1 instead of 0
> > > >
> > > > What does this indicate?
> > >
> > > Someone (probably me) made a mistake and forgot to release a cache
> > > handle.
> > >
> > > Do you happen to have a sequence of commands that can reproduce this?
> > >
> > >
> >
> > --
> > Laurette Cisneros
> > The Database Group
> > (510) 420-3137
> > NextBus Information Systems, Inc.
> > www.nextbus.com
> > ------------------------------
> > Do you know where your bus is?
> >
> >
> --
> Rod Taylor
[ Attachment, skipping... ]
>
> ---------------------------(end of broadcast)---------------------------
> TIP 6: Have you searched our list archives?
>
> http://archives.postgresql.org
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073