ed? Or what is the name of the
default database name?
3) Is there any other places in the database server code where this check
is applied?
Upon looking at the error I got, I believe the code is searching for the
database name == user name. If anyone can give some input on the code, it
would be hel
14 at 9:49 PM, Craig Ringer wrote:
> 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
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 chan
Like Tom said, just setting the the configure option doesn't let the root
user in. Looks like lot more changes are required.
Tom, according to you, what do you think would be my best bet to allow the
root user initialize and start the database server?
Thanks,
Shreesha.
On Fri, Jun 13, 20
ers at all. It's a pretty safe bet
> that hacking out those geteuid tests is just the tip of the iceberg of
> what he's going to have to change to make it work, because it probably
> deviates from typical-Unix-environment in a lot of other ways too.
> So I can't get too concerned about how easy this one aspect is for him.
>
> regards, tom lane
>
--
~Shreesha.
ative?
On Thu, Jun 12, 2014 at 5:40 PM, Abhijit Menon-Sen
wrote:
> At 2014-06-12 16:08:05 -0700, shreesha1...@gmail.com wrote:
> >
> > I need to initialize the db as the root and start the database server.
>
> Why?
>
> -- Abhijit
>
--
~Shreesha.
ed by
the build. I wanted to know if there is any other procedure for building
the postgresql procedure?
Thanks
Shreesha.
P.S
Below is the changes done in initdb.c (shown in bold letters