| От | Tom Lane |
|---|---|
| Тема | Re: Variadic polymorpic functions |
| Дата | |
| Msg-id | 4165.1264183554@sss.pgh.pa.us обсуждение |
| Ответ на | Variadic polymorpic functions (Vincenzo Romano <vincenzo.romano@notorand.it>) |
| Ответы |
Re: Variadic polymorpic functions
|
| Список | pgsql-general |
Vincenzo Romano <vincenzo.romano@notorand.it> writes: > I'm using the printf() function as seen here: > http://wiki.postgresql.org/wiki/Sprintf ... which is "variadic anyarray". > I was expecting that a "variadic polymorphic" function was able to > accept a "variable number of arguments of different types" (a-la C), > while it looks to me that it actually means "variable number of > arguments of a single type". Yup. The array can only contain one element type. regards, tom lane
В списке pgsql-general по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера