Click to See Complete Forum and Search --> : Creating New PostgreSQL database


FaStAndFuRiouS
08-29-2003, 04:56 AM
How do I create a new database for PostgreSQL? i tried the CREATE DATABASE command but it does not work.

mdwatts
08-29-2003, 04:05 PM
RPM based distro?

List out the files installed by postgresql to find the documentation.

rpm -ql postgresql

Look for the docs on creating a database. One of mine is a manpage.

/usr/share/man/man1/createdb.1.gz

man createdb

Another in html

/usr/share/doc/packages/postgresql/html/sql-createdatabase.html