slightly OT - Using psql from Emacs with sql.el - Mailing list pgsql-sql

From Seb
Subject slightly OT - Using psql from Emacs with sql.el
Date
Msg-id 87sjssajtb.fsf@kolob.sebmags.homelinux.org
Whole thread Raw
Responses Re: slightly OT - Using psql from Emacs with sql.el
List 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



pgsql-sql by date:

Previous
From: Charlie
Date:
Subject: Re: [SQL] Select and merge rows?
Next
From: Rob Sargent
Date:
Subject: Re: slightly OT - Using psql from Emacs with sql.el