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: | 199810021417.XAA10638@meshsv26.tk.mesh.ad.jp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
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.
begin;
select * from getting;
vacuum;
end;
--
Tatsuo Ishii
t-ishii(at)sra(dot)co(dot)jp
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas G. Lockhart | 1998-10-02 14:26:46 | Re: [HACKERS] regproc fix |
Previous Message | Tom Lane | 1998-10-02 14:12:01 | Re: [HACKERS] Names that suddenly include an OID |