Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id 6B234BEAE5E for ; Wed, 25 Jul 2012 17:30:24 -0300 (ADT) Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1Su8Dv-0004l6-FT for pgsql-hackers@postgresql.org; Wed, 25 Jul 2012 20:30:24 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id q6PKUAeu003110; Wed, 25 Jul 2012 16:30:10 -0400 (EDT) From: Tom Lane To: Bruce Momjian cc: Mike Wilson , PostgreSQL-development Subject: Re: Re: [BUGS] BUG #6733: All Tables Empty After pg_upgrade (PG 9.2.0 beta 2) In-reply-to: <20120725170113.GA22286@momjian.us> References: <517A874F-B310-4340-803D-EC8625C8B497@gmail.com> <20120713015241.GA15443@momjian.us> <8D0918C1-39A0-429A-96DB-997BE362141A@gmail.com> <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> Comments: In-reply-to Bruce Momjian message dated "Wed, 25 Jul 2012 13:01:13 -0400" Date: Wed, 25 Jul 2012 16:30:10 -0400 Message-ID: <3109.1343248210@sss.pgh.pa.us> X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201207/1015 X-Sequence-Number: 211698 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. regards, tom lane