pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Rob Sargent <robjsargent@gmail.com>
To: pgsql-sql@postgresql.org
Subject: Re: slightly OT - Using psql from Emacs with sql.el
Date: Thu, 05 May 2011 16:47:09 -0600
Message-ID: <4DC328ED.1000705@gmail.com> (raw)
In-Reply-To: <87sjssajtb.fsf@kolob.sebmags.homelinux.org>
References: <87sjssajtb.fsf@kolob.sebmags.homelinux.org>



On 05/05/2011 04:01 PM, Seb wrote:
> 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,
>
Doesn't appear to.  I use sql-mode alot/daily.  The multiple prompts 
never bothers me, though the output not starting at the left kind of does.



view thread (5+ messages)  latest in thread

Message-ID: <4DC328ED.1000705@gmail.com>
Permalink:  ../4DC328ED.1000705@gmail.com/
Also on:    postgresql.org/message-id/4DC328ED.1000705@gmail.com

 · 

reply

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: robjsargent@gmail.com
  Subject: Re: slightly OT - Using psql from Emacs with sql.el
  In-Reply-To: <4DC328ED.1000705@gmail.com>

* 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