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

Поиск
Список
Период
Сортировка
От Merlin Moncure
Тема Re: How to change the pgsql source code and build it??
Дата
Msg-id CAHyXU0y8j3stBz6sGEwSL=Fk0V-iy3D3NWxbHOF9S81cYpGw9A@mail.gmail.com
обсуждение исходный текст
Ответ на Re: How to change the pgsql source code and build it??  (Shreesha <shreesha1988@gmail.com>)
Список pgsql-hackers
On Wed, Jun 18, 2014 at 12:50 PM, Shreesha <shreesha1988@gmail.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



В списке pgsql-hackers по дате отправления:

Предыдущее
От: Christoph Berg
Дата:
Сообщение: Re: Is analyze_new_cluster.sh still useful?
Следующее
От: Fujii Masao
Дата:
Сообщение: Re: Audit of logout