slightly OT - Using psql from Emacs with sql.el

From: Seb <spluque(at)gmail(dot)com>
To: pgsql-sql(at)postgresql(dot)org
Subject: slightly OT - Using psql from Emacs with sql.el
Date: 2011-05-05 22:01:20
Message-ID: 87sjssajtb.fsf@kolob.sebmags.homelinux.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

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

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Rob Sargent 2011-05-05 22:47:09 Re: slightly OT - Using psql from Emacs with sql.el
Previous Message Charlie 2011-05-05 21:41:04 Re: [SQL] Select and merge rows?