Re: Need feedback on new feature (\for)
| От | Martijn van Oosterhout |
|---|---|
| Тема | Re: Need feedback on new feature (\for) |
| Дата | |
| Msg-id | 20030825084852.GA26027@svana.org обсуждение |
| Ответ на | Re: Need feedback on new feature (\for) (Bruce Momjian <pgman@candle.pha.pa.us>) |
| Список | 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@svana.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
Вложения
В списке pgsql-general по дате отправления: