Re: How to change the pgsql source code and build it??

From: Merlin Moncure <mmoncure(at)gmail(dot)com>
To: Shreesha <shreesha1988(at)gmail(dot)com>
Cc: Craig Ringer <craig(at)2ndquadrant(dot)com>, Pgsql Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: How to change the pgsql source code and build it??
Date: 2014-06-20 13:32:33
Message-ID: CAHyXU0y8j3stBz6sGEwSL=Fk0V-iy3D3NWxbHOF9S81cYpGw9A@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Wed, Jun 18, 2014 at 12:50 PM, Shreesha <shreesha1988(at)gmail(dot)com> wrote:
> Well, the initdb issue looks to be resolved. Actually, after making the
> changes as suggested by Kyotaro Horiguchi, I copied only initdb binary to my
> platform and didn't copy all of them. Hence, the dependencies were still not
> resolved and was getting the error. However, now the database server is
> started and is up and running.
>
> But, When I try to connect the client to the server, I am getting the
> following error:
> ****************************************************
> /switch/pgsql/bin # ./psql
> FATAL: database "root" does not exist
> psql: FATAL: database "root" does not exist

This is easy to solve. Your database is running.

./psql postgres

you can set PGDATABASE env variable to postgres in your profile or
create a database 'root' if you want to log in without arguments. I
usually use the default postgres database as a scratch database or
administrative database to run command like creating databases.

merlin

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Fujii Masao 2014-06-20 13:46:47 Re: Audit of logout
Previous Message Christoph Berg 2014-06-20 12:26:05 Re: Is analyze_new_cluster.sh still useful?