Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commite230c0b

Browse files
committed
Clarify clearing of attribute stats memory.
1 parentb851844 commite230c0b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

‎src/backend/commands/vacuum.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.19 1997/02/07 16:22:34 momjian Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/commands/vacuum.c,v 1.20 1997/02/18 04:13:57 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -526,9 +526,7 @@ vc_vacone (Oid relid)
526526
vc_updstats(vacrelstats->relid,vacrelstats->npages,vacrelstats->ntups,
527527
vacrelstats->hasindex,vacrelstats->vacattrstats);
528528

529-
/* next command frees everything anyway */
530-
if (vacrelstats->vacattrstats!=NULL)
531-
pfree(vacrelstats);
529+
/* next command frees attribute stats */
532530

533531
CommitTransactionCommand();
534532
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp