Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 4CDCDB5DC10 for ; Tue, 2 Aug 2011 20:07:22 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 77018-06 for ; Tue, 2 Aug 2011 23:07:22 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by mail.postgresql.org (Postfix) with ESMTP id 96E30B5DC0A for ; Tue, 2 Aug 2011 20:07:21 -0300 (ADT) Received: from wwwmaster.postgresql.org (wwwmaster.postgresql.org [217.196.146.204]) by wwwmaster.postgresql.org (8.14.3/8.14.3) with ESMTP id p72N7LbR068437 for ; Tue, 2 Aug 2011 23:07:21 GMT (envelope-from www@wwwmaster.postgresql.org) Received: (from www@localhost) by wwwmaster.postgresql.org (8.14.3/8.14.3/Submit) id p72N7L3i068436; Tue, 2 Aug 2011 23:07:21 GMT (envelope-from www) Date: Tue, 2 Aug 2011 23:07:21 GMT Message-Id: <201108022307.p72N7L3i068436@wwwmaster.postgresql.org> To: pgsql-bugs@postgresql.org Subject: BUG #6141: PG Admin's SQL editor can't handle large files From: "michael" Content-Type: text/plain; charset=utf-8 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 201108/20 X-Sequence-Number: 30832 The following bug has been logged online: Bug reference: 6141 Logged by: michael Email address: mpapet@yahoo.com PostgreSQL version: 9.0 Operating system: Windows Description: PG Admin's SQL editor can't handle large files Details: Hi, I have a script writing an insert query to file. The file ends up being about 82MB. Step 1: launch the sql editor from pgAdmin Step 2: File>open>myfile.sql Shortly thereafter, an error message pops up, "$path/$to/$my/$file/myfile.sql could not be opened because it contains characters that could not be interpreted." This always occurs on pgAdmin version 1.12.3(Apr 14 2011, rev:REL-1_12_3) The workaround is to copy and paste the whole 80MB. It works, (the insert query is correct in every way) but the editor is real, real slow. I can open smaller size (20MB) insert queries just fine. It might be an unusual request to open/edit 80MB files. If there's some interest in tackling it, I can even upload sample data somewhere. Let me know if you need anything else.