Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 66B8F6343AC for ; Tue, 7 Jul 2009 17:32:32 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 01036-03 for ; Tue, 7 Jul 2009 17:32:17 -0300 (ADT) Received: from cvs.postgresql.org (cvs.postgresql.org [217.196.146.206]) by mail.postgresql.org (Postfix) with ESMTP id C86B86336FA for ; Tue, 7 Jul 2009 17:32:21 -0300 (ADT) Received: by cvs.postgresql.org (Postfix, from userid 1179) id B399175331E; Tue, 7 Jul 2009 20:32:20 +0000 (UTC) MIME-Version: 1.0 To: pgsql-committers@postgresql.org Subject: pgsql: psql backward compatibility fix For servers older than 8.3, sort X-Mailer: activitymail 1.24, http://search.cpan.org/dist/activitymail/ Content-Type: text/plain Message-Id: <20090707203220.B399175331E@cvs.postgresql.org> Date: Tue, 7 Jul 2009 20:32:20 +0000 (UTC) From: petere@postgresql.org (Peter Eisentraut) X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.036 tagged_above=0 required=5 tests=AWL=0.036 X-Spam-Level: X-Archive-Number: 200907/90 X-Sequence-Number: 37693 Log Message: ----------- psql backward compatibility fix For servers older than 8.3, sort display of child tables by relname instead of oid::regclass::text, because the cast from regclass to text did not work back then. The older display may be slightly worse when different schemas are involved, but that should be rare enough. Modified Files: -------------- pgsql/src/bin/psql: describe.c (r1.222 -> r1.223) (http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/bin/psql/describe.c?r1=1.222&r2=1.223)