]> granicus.if.org Git - postgresql/commit
The patch fixes a rare bug that may occur when one tries to vacuum a single
authorVadim B. Mikheev <vadim4o@yahoo.com>
Thu, 17 Apr 1997 01:45:36 +0000 (01:45 +0000)
committerVadim B. Mikheev <vadim4o@yahoo.com>
Thu, 17 Apr 1997 01:45:36 +0000 (01:45 +0000)
commita0d63ac98c3144373ddc9c879c574a0bf03f1a32
treea135b3c8dca8eb9f4167a32fbad3a8ac6b30b232
parentba697c8c0b1afc3c5aca429088ab8141d90ccf59
The patch fixes a rare bug that may occur when one tries to vacuum a single
table. The table name is de-allocated by the CommitTransactionCommand()
in vc_init() before it is copied in VacRel.data and sometimes this causes
a SIGSEGV. My patch simply moves the strcpy before vc_init.

Submitted by Massimo Dal Zotto <dz@cs.unitn.it>.
src/backend/commands/vacuum.c