hi
i run valgrind
Dual Pentium II 450 MHz, 512MB, Matrox G200 8MB, some of the
latest versions of red hat linux, postgres 7.3.2
valgrind /opt/pgsql/bin/postgres -D /scratch/pgsql/data V7.3_DB_AUGC_9
that what i got:
backend> create table to_test (seq int primary key);
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index
'to_test_pkey' for table 'to_test'
==11217== Use of uninitialised value of size 4
==11217== at 0x8086CE9: XLogInsert (xlog.c:556)
==11217== by 0x8077945: log_heap_update (heapam.c:2093)
==11217== by 0x8077163: heap_update (heapam.c:1706)
==11217== by 0x80773A7: simple_heap_update (heapam.c:1765)
==11217==
==11217== Use of uninitialised value of size 4
==11217== at 0x8086CF6: XLogInsert (xlog.c:556)
==11217== by 0x8077945: log_heap_update (heapam.c:2093)
==11217== by 0x8077163: heap_update (heapam.c:1706)
==11217== by 0x80773A7: simple_heap_update (heapam.c:1765)
==11217==
==11217== Syscall param write(buf) contains uninitialised or unaddressable
byte(s)
==11217== at 0x420D69C8: __GI___libc_write (in /lib/i686/libc-2.3.2.so)
==11217== by 0x80884C2: XLogFlush (xlog.c:1281)
==11217== by 0x8085FE9: RecordTransactionCommit (xact.c:592)
==11217== by 0x8086396: CommitTransaction (xact.c:982)
==11217== Address 0x411CD5EA is 26778 bytes inside a block of size
983040 alloc'd
==11217== at 0x4015F38C: malloc (vg_clientfuncs.c:103)
==11217== by 0x80FFE24: PrivateMemoryCreate (pg_shmem.c:257)
==11217== by 0x80FFFDB: PGSharedMemoryCreate (pg_shmem.c:313)
==11217== by 0x8112122: CreateSharedMemoryAndSemaphores (ipci.c:78)
but everything runs fine
ulli
--