On 3/3/15 8:18 AM, Tim Semmelhaack wrote:
When I run a much simpler version of the query with the -c "Select .." option it works. Because the sql-scripts are quite long, I don't to do it without the -f option.
When you say quite long... are you trying to do multiple commands in q1 or q2? As in, do you have more than just a single COPY statement in either file? Because the odds of that working are not very good...
-- Jim Nasby, Data Architect, Blue Treble Consulting Data in Trouble? Get it in Treble! http://BlueTreble.com -- Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-general