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

[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