Re: PostgreSQL installation - Mailing list pgsql-general

From Shahbaz A. Tyagi
Subject Re: PostgreSQL installation
Date
Msg-id E63871EA845841E9A3D3238164AB66C9@dxb.sphere.ae
Whole thread Raw
In response to Re: PostgreSQL installation  ("Grzegorz Jaśkiewicz" <gryzman@gmail.com>)
Responses Re: PostgreSQL installation
List pgsql-general
Hi,

How can I create the user and database schema? While creating user it's
taking automatically windows log in account name. I am using ant for the
same purpose.

Thanks,

Shahbaz A. Tyagi
Sphere Networks

-----Original Message-----
From: Grzegorz Jaśkiewicz [mailto:gryzman@gmail.com]
Sent: Monday, December 15, 2008 4:59 PM
To: Shahbaz A. Tyagi
Cc: pgsql-general@postgresql.org
Subject: Re: [GENERAL] PostgreSQL installation

On Mon, Dec 15, 2008 at 12:36 PM, Shahbaz A. Tyagi
<shahbaz.tyagi@sphere.ae> wrote:
>
>
> Hi,
>
>
>
> How can we make PostgreSQL db up and running with out using installer i.e.
> we want to build the db internally and ship the db along with our
> application and let our application run the DB. We don't want to include
the
> PostgreSQL installer along with our installer and create the db while
> installing.


install binaries,
create user that's going to run postgresql
create data directory
set PGDATA and PGPORT for that user
run initdb
adjust config file's acordingly
start postgres
create users, and dbs
and you're pretty much done.


--
GJ


pgsql-general by date:

Previous
From: "Greg Stark"
Date:
Subject: Re: Maximum reasonable free space map
Next
From: Adam Witney
Date:
Subject: Re: Is this a security risk?