pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Ron <ronljohnsonjr@gmail.com>
To: pgsql-general@lists.postgresql.org
Subject: Re: how to execute pgsql2shp exe in sql
Date: Sun, 14 Jul 2019 23:13:07 -0500
Message-ID: <edca8aca-0a9e-2d03-79e6-27184193ede6@gmail.com> (raw)
In-Reply-To: <CAOYKhLqUPJv2Z-Bo-sfc2=7Pd+DUaKiBoFUvSPdZz1ZNYudH6w@mail.gmail.com>
References: <CAOYKhLqUPJv2Z-Bo-sfc2=7Pd+DUaKiBoFUvSPdZz1ZNYudH6w@mail.gmail.com>

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.

view thread (3+ messages)  latest in thread

Message-ID: <edca8aca-0a9e-2d03-79e6-27184193ede6@gmail.com>
Permalink:  ../edca8aca-0a9e-2d03-79e6-27184193ede6@gmail.com/
Also on:    postgresql.org/message-id/edca8aca-0a9e-2d03-79e6-27184193ede6@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: ronljohnsonjr@gmail.com
  Subject: Re: how to execute pgsql2shp exe in sql
  In-Reply-To: <edca8aca-0a9e-2d03-79e6-27184193ede6@gmail.com>
  References: <CAOYKhLqUPJv2Z-Bo-sfc2=7Pd+DUaKiBoFUvSPdZz1ZNYudH6w@mail.gmail.com> <edca8aca-0a9e-2d03-79e6-27184193ede6@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox