[postgis-users] Export only a View from my database to .csv file

Nicolas Ribot nicolas.ribot at gmail.com
Tue Jul 10 05:08:19 PDT 2012


Hi,

Look at the copy command:

copy (select * from myview) to '/tmp/myview.csv' WITH (format CSV);

Nicolas



On 10 July 2012 12:25, José María Amuedo <jmamuedo at gmail.com> wrote:
> Hello.
>
> I have a simple question, Is it possible to export a view from my database
> to a .csv file?
>
> Thank you,
>
> José María
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at postgis.refractions.net
> http://postgis.refractions.net/mailman/listinfo/postgis-users
>



More information about the postgis-users mailing list