Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id 35F531337B6E for ; Wed, 9 Feb 2011 05:57:12 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 72340-04 for ; Wed, 9 Feb 2011 09:57:12 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by mail.postgresql.org (Postfix) with ESMTP id 8A0F81337B69 for ; Wed, 9 Feb 2011 05:57:11 -0400 (AST) Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by wwwmaster.postgresql.org (8.14.3/8.14.3) with ESMTP id p199vBBG097308 for ; Wed, 9 Feb 2011 09:57:11 GMT (envelope-from www@wwwmaster.postgresql.org) Received: (from www@localhost) by wwwmaster.postgresql.org (8.14.3/8.14.3/Submit) id p199vBv2097307; Wed, 9 Feb 2011 09:57:11 GMT (envelope-from www) Date: Wed, 9 Feb 2011 09:57:11 GMT Message-Id: <201102090957.p199vBv2097307@wwwmaster.postgresql.org> To: pgsql-bugs@postgresql.org Subject: BUG #5874: pg_dumpall CREATE DATABASE statements 'missing' parameters From: "Jan-Peter Seifert" Content-Type: text/plain; charset=utf-8 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 201102/84 X-Sequence-Number: 29356 The following bug has been logged online: Bug reference: 5874 Logged by: Jan-Peter Seifert Email address: Jan-Peter.Seifert@gmx.de PostgreSQL version: 8.4.7 Operating system: Windows 7 64-Bit Description: pg_dumpall CREATE DATABASE statements 'missing' parameters Details: Hello, it's not really a bug ... but CREATE DATABASE statements for databases with the same Locale/Encoding as the server miss the parameters ENCODING, LC_COLLATE and LC_CTYPE. So you 'can't' migrate to a server with a different Locale/Encoding setting. I'd be very happy if one had the option to switch between OS specific names e.g. German_Germany.28591 on Windows and de_DE on Linux automatically ( -b WIN ) or manually ( -w German_Germany.28591,de_DE+...) as well. I'd also be very happy if one could specify a comma separated list of databases to skip (e.g. template1, postgres etc.) Thank you very much, Peter