Re: Variadic polymorpic functions
От | Vincenzo Romano |
---|---|
Тема | Re: Variadic polymorpic functions |
Дата | |
Msg-id | 3eff28921001221010i73b092d9wcced87ec3a81c449@mail.gmail.com обсуждение исходный текст |
Ответ на | Re: Variadic polymorpic functions (Tom Lane <tgl@sss.pgh.pa.us>) |
Ответы |
Re: Variadic polymorpic functions
|
Список | pgsql-general |
2010/1/22 Tom Lane <tgl@sss.pgh.pa.us>: > 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. Understood. So there's no way to have a function accepting a VARIADIC ANY. Right? -- Vincenzo Romano NotOrAnd Information Technologies NON QVIETIS MARIBVS NAVTA PERITVS
В списке pgsql-general по дате отправления: