Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 6E5206328CD for ; Thu, 18 Mar 2010 18:44:11 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 23646-03 for ; Thu, 18 Mar 2010 21:43:54 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-fx0-f224.google.com (mail-fx0-f224.google.com [209.85.220.224]) by mail.postgresql.org (Postfix) with ESMTP id 266CE632330 for ; Thu, 18 Mar 2010 18:43:59 -0300 (ADT) Received: by fxm24 with SMTP id 24so2060894fxm.3 for ; Thu, 18 Mar 2010 14:43:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=TioJXzvjn5yVpVItzJ6ixmE4p1Bt1hrY/zOQDLFJIdk=; b=BPXTPiL7B2nwdDCvpsLjlESSVjmcCZ2/IIODegLvyioH0rxi9WKnRva7oF/16E/E9J qhHqU68+GlVi5aBW4zCnQaFV2ejhJjlxabVVD46OxZ2+tUkgdaBeQB3ZCxXsCJ0G9NM+ WPbt5LlaxjXIApLLpPcPQn2sC1U7MjMGAms4E= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=KPDnMjO8C3nSv1SkdyUQBo+7JBzamCTQWee6441AjW0H49Dz6wvY1KgAW6Be8GRNxb TwlCM2r1bf880EKnuXrzu8WeizvBjsW3l4mpOVhoCi14062e5D7tdYiYLotzwjuuyBGZ BqTD/Zu1cDCdBsfk49oqmwrI+uWRi6vzYuEsE= MIME-Version: 1.0 Received: by 10.102.14.25 with SMTP id 25mr2243732mun.30.1268948638003; Thu, 18 Mar 2010 14:43:58 -0700 (PDT) Date: Fri, 19 Mar 2010 00:43:57 +0300 Message-ID: Subject: Emacs sql-postgres (please, sorry for question not about PostgreSQL). From: Dmitriy Igrishin To: postgres list Content-Type: multipart/alternative; boundary=0016363b9eb0ce706904821a20ba X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.425 tagged_above=-10 required=5 tests=AWL=0.173, BAYES_00=-2.599, HTML_MESSAGE=0.001 X-Spam-Level: X-Archive-Number: 201003/153 X-Sequence-Number: 33860 --0016363b9eb0ce706904821a20ba Content-Type: text/plain; charset=ISO-8859-1 Hello all Emacs users! I am using Emacs recently. I love sql-mode, to use with PostgreSQL, but I have problems with it. When my SQL file (or buffer) are small (50-100 lines) I can send it to SQLi buffer without any problems. But when I working with large SQL file (e.g. complex database model, thousands of lines) and send it to SQLi buffer it does not work properly. Something going on and in SQLi buffer (psql) I see incomplete SQL statement, for example: super=# super'# super'# super'# super'# It seems to single quote was not closed. But SQL is absolutely correct and loads fine when I load it from file directly from psql. I think, the problem with Emacs buffers... Please, help! And please sorry, for question not about PostgreSQL... Regards, Dmitriy Igrishin --0016363b9eb0ce706904821a20ba Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello all Emacs users!

I am using Emacs recently. I love sql-mode, t= o use with PostgreSQL,
but I have problems with it.
When my SQL file = (or buffer) are small (50-100 lines) I can send
it to SQLi buffer withou= t any problems. But when I working with
large SQL file (e.g. complex database model, thousands of lines)
and sen= d it to SQLi buffer it does not work properly. Something
going on and in= SQLi buffer (psql) I see incomplete SQL
statement, for example:
=A0=A0=A0 super=3D# super'# super'# super'# super'#
It s= eems to single quote was not closed. But SQL is absolutely
correct and l= oads fine when I load it from file directly from psql.
I think, the prob= lem with Emacs buffers... Please, help!

And please sorry, for question not about PostgreSQL...

Regards,
Dmitriy Igrishin --0016363b9eb0ce706904821a20ba--