Received: from maia.hub.org (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id F1391632C98 for ; Fri, 19 Mar 2010 03:30:54 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 87474-02 for ; Fri, 19 Mar 2010 06:30:44 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ww0-f46.google.com (mail-ww0-f46.google.com [74.125.82.46]) by mail.postgresql.org (Postfix) with ESMTP id 4F93F6329FC for ; Fri, 19 Mar 2010 03:30:44 -0300 (ADT) Received: by wwe15 with SMTP id 15so1612548wwe.19 for ; Thu, 18 Mar 2010 23:30:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=+w+Ltb7U0HFzmZ2Z3wTmiyad3KdXNfVARIN6GJ4EraU=; b=V1J/kprPFT6PAbaDEvTMMh0adtlUTq39/HjhKljiMFJnyjDWIcTKpDQB1Ygw2omg9R SVWf6cMSfr7a1cnHHDlg0woTrNVUK3If45R9cogPyqzHxbeLrSTvsnkUqJcn2Zb5VTLS JXDN3KWnv4lM4qr9nTaotjlRy0wG6a6efOPDo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=AgkJVHmIxhA4AY5ZDShtd/Wt/i7rJFg6/zBmnV+3mUV5hCEXXMF1qqM5T0m1UqZi34 AOL56rEkPUv4ryQvuVPaAJ/g8C1fnHPHzONR78Yxfd+8XWYDxyqql18l/Zz6oI9RysWA 5p0Y2UjTcLOV89UjNUQUTkX1e0OIu9+zXOPJk= MIME-Version: 1.0 Received: by 10.216.157.129 with SMTP id o1mr1093931wek.197.1268980241989; Thu, 18 Mar 2010 23:30:41 -0700 (PDT) In-Reply-To: References: Date: Fri, 19 Mar 2010 07:30:41 +0100 Message-ID: <162867791003182330p5ff4c512v152f6d338d21f6b5@mail.gmail.com> Subject: Re: Emacs sql-postgres (please, sorry for question not about PostgreSQL). From: Pavel Stehule To: Dmitriy Igrishin Cc: postgres list Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.599 tagged_above=-10 required=5 tests=BAYES_00=-2.599 X-Spam-Level: X-Archive-Number: 201003/155 X-Sequence-Number: 33862 Hello try to look on http://www.postgres.cz/index.php/PostgreSQL_SQL_Tricks#Termi= nal.27s_configuration Regards Pavel Stehule 2010/3/18 Dmitriy Igrishin : > 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: > =C2=A0=C2=A0=C2=A0 super=3D# 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