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

Поиск
Список
Период
Сортировка
От Craig Ringer
Тема Re: How to change the pgsql source code and build it??
Дата
Msg-id 539E7756.5000607@2ndquadrant.com
обсуждение исходный текст
Ответ на How to change the pgsql source code and build it??  (Shreesha <shreesha1988@gmail.com>)
Ответы Re: How to change the pgsql source code and build it??
Re: How to change the pgsql source code and build it??
Список pgsql-hackers
On 06/13/2014 07:08 AM, Shreesha wrote:
> I need to initialize the db as the root and start the database server

Assuming there's no way around doing this (it's generally not a good
idea), you can just use the simple program 'fakeroot'.

This program changes the return values from system calls via LD_PRELOAD,
so PostgreSQL thinks that the user it is running as isn't root. It's
commonly used in testing and packaging systems.

http://man.he.net/man1/fakeroot

-- Craig Ringer                   http://www.2ndQuadrant.com/PostgreSQL Development, 24x7 Support, Training & Services



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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: Re: Built-in support for a memory consumption ulimit?
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: Proposal for CSN based snapshots