On Tue, 2006-12-05 at 15:27 -0800, David Fetter wrote:
> On Tue, Dec 05, 2006 at 02:50:47PM -0800, Joshua D. Drake wrote:
> > On Tue, 2006-12-05 at 17:45 -0500, Bruce Momjian wrote:
> > > Alvaro Herrera wrote:
> > > > Tom Lane wrote:
> > > > > "Joshua D. Drake" <jd@commandprompt.com> writes:
> > > > > > control-R isn't real useful for 17 queries that are exactly
> > > > > > the same except for 3 different join clauses. It also isn't
> > > > > > useful when you don't know exactly what query you are
> > > > > > looking for.
>
> I'd argue that you need to have those 17 queries each in different
> files, or you're cruisin' for a bruisin'.
Not sure that's the case but...
> > > OK, now at least I understand how it would be used, and could be
> > > explained easily in the documentation --- do \s, then \! 99, or
> > > maybe \# 99. I don't like making \! do shells and pull SQL
> > > commands from history.
> >
> > Yeah the # was the next logical thing. Would we have to escape it?
> >
> > \#12... hmmm
> > #12
>
> \#12 fits better into psql's paradigm.
>
nod.
j
--
=== The PostgreSQL Company: Command Prompt, Inc. ===
Sales/Support: +1.503.667.4564 || 24x7/Emergency: +1.800.492.2240
Providing the most comprehensive PostgreSQL solutions since 1997 http://www.commandprompt.com/
Donate to the PostgreSQL Project: http://www.postgresql.org/about/donate