pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
fyi error follow up
3+ messages / 2 participants
[nested] [flat]

* fyi error follow up
@ 2003-08-02 13:20 maillist <maillist@tnss.com>
  2003-08-02 15:01 ` Re: fyi error follow up Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 1 reply; 3+ messages in thread

From: maillist @ 2003-08-02 13:20 UTC (permalink / raw)
  To: pgsql-admin

there was a cron job running doing a vacum on the entire database



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: fyi error follow up
  2003-08-02 13:20 fyi error follow up maillist <maillist@tnss.com>
@ 2003-08-02 15:01 ` Tom Lane <tgl@sss.pgh.pa.us>
  2003-08-02 17:40   ` Re: fyi error follow up maillist <maillist@tnss.com>
  0 siblings, 1 reply; 3+ messages in thread

From: Tom Lane @ 2003-08-02 15:01 UTC (permalink / raw)
  To: maillist <maillist@tnss.com>; +Cc: pgsql-admin

maillist <maillist@tnss.com> writes:
> there was a cron job running doing a vacum on the entire database

I was about to say that then it's a known issue --- two ANALYZE
operations running concurrently for the same table can generate
a "simple_heap_insert" or "simple_heap_update" failure from trying
to update the same pg_statistic row at the same time.  This is fairly
harmless (as long as one of 'em succeeds, who cares if the other
doesn't?).

However, looking back at your original message, you said the error
mentioned "simple_heap_delete", didn't you?  Hmm ... how old is your
PG installation?  ANALYZE hasn't used simple_heap_delete since 7.1...

			regards, tom lane



^ permalink  raw  reply  [nested|flat] 3+ messages in thread

* Re: fyi error follow up
  2003-08-02 13:20 fyi error follow up maillist <maillist@tnss.com>
  2003-08-02 15:01 ` Re: fyi error follow up Tom Lane <tgl@sss.pgh.pa.us>
@ 2003-08-02 17:40   ` maillist <maillist@tnss.com>
  0 siblings, 0 replies; 3+ messages in thread

From: maillist @ 2003-08-02 17:40 UTC (permalink / raw)
  To: ; +Cc: pgsql-admin

Tom Lane wrote:
> 
> maillist <maillist@tnss.com> writes:
> > there was a cron job running doing a vacum on the entire database
> 
> I was about to say that then it's a known issue --- two ANALYZE
> operations running concurrently for the same table can generate
> a "simple_heap_insert" or "simple_heap_update" failure from trying
> to update the same pg_statistic row at the same time.  This is fairly
> harmless (as long as one of 'em succeeds, who cares if the other
> doesn't?).
> 
> However, looking back at your original message, you said the error
> mentioned "simple_heap_delete", didn't you?  Hmm ... how old is your
> PG installation?  ANALYZE hasn't used simple_heap_delete since 7.1...
> 
>                         regards, tom lane

well it may be really old to you but in my world its middle of the road
I have pgsql
7.0.3 running on sco open server
7.0.2 running on redhat 6.2
7.1.3-4bp.2 running on rh 7.2 (where problem occured)
7.3.2-3 running on redhat 9.0 (where I'm finding all the wiz bang
improvments that are breaking my code)
whatever version runs on redhat as 2.1 replacing 7.0.3, allowing me to
retire 7.0.2



^ permalink  raw  reply  [nested|flat] 3+ messages in thread


end of thread, other threads:[~2003-08-02 17:40 UTC | newest]

Thread overview: 3+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-08-02 13:20 fyi error follow up maillist <maillist@tnss.com>
2003-08-02 15:01 ` Tom Lane <tgl@sss.pgh.pa.us>
2003-08-02 17:40   ` maillist <maillist@tnss.com>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox