Re: I want to send comments to the backend!
От | Bruce Momjian |
---|---|
Тема | Re: I want to send comments to the backend! |
Дата | |
Msg-id | 200303201909.h2KJ9QU02834@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: I want to send comments to the backend! (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-interfaces |
Tom Lane wrote: > Bruce Momjian <pgman@candle.pha.pa.us> writes: > > Tom Lane wrote: > >> generalize it to understand about comments. Right now seems to be a > >> fine time to think about this, in fact, given that we're hacking the > >> protocol anyway. > > > Yes. > > On third thought, though, it would be really trivial for > pg_exec_query_string to call NullCommand and fall out early if > pg_parse_query returns an empty list; it'd take one extra test for NIL, > which would be more than compensated for if we got rid of the strspn > test. So maybe changing the backend is the best answer after all. Yes, that was my original thought. -- Bruce Momjian | http://candle.pha.pa.us pgman@candle.pha.pa.us | (610) 359-1001+ If your life is a hard drive, | 13 Roberts Road + Christ can be your backup. | Newtown Square, Pennsylvania19073
В списке pgsql-interfaces по дате отправления: