From: Seb <spluque@gmail.com>
To: pgsql-sql@postgresql.org
Subject: slightly OT - Using psql from Emacs with sql.el
Date: Thu, 05 May 2011 17:01:20 -0500
Message-ID: <87sjssajtb.fsf@kolob.sebmags.homelinux.org> (raw)
Hi,
When working with psql via sql.el, multiple prompts accumulate in a
single line when sending multi-line input to the SQLi buffer. For
example, sending the following:
SELECT a,
b,
c,
FROM some_table;
with 'C-c C-r' results in these lines in the SQLi buffer:
database_name=# database_name-# database_name-# database_name-#
before showing the output of the query.
This doesn't happen when working with psql directly from a shell.
Has someone dealt with this problem or can suggest some ideas to avoid
this?
Thanks,
--
Seb
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 using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: spluque@gmail.com
Subject: Re: slightly OT - Using psql from Emacs with sql.el
In-Reply-To: <87sjssajtb.fsf@kolob.sebmags.homelinux.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