| От | Josh Berkus |
|---|---|
| Тема | Is TG_NARGS/TG_ARGV just legacy, or what? |
| Дата | |
| Msg-id | 200603041444.04650.josh@agliodbs.com обсуждение |
| Ответы |
Re: Is TG_NARGS/TG_ARGV just legacy, or what?
|
| Список | pgsql-hackers |
Folks, I was just building something and noticing the peculiar structure we've given to arguments to trigger procedures. Instead of declaring them normally, we pass them through the variables TG_NARGS and TG_ARGV[]. This is inconsistent with the entire rest of Postgres, as well as making it hard to validate passed constants (e.g. if you pass the wrong number of arguments, you won't know it until execution time). Is there some sound technical reason not to use the standard argument declaration, or is this just something we've overlooked fixing? -- --Josh Josh Berkus Aglio Database Solutions San Francisco
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера