pgsql: Initialize structure at declaration

From: Peter Eisentraut <peter(at)eisentraut(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Initialize structure at declaration
Date: 2019-03-25 08:46:34
Message-ID: E1h8LFa-0001Km-D3@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Initialize structure at declaration

Avoids extra memset call and cast.

Discussion: https://www.postgresql.org/message-id/flat/7a5cbea7-b8df-e910-0f10-04014bcad701%402ndquadrant.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/572e3e6634e55accf95e2bcfb1340019c86a21dc

Modified Files
--------------
contrib/dblink/dblink.c | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2019-03-25 09:05:42 pgsql: Align timestamps in pg_regress output
Previous Message Andres Freund 2019-03-25 07:20:55 pgsql: tableam: Add and use table_fetch_row_version().