Received: from localhost (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 97E1563493A for ; Tue, 10 Mar 2009 16:33:59 -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 36986-02-3 for ; Tue, 10 Mar 2009 16:33:53 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-gx0-f176.google.com (mail-gx0-f176.google.com [209.85.217.176]) by mail.postgresql.org (Postfix) with ESMTP id 31F346331DE for ; Tue, 10 Mar 2009 16:33:55 -0300 (ADT) Received: by gxk24 with SMTP id 24so4897649gxk.19 for ; Tue, 10 Mar 2009 12:33:54 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=PWl2pRVs7L4m8IBYktVK7s9zPN4FozWbMhOPflQGqR0=; b=jxEtdnmzuhta1LeavJDPIYaYIkZTggrBcygvS2v0v+rmKxVLgh4D71cVLg+cUqRRTN xViKZB09d5rL6WXLkTjGvnvh4C1F2Q5fEa/743iVqPicSdphOljmP90nQA9oVlNEx8mE CTlwwZp78AuYWP7JiO/kt2od8cHAUTbmukGy0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=owAEdFnz1Ng641dMZ3fZBUzeP2UkxvuVcuzWfcjp3e3tXdfhGL6qbHGqmA5QienwJO /f7RHkIkfBlFsbtH/BlUy1Ku1vuGtBtEHa+mNx6bhWvo4G2bBH6VT4q9z1tS6SdNKKI9 +RZrDllUX0tgnMyKVog6RCtzIEMQkOMvQsmZY= MIME-Version: 1.0 Received: by 10.151.113.5 with SMTP id q5mr13495425ybm.62.1236713634378; Tue, 10 Mar 2009 12:33:54 -0700 (PDT) In-Reply-To: <49B6B1A1.40908@gmx.de> References: <1178C89D-62DF-44AA-A8CB-97FA782E869D@indiana.edu> <200903101123.01310.kevink@consistentstate.com> <49B6B1A1.40908@gmx.de> Date: Tue, 10 Mar 2009 13:33:54 -0600 Message-ID: Subject: Re: User table porting From: Scott Marlowe To: Jan-Peter Seifert Cc: Kevin Kempter , pgsql-admin@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200903/136 X-Sequence-Number: 31636 On Tue, Mar 10, 2009 at 12:29 PM, Jan-Peter Seifert wrote: > > Isn't it generally better to use the newer binaries from the target > server especially with psql? Generally this is true. > I remember getting quite a few errors when restoring a pg_dumpall from > an 8.1 server, because the create user syntax in the dump file was obsolete. > You might need some more options for piping (-U etc.): But we're not really doing a pg_dumpall of everything, just he global objects. Not sure if there's any issues with a later version versus a newer version there. Probably best to use the newer pg_dumpall / pg_dump than the older one though.