From: | "ffffceffffac" "ffffbdffffaa" <jiangwei_1976(at)yahoo(dot)com(dot)cn> |
---|---|
To: | Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl> |
Cc: | pgsql-bugs(at)postgresql(dot)org |
Subject: | Re: server crash in very big transaction [postgresql 8.0beta1] |
Date: | 2004-08-25 11:47:08 |
Message-ID: | 20040825114708.71156.qmail@web15606.mail.cnb.yahoo.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-bugs pgsql-hackers |
--- Alvaro Herrera <alvherre(at)dcc(dot)uchile(dot)cl> wrote:
> On Sun, Aug 22, 2004 at 09:39:07AM +0800, ??????
> wrote:
> > BEGIN;
> > ...
> > ...
> > ...
> > END;
> >
> > PANIC: invalid xlog record length 236052
>
> Huh, so what kind of operations did you execute
> within the transaction?
>
> --
> Alvaro Herrera (<alvherre[a]dcc.uchile.cl>)
> Voy a acabar con todos los humanos / con los humanos
> yo acabar?> voy a acabar con todos / con todos los
humanos
> acabar?(Bender)
>
>
-------------------example 1--------------------
$ echo "BEGIN;" > backup.sql
$ pg_dump -o >> backup.sql
$ echo "END;" >> backup.sql
...
$ psql -f backup.sql
PANIC: invalid xlog record length 236052
----------------example 2 ------------------------
There are 1600 tables in database 'db1', I wrote a
pl/pgsql function "update_tables" like
"
FOR table IN SELECT relname FROM pg_class
LOOP
...
DROP INDEX ON ... ;
ALTER TABLE DROP CONSTRAINT ...;
...
CREATE INDEX xxx ON TABLE xxx;
...
ALTER TABLE xxx ADD PRIMARY KEY...
ALTER TABLE xxx ADD ...
...
END LOOP
...
"
$ select update_tables();
PANIC: invalid xlog record length 236052
__________________________________
Do you Yahoo!?
Yahoo! Mail Address AutoComplete - You start. We finish.
http://promotions.yahoo.com/new_mail
From | Date | Subject | |
---|---|---|---|
Next Message | Josh Berkus | 2004-08-25 17:00:12 | Re: TOAST error in 7.4.2 on frequently truncated tables |
Previous Message | Tom Lane | 2004-08-25 05:27:41 | Re: TOAST error in 7.4.2 on frequently truncated tables |
From | Date | Subject | |
---|---|---|---|
Next Message | Daniel Kalchev | 2004-08-25 16:07:23 | Re: missing data/global |
Previous Message | Jan Wieck | 2004-08-25 11:29:57 | Re: [COMMITTERS] pgsql-server: Rearrange pg_subtrans handling |