From: | Martijn van Oosterhout <kleptog(at)svana(dot)org> |
---|---|
To: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Postgresql General <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Need feedback on new feature (\for) |
Date: | 2003-08-25 08:48:52 |
Message-ID: | 20030825084852.GA26027@svana.org |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Sun, Aug 24, 2003 at 09:29:05PM -0400, Bruce Momjian wrote:
> Tom Lane wrote:
> > I said:
> > > ... I think it makes much more sense to push the
> > > complexity into the control query and keep the substitution rules
> > > non-surprising.
> >
> > BTW, taking that approach as gospel, we could forget my idea of
> > declaring datatypes for the control-query results. Just substitute
> > 'em literally. The quoting transformations could be done easily in
> > the control query with quote_literal() or quote_ident().
>
> Has the patch author looked at how psql variables adds quotes, usually
> like:
>
> "\"":var"\""
>
> It is ugly, but it seems like the clearest way.
That's another solution. I've been a bit short of time recently but at some
stage I'm going to rework it to take some of the suggestions people made.
--
Martijn van Oosterhout <kleptog(at)svana(dot)org> http://svana.org/kleptog/
> "All that is needed for the forces of evil to triumph is for enough good
> men to do nothing." - Edmond Burke
> "The penalty good people pay for not being interested in politics is to be
> governed by people worse than themselves." - Plato
From | Date | Subject | |
---|---|---|---|
Next Message | Hervé Piedvache | 2003-08-25 10:46:53 | Re: WAL Files checkpoint_timeout with voluminous delete/insert |
Previous Message | Justin Tocci | 2003-08-25 03:01:16 | How do I find what views depend on a particular table? |