Skip site navigation (1) Skip section navigation (2)

Re: [HACKERS] select * from ..;vacuum crashes

From: Vadim Mikheev <vadim(at)krs(dot)ru>
To: Taral <taral(at)mail(dot)utexas(dot)edu>
Cc: t-ishii(at)sra(dot)co(dot)jp, pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] select * from ..;vacuum crashes
Date: 1998-10-06 06:51:27
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
Taral wrote:
> > begin;
> > select * from getting;
> > vacuum;
> > end;
> Question: Does the following really make sense?
> begin transaction;
> select * from table;
> vacuum;
> abort transaction;

Using vacuum inside BEGIN/END is Bad Idea!!!
MUST be disabled: vacuum uses MANY transaction but
CommitTransactionCommand() used by vacuum does nothing
inside BEGIN/END (only increments command counter).


In response to

pgsql-hackers by date

Next:From: Frank RidderbuschDate: 1998-10-06 07:41:31
Subject: Portability Issue in src/backend/port/snprintf.c (I think)
Previous:From: Bruce MomjianDate: 1998-10-06 05:42:44
Subject: Re: [HACKERS] select * from ..;vacuum crashes

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group