On Sat, Jan 10, 2015 at 2:27 AM, Bruce Momjian <br...@momjian.us> wrote: > so some memory is allocated, and has to be freed. I looked at avoiding > the call to gen_db_file_maps() for old_db->rel_arr.nrels == 0, but there > are checks in there comparing the old/new relation counts, so it can't > be skipped. I also removed the unnecessary memory initialization. Patch is fine IMO for its purpose. -- Michael
-- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers