Re: using separate parameters in psql query execution
От | Pavel Stehule |
---|---|
Тема | Re: using separate parameters in psql query execution |
Дата | |
Msg-id | 162867790912202203u1e4fda7j5e0f7ba6c39c783a@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: using separate parameters in psql query execution (Robert Haas <robertmhaas@gmail.com>) |
Ответы |
Re: using separate parameters in psql query execution
|
Список | pgsql-hackers |
2009/12/21 Robert Haas <robertmhaas@gmail.com>: > On Mon, Nov 16, 2009 at 5:01 PM, Pavel Stehule <pavel.stehule@gmail.com> wrote: >> Hello >> >> now - complete patch >> >> ToDo: >> * enhance a documentation (any volunteer?) >> * check name for backslash command > > I read through this patch tonight and I don't understand what the > point of this change is. That's something that should probably be > discussed and also incorporated into the documentation. Do you ask about ToDo points? I used "pexec" as switch. Probably better name is "parametrized-execution", "send-parameters-separately" or "parametrized-queries" general goal of this patch is removing issues with variables quoting - using psql variables should be more robust and more secure. I checked second design based on enhanced syntax - http://www.postgres.cz/index.php/Enhanced-psql#Variables_quoting . It working too, but it needs one exec more. Regards Pavel > > ...Robert >
В списке pgsql-hackers по дате отправления: