Search Postgresql Archives

Re: ISO something like "#if 0 ... #endif" for SQL code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Mar 11, 2008 at 7:17 AM, Sam Mason <sam@xxxxxxxxxxxxx> wrote:

I'm not quite sure if this would help your use case, but a few editors
allow you to send blocks of text to other processes.  For example, under
Emacs I can hit Ctrl+C twice and it will grab the current paragraph
and send it off to psql, showing the results in another window.

That's a neat trick.  The display in the interactive *SQL* (for me anyway) is a bit buggy (some newlines are not being inserted where I would expect them), but this is only a minor annoyance.  Being able to execute a chunk of buffer on the spot like that is just awesome.  (I like Ctrl-C Ctrl-C OK, but I like Ctrl-C Ctrl-R even more.)

Thanks!

Kynn


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux