Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 20 Jan 2001 14:32:05 -0400 (AST)
From:      The Hermit Hacker <scrappy@hub.org>
To:        Francisco Reyes <fran@reyes.somos.net>
Cc:        <freebsd-database@FreeBSD.ORG>
Subject:   Re: Need help with PostgreSQL database
Message-ID:  <Pine.BSF.4.31.0101201430580.554-100000@thelab.hub.org>
In-Reply-To: <Pine.BSF.4.21.0101201122330.22339-100000@zoraida.reyes.somos.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 20 Jan 2001, Francisco Reyes wrote:

> On Thu, 18 Jan 2001, The Hermit Hacker wrote:
>
> > do a 'psql template1' ... from there, you can do a 'create database' or
> > 'create user' to build ...
>
> What is the difference with doing it that way and using "createdb"?
> Although I am sure what you suggest is likely the right way, I wonder why
> both the tutorial and the book I got don't mention it.

createdb is a shortcut to do the same thing ... if you want to do stuff
like create new users or create new databases, you can call the "proper
SQL" from places like PHP and perl, especially when your admin is on one
machine, vs your server on a different one ...




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-database" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.31.0101201430580.554-100000>