Friday, November 3, 2017

[google-cloud-sql-discuss] Re: Postgres Copy To command

Is the query large or are the results large? If it's the query, you should be able to pass it entirely to the psql \copy command in parentheses.

https://www.postgresql.org/docs/current/static/app-psql.html#app-psql-meta-commands-copy

On Tuesday, October 31, 2017 at 11:21:03 AM UTC-5, R S wrote:
I understand that \copy is available. However I have a HUGE query that COPY would work far better than \copy.

Is there anyway at all to use COPY TO with GCloud Postgres?

--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/16757fd5-ced9-4511-acbc-53096891cdcc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment