mirror of
https://github.com/postgres/postgres.git
synced 2025-05-11 05:41:32 +03:00
Silence compiler warnings, per Bruce.
This commit is contained in:
parent
7fb1a0b5f3
commit
dfa58878cb
src/backend/commands
@ -8,7 +8,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $PostgreSQL: pgsql/src/backend/commands/analyze.c,v 1.105 2007/04/18 16:44:17 alvherre Exp $
|
* $PostgreSQL: pgsql/src/backend/commands/analyze.c,v 1.106 2007/04/19 16:26:44 alvherre Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -468,7 +468,7 @@ analyze_rel(Oid relid, VacuumStmt *vacstmt)
|
|||||||
/* Log the action if appropriate */
|
/* Log the action if appropriate */
|
||||||
if (IsAutoVacuumWorkerProcess() && Log_autovacuum >= 0)
|
if (IsAutoVacuumWorkerProcess() && Log_autovacuum >= 0)
|
||||||
{
|
{
|
||||||
long diff;
|
long diff = 0L;
|
||||||
|
|
||||||
if (Log_autovacuum > 0)
|
if (Log_autovacuum > 0)
|
||||||
{
|
{
|
||||||
|
@ -36,7 +36,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $PostgreSQL: pgsql/src/backend/commands/vacuumlazy.c,v 1.86 2007/04/18 16:44:18 alvherre Exp $
|
* $PostgreSQL: pgsql/src/backend/commands/vacuumlazy.c,v 1.87 2007/04/19 16:26:44 alvherre Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -217,7 +217,7 @@ lazy_vacuum_rel(Relation onerel, VacuumStmt *vacstmt)
|
|||||||
/* and log the action if appropriate */
|
/* and log the action if appropriate */
|
||||||
if (IsAutoVacuumWorkerProcess() && Log_autovacuum >= 0)
|
if (IsAutoVacuumWorkerProcess() && Log_autovacuum >= 0)
|
||||||
{
|
{
|
||||||
long diff;
|
long diff = 0L;
|
||||||
|
|
||||||
if (Log_autovacuum > 0)
|
if (Log_autovacuum > 0)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user