Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id 6E5901FA2A4B for ; Thu, 26 Jul 2012 07:22:37 -0300 (ADT) Received: from momjian.us ([72.94.173.45]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SuLDF-0005mm-JH for pgsql-hackers@postgresql.org; Thu, 26 Jul 2012 10:22:37 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1SuLD1-0005QJ-9J; Thu, 26 Jul 2012 06:22:19 -0400 Date: Thu, 26 Jul 2012 06:22:19 -0400 From: Bruce Momjian To: Tom Lane Cc: Mike Wilson , PostgreSQL-development Subject: Re: Re: [BUGS] BUG #6733: All Tables Empty After pg_upgrade (PG 9.2.0 beta 2) Message-ID: <20120726102219.GD21271@momjian.us> References: <20120717205949.GA8146@momjian.us> <1857E88C-CD2D-4C44-B04B-82256B4E9959@gmail.com> <13524.1342576944@sss.pgh.pa.us> <20120718025856.GA29978@momjian.us> <14913.1342583940@sss.pgh.pa.us> <17278.1342589434@sss.pgh.pa.us> <20120719062436.GA5058@momjian.us> <20120725170113.GA22286@momjian.us> <3109.1343248210@sss.pgh.pa.us> <20120725204014.GB21271@momjian.us> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120725204014.GB21271@momjian.us> User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201207/1030 X-Sequence-Number: 211713 On Wed, Jul 25, 2012 at 04:40:14PM -0400, Bruce Momjian wrote: > On Wed, Jul 25, 2012 at 04:30:10PM -0400, Tom Lane wrote: > > Bruce Momjian writes: > > > Tom suggested that load_directory() return a (char *) array, rather than > > > a struct dirent array, greatly simplifying the code. > > > I have done this in the attached patch, and because of the uncertainty > > > of ths fix, I would like to apply this to 9.2 as well. > > > > BTW, the patch neglects to update the header comment for load_directory. > > Oh, good point. Updated patch attached. Applied and back-patched to 9.2. -- Bruce Momjian http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. +