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

Re: [HACKERS] delete from ..;vacuum crashes

From: t-ishii(at)sra(dot)co(dot)jp (Tatsuo Ishii)
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: pgsql-hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] delete from ..;vacuum crashes
Date: 1998-10-02 14:16:10
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-hackers
At 2:14 AM 98.10.2 -0400, Tom Lane wrote:
>Tatsuo Ishii <t-ishii(at)sra(dot)co(dot)jp> writes:
>> Here is a report regarding the backend-crash from a user in Japan.
>> Included shell script should reproduce the phenomenon.
>On which postgres version(s)?

The latest cvs source tree (I have not tried this for 6.3.2).

>The implication of this is that psql -c "select * from getting; vacuum;"
>executes the select and the vacuum as part of a single transaction,
>whereas any other way of doing it with psql will make the commands be
>two separate transactions.  I speculate that this has something to do
>with the different behavior you see.

So basically the backend treats multiple SQL statements conjucted with ";"
as a single transaction?

If this is the cause of the problem, following SQLs should produce
the backend death too. I will try this.

select * from getting;
Tatsuo Ishii

pgsql-hackers by date

Next:From: Thomas G. LockhartDate: 1998-10-02 14:26:46
Subject: Re: [HACKERS] regproc fix
Previous:From: Tom LaneDate: 1998-10-02 14:12:01
Subject: Re: [HACKERS] Names that suddenly include an OID

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