[PATCH] Change wait_time column of pg_stat_lock to double precision - Mailing list pgsql-hackers

From Tatsuya Kawata
Subject [PATCH] Change wait_time column of pg_stat_lock to double precision
Date
Msg-id CAHza6qerEiQehrbW5xaXyxvR0qJe3KBX1R4kocDz1+7Ygu8x-g@mail.gmail.com
Whole thread
Responses Re: [PATCH] Change wait_time column of pg_stat_lock to double precision
List pgsql-hackers
Hi,

While looking at the lock-related code, I noticed that pg_stat_lock
is the only statistics view whose timing column (wait_time) uses
bigint.  Every other statistics view uses double precision for
measured-time columns.  I do not see a reason for pg_stat_lock to
differ.

The attached patch changes the column to double precision.

Regards,
Tatsuya Kawata

Attachment

pgsql-hackers by date:

Previous
From: jian he
Date:
Subject: Re: Fix SET EXPRESSION for virtual columns with whole-row dependencies
Next
From: "ZizhuanLiu X-MAN"
Date:
Subject: Re: Return value of XLogInsertRecord() for XLOG_SWITCH record