X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 855FB11F65C9 for ; Thu, 27 Apr 2006 08:46:12 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 99923-09 for ; Thu, 27 Apr 2006 08:46:02 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from prod01.jerrysievers.com (adsl-64-118-249-70.netrox.net [64.118.249.70]) by postgresql.org (Postfix) with ESMTP id 1712011F65A1 for ; Thu, 27 Apr 2006 08:45:59 -0300 (ADT) Received: (from gsievers@localhost) by prod01.jerrysievers.com (8.11.0/8.11.0) id k3RBjtT12478; Thu, 27 Apr 2006 07:45:55 -0400 To: "David Levy" Cc: pgsql-admin@postgresql.org Subject: Re: pg_restore index/trigger restoration issue References: <52543fce0604270359u7b2bac2cgd1e4cb93245bd245@mail.gmail.com> From: Jerry Sievers Date: 27 Apr 2006 07:45:55 -0400 In-Reply-To: "David Levy"'s message of "Thu, 27 Apr 2006 12:59:19 +0200" Message-ID: Lines: 19 X-Mailer: Gnus v5.7/Emacs 20.7 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200604/302 X-Sequence-Number: 21471 "David Levy" writes: > So I am trying to restore a pg_dump (version8.1 ) sql dump file from > a remote 8.0.3 DB into a local 8.1 DB using pg_restore (version > 8.1). Is there something incompatible The dump file seems to be > correct regarding index creation statements I really don't > understand what is happening As the title mentions, I have the same > issue with triggers : none of my triggers are restored neither ! Is > there any option in pg_dump or pg_restore to handle this Any chance your psql had the \t (show only tuples) option set? This prevents seeing indexes and trigs in the table schema listing. As for what opts pg_dump and pg_restore offer, see the manual. ------------------------------------------------------------------------------- Jerry Sievers 305 854-3001 (home) WWW ECommerce Consultant 305 321-1144 (mobile http://www.JerrySievers.com/