pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: michael <mpapet@yahoo.com>
To: pgsql-bugs@postgresql.org
Subject: BUG #6141: PG Admin's SQL editor can't handle large files
Date: Tue, 2 Aug 2011 23:07:21 GMT
Message-ID: <201108022307.p72N7L3i068436@wwwmaster.postgresql.org> (raw)


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.



view thread (2+ messages)  latest in thread

Message-ID: <201108022307.p72N7L3i068436@wwwmaster.postgresql.org>
Permalink:  ../201108022307.p72N7L3i068436@wwwmaster.postgresql.org/
Also on:    postgresql.org/message-id/201108022307.p72N7L3i068436@wwwmaster.postgresql.org

 · 

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-bugs@postgresql.org
  Cc: mpapet@yahoo.com
  Subject: Re: BUG #6141: PG Admin's SQL editor can't handle large files
  In-Reply-To: <201108022307.p72N7L3i068436@wwwmaster.postgresql.org>
  References: <201108022307.p72N7L3i068436@wwwmaster.postgresql.org>

* 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