| From: | Andres Freund <andres(at)2ndquadrant(dot)com> |
|---|---|
| To: | David Rowley <dgrowleyml(at)gmail(dot)com> |
| Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Re: space reserved for WAL record does not match what was written: panic on windows |
| Date: | 2013-10-04 12:19:40 |
| Message-ID: | 20131004121940.GO19661@awork2.anarazel.de |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers pgsql-www |
On 2013-10-05 01:05:37 +1300, David Rowley wrote:
> In HEAD of 9.4 I'm getting the following:
>
> D:\9.4\bin>postgres.exe -D d:\9.4\data
> LOG: database system was shut down at 2013-10-05 00:43:33 NZDT
> LOG: database system is ready to accept connections
> LOG: autovacuum launcher started
> PANIC: space reserved for WAL record does not match what was written:
> CurrPos = 18446744071562067968 EndPos = 2147483648
Could it be that MAXALIGN/TYPEALIGN doesn't really work for values
bigger than 32bit?
#define MAXALIGN(LEN) TYPEALIGN(MAXIMUM_ALIGNOF, (LEN))
#define TYPEALIGN(ALIGNVAL,LEN) \
(((intptr_t) (LEN) + ((ALIGNVAL) - 1)) & ~((intptr_t) ((ALIGNVAL) - 1)))
Greetings,
Andres Freund
--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David Rowley | 2013-10-04 12:34:59 | Re: space reserved for WAL record does not match what was written: panic on windows |
| Previous Message | David Rowley | 2013-10-04 12:05:37 | space reserved for WAL record does not match what was written: panic on windows |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | David Rowley | 2013-10-04 12:34:59 | Re: space reserved for WAL record does not match what was written: panic on windows |
| Previous Message | David Rowley | 2013-10-04 12:05:37 | space reserved for WAL record does not match what was written: panic on windows |