psql remote shell command - Mailing list pgsql-general

From Dennis
Subject psql remote shell command
Date
Msg-id 74D73454-EE4E-4096-A2E6-4232C498A6A8@visi.com
Whole thread Raw
Responses Re: psql remote shell command
Re: psql remote shell command
Re: psql remote shell command
List pgsql-general
Is it possible to execute command in on system the is hosting postgresql remotely using psql or other mechanism?  I know I can use \! in psql but that executes the commands on the host where I am running psql from.  Also, is it possible for a postgres login/user to stop or restart a running postgres instance from in side psql or similar client. e.g. psql -c “pg_ctl stop -D some_data_dir”

pgsql-general by date:

Previous
From: Merlin Moncure
Date:
Subject: Re: RowDescription via the SQL?
Next
From: Michael Paquier
Date:
Subject: Re: psql remote shell command