pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John DeSoi <desoi@pgedit.com>
To: Shayne Patton <sanitys3j@gmail.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: psql won't "createdb"
Date: Sun, 31 Oct 2004 21:12:17 -0500
Message-ID: <749D2D1D-2BAB-11D9-A718-000A95B03262@pgedit.com> (raw)
In-Reply-To: <930afdad04102623457ce452a4@mail.gmail.com>
References: <930afdad04102623457ce452a4@mail.gmail.com>


On Oct 27, 2004, at 2:45 AM, Shayne Patton wrote:

> This is kinda weird.  I'm using the pg8 beta4.  When I install on Win
> 2k3 server, it lets me do everything I want to do through pgAdmin,
> however I prefer the console based psql.  Problem is, when I connect
> to template1 (or anything else) I'm unable to "createdb".  This
> happens when I attempt it w/out the wrapper as well (as in CREATE
> DATABASE).

 From your description it sounds like you are trying connect via psql 
and then use "createdb". But createdb is a command line program you 
need to run at the command prompt (not the psql prompt). Apologies if 
you know all this and I have just misunderstood your description of the 
problem.

Post the error output from createdb if you still can't get it to work.

Best,

John DeSoi, Ph.D.
http://pgedit.com/
Power Tools for PostgreSQL




view thread (3+ messages)

Message-ID: <749D2D1D-2BAB-11D9-A718-000A95B03262@pgedit.com>
Permalink:  ../749D2D1D-2BAB-11D9-A718-000A95B03262@pgedit.com/
Also on:    postgresql.org/message-id/749D2D1D-2BAB-11D9-A718-000A95B03262@pgedit.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: desoi@pgedit.com, sanitys3j@gmail.com
  Subject: Re: psql won't "createdb"
  In-Reply-To: <749D2D1D-2BAB-11D9-A718-000A95B03262@pgedit.com>
  References: <930afdad04102623457ce452a4@mail.gmail.com> <749D2D1D-2BAB-11D9-A718-000A95B03262@pgedit.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox