X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by postgresql.org (Postfix) with ESMTP id A9B2E9DC806 for ; Sat, 18 Feb 2006 02:02:35 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 66666-09 for ; Sat, 18 Feb 2006 02:02:35 -0400 (AST) X-Greylist: from auto-whitelisted by SQLgrey- Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by postgresql.org (Postfix) with ESMTP id 57A429DC820 for ; Sat, 18 Feb 2006 02:02:33 -0400 (AST) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id k1I62VlR015997; Sat, 18 Feb 2006 01:02:32 -0500 (EST) To: Paul Vogel cc: pgsql-admin@postgresql.org Subject: Re: A question about differences between createdb and "create database" In-reply-to: <43F0DD94.8080204@deadeyesoftware.com> References: <43F0DD94.8080204@deadeyesoftware.com> Comments: In-reply-to Paul Vogel message dated "Mon, 13 Feb 2006 12:27:16 -0700" Date: Sat, 18 Feb 2006 01:02:31 -0500 Message-ID: <15996.1140242551@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, score=0.11 required=5 tests=[AWL=0.110] X-Spam-Score: 0.11 X-Spam-Level: X-Archive-Number: 200602/223 X-Sequence-Number: 20644 Paul Vogel writes: > So something is > apparently different between the command line "createdb" command and the > "create database" command. Not a lot ... createdb just runs psql to issue a create database command. One possibility is that you gave createdb a mixed-case database name, because it will double-quote the name before passing it on to create database. regards, tom lane