Re: [GENERAL] Streaming Replication Configuration

2011-12-15 Thread Raymond O'Donnell
On 15/12/2011 16:41, Carlos Mennens wrote: > Now I'm showing they want me to use the -c switch to connect but no > database is defined so is it implied that I need to add 'postgres' > maintenance database in there or something else? I meant to add that -c doesn't mean "connect"; instead it specifi

Re: [GENERAL] Streaming Replication Configuration

2011-12-15 Thread Gabriele Bartolini
On Thu, 15 Dec 2011 11:41:07 -0500, Carlos Mennens wrote: carlos@db1:~$ psql -c "SELECT pg_start_backup('label', true)" psql: FATAL: database "carlos" does not exist I forgot. You can also look at this: http://www.postgresql.org/docs/9.1/static/app-pgbasebackup.html Ciao, Gabriele -- Gabr

Re: [GENERAL] Streaming Replication Configuration

2011-12-15 Thread Gabriele Bartolini
Hi Carlos, On Thu, 15 Dec 2011 11:41:07 -0500, Carlos Mennens wrote: carlos@db1:~$ psql -c "SELECT pg_start_backup('label', true)" psql: FATAL: database "carlos" does not exist By default (unless changed at compile time or using environment variables), a client connection is instantiated u

Re: [GENERAL] Streaming Replication Configuration

2011-12-15 Thread Raymond O'Donnell
On 15/12/2011 16:41, Carlos Mennens wrote: > carlos@db1:~$ psql -c "SELECT pg_start_backup('label', true)" > psql: FATAL: database "carlos" does not exist > > Now I'm showing they want me to use the -c switch to connect but no > database is defined so is it implied that I need to add 'postgres' >