| От | Josh Berkus |
|---|---|
| Тема | Re: Making oidvector and int2vector variable-length |
| Дата | |
| Msg-id | 200503280857.58845.josh@agliodbs.com обсуждение исходный текст |
| Ответ на | Making oidvector and int2vector variable-length (Tom Lane <tgl@sss.pgh.pa.us>) |
| Список | pgsql-hackers |
Alvaro, Tom, > > Very likely we could kick it up to 100 or so without feeling any pain; > > how high were you thinking? > > I used to see people asking to raise it to 64 or so. Not sure if it > would be useful to go higher than that ... much less now that we have > full-fledged support for row types. Actually, I'm right now working on a function with 88 parameters, which have to be passed through a temp table in 7.4. I've seen Oracle PL/SQL procedures with 140 parameters. While it's possible to work around this using row types, it's cumbersome, and extremely painful if you're porting an application. So if we can make this variable-length, I'd say set the limit at 400 to avoid TOASTing, but otherwise allow users as many parameters as they want. -- Josh Berkus Aglio Database Solutions San Francisco
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера