Re: [HACKERS] initdb start server recommendation

2015-05-11 Thread Bruce Momjian
On Fri, May 1, 2015 at 10:14:13AM -0400, Bruce Momjian wrote: > Currently initdb outputs suggested text on starting the server: > > Success. You can now start the database server using: > > /u/pgsql/bin/postgres -D /u/pgsql/data > or > /u/pgsql/bin/pg_ctl -D

Re: [HACKERS] initdb start server recommendation

2015-05-07 Thread Euler Taveira
On 05-05-2015 16:36, Peter Eisentraut wrote: > 1. I like copying and pasting the "postgres" line during development. > That's not a reason to keep it, necessarily. > I prefer pg_ctl because of symmetry (start, stop, restart, reload and even init). > 2. If you're saying, most people shouldn't run

Re: [HACKERS] initdb start server recommendation

2015-05-07 Thread Bruce Momjian
On Thu, May 7, 2015 at 10:17:18AM -0400, Andrew Dunstan wrote: > > On 05/07/2015 09:58 AM, Bruce Momjian wrote: > > > > >Frankly, I am not sure how they are starting the server as the > >/etc/init.d startup files don't handle multiple clusters well, and I > >have never seen instructions on how m

Re: [HACKERS] initdb start server recommendation

2015-05-07 Thread Andrew Dunstan
On 05/07/2015 09:58 AM, Bruce Momjian wrote: Frankly, I am not sure how they are starting the server as the /etc/init.d startup files don't handle multiple clusters well, and I have never seen instructions on how multi-cluster users are supposed to set things up. I assume they are copying

Re: [HACKERS] initdb start server recommendation

2015-05-07 Thread Bruce Momjian
On Tue, May 5, 2015 at 03:36:07PM -0400, Peter Eisentraut wrote: > > BTW, why are we advocating postgres binary use at all? AFAICS the main > > postgres (or postmaster) uses are (i) startup script (which also > > advocate for 'pg_ctl -w') and (ii) disaster/debugging purposes. None of > > those use

Re: [HACKERS] initdb start server recommendation

2015-05-05 Thread Peter Eisentraut
On 5/1/15 10:55 AM, Euler Taveira wrote: > On 01-05-2015 11:14, Bruce Momjian wrote: >> Currently initdb outputs suggested text on starting the server: >> >> Success. You can now start the database server using: >> >> /u/pgsql/bin/postgres -D /u/pgsql/data >> or >>

Re: [HACKERS] initdb start server recommendation

2015-05-03 Thread Magnus Hagander
On May 1, 2015 17:09, "Andrew Dunstan" wrote: > > > On 05/01/2015 10:14 AM, Bruce Momjian wrote: >> >> Currently initdb outputs suggested text on starting the server: >> >> Success. You can now start the database server using: >> >> /u/pgsql/bin/postgres -D /u/pgsql/data >>

Re: [HACKERS] initdb start server recommendation

2015-05-01 Thread Andrew Dunstan
On 05/01/2015 10:14 AM, Bruce Momjian wrote: Currently initdb outputs suggested text on starting the server: Success. You can now start the database server using: /u/pgsql/bin/postgres -D /u/pgsql/data or /u/pgsql/bin/pg_ctl -D /u/pgsql/data -l l

Re: [HACKERS] initdb start server recommendation

2015-05-01 Thread Euler Taveira
On 01-05-2015 11:14, Bruce Momjian wrote: > Currently initdb outputs suggested text on starting the server: > > Success. You can now start the database server using: > > /u/pgsql/bin/postgres -D /u/pgsql/data > or > /u/pgsql/bin/pg_ctl -D /u/pgsql/data -l log

Re: [HACKERS] initdb start server recommendation

2015-05-01 Thread Robert Haas
On Fri, May 1, 2015 at 10:14 AM, Bruce Momjian wrote: > Currently initdb outputs suggested text on starting the server: > > Success. You can now start the database server using: > > /u/pgsql/bin/postgres -D /u/pgsql/data > or > /u/pgsql/bin/pg_ctl -D /u/pgsq

[HACKERS] initdb start server recommendation

2015-05-01 Thread Bruce Momjian
Currently initdb outputs suggested text on starting the server: Success. You can now start the database server using: /u/pgsql/bin/postgres -D /u/pgsql/data or /u/pgsql/bin/pg_ctl -D /u/pgsql/data -l logfile start I am now thinking pg_ctl should be