Re: how to execute pgsql2shp exe in sql - Mailing list pgsql-general

From Ron
Subject Re: how to execute pgsql2shp exe in sql
Date
Msg-id edca8aca-0a9e-2d03-79e6-27184193ede6@gmail.com
Whole thread Raw
In response to how to execute pgsql2shp exe in sql  (sunpeng <bluevaley@gmail.com>)
List pgsql-general
On 7/14/19 10:54 PM, sunpeng wrote:
Could I use the following in psql or in a sql :
"D:\PostgreSQL\9.6\bin\pgsql2shp ...."


This should work, though you might have to fiddle with the quotes:

yourdb=> \! "D:\PostgreSQL\9.6\bin\pgsql2shp ...."


--
Angular momentum makes the world go 'round.

pgsql-general by date:

Previous
From: sunpeng
Date:
Subject: how to execute pgsql2shp exe in sql
Next
From: Adrian Klaver
Date:
Subject: Re: how to execute pgsql2shp exe in sql