Re: [GENERAL] Check PostgreSQL status using MS-DOS bat file?

2012-08-24 Thread Loughrey, Hugh
Hi Dinesh, Managed to get this up and running...thanks!! Regards Hugh From: dinesh kumar [mailto:dineshkuma...@gmail.com] Sent: 17 August 2012 13:15 To: Loughrey, Hugh Cc: Postgres General Subject: Re: [GENERAL] Check PostgreSQL status using MS-DOS bat file? Hi , Dave's instructions

Re: [GENERAL] Check PostgreSQL status using MS-DOS bat file?

2012-08-17 Thread Dave Page
. Regards Hugh -Original Message- From: Dave Page [mailto:dp...@pgadmin.org] Sent: 15 August 2012 16:30 To: Bruce Momjian Cc: Loughrey, Hugh; pgsql-general@postgresql.org Subject: Re: [GENERAL] Check PostgreSQL status using MS-DOS bat file? On Wed, Aug 15, 2012 at 4:04 PM, Bruce Momjian

Re: [GENERAL] Check PostgreSQL status using MS-DOS bat file?

2012-08-17 Thread dinesh kumar
Subject: Re: [GENERAL] Check PostgreSQL status using MS-DOS bat file? On Wed, Aug 15, 2012 at 4:04 PM, Bruce Momjian br...@momjian.us wrote: On Wed, Aug 15, 2012 at 09:52:17AM +, Loughrey, Hugh wrote: Hi All, I want to write a MS-DOS command to check that the PostgreSQL database

[GENERAL] Check PostgreSQL status using MS-DOS bat file?

2012-08-15 Thread Loughrey, Hugh
Hi All, I want to write a MS-DOS command to check that the PostgreSQL database is up and running and able to accept data being pushed to it. From a bit of reading I've identified the pg_ctl status command, but can this be incorporated into a *.bat file and can the resulting status be recorded

Re: [GENERAL] Check PostgreSQL status using MS-DOS bat file?

2012-08-15 Thread Bruce Momjian
On Wed, Aug 15, 2012 at 09:52:17AM +, Loughrey, Hugh wrote: Hi All, I want to write a MS-DOS command to check that the PostgreSQL database is up and running and able to accept data being pushed to it. From a bit of reading I’ve identified the pg_ctl status command, but can this be

Re: [GENERAL] Check PostgreSQL status using MS-DOS bat file?

2012-08-15 Thread Dave Page
On Wed, Aug 15, 2012 at 4:04 PM, Bruce Momjian br...@momjian.us wrote: On Wed, Aug 15, 2012 at 09:52:17AM +, Loughrey, Hugh wrote: Hi All, I want to write a MS-DOS command to check that the PostgreSQL database is up and running and able to accept data being pushed to it. From a bit of