Re: [COMMITTERS] pgsql: Cleanup ClusterInfo initialization in pg_upgrade

Bruce Momjian <bruce@momjian.us>

From: Bruce Momjian <bruce@momjian.us>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: PostgreSQL-development <pgsql-hackers@postgreSQL.org>
Date: 2011-02-16T20:18:14Z
Lists: pgsql-hackers

Commits

Same data as JSON: GET /api/v1/messages/:b64id/commits the thread's linked commits as JSON, with link sources. API reference →
  1. Cleanup ClusterInfo initialization in pg_upgrade

Attachments

Alvaro Herrera wrote:
> Cleanup ClusterInfo initialization in pg_upgrade

Global structs are already initialized to zero, so no need to initialize
them.  I discussed this with Alvaro, and he suggested that there is no
need to free memory before we exit.  The attached, applied patch makes
both changes.

-- 
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +