Re: array functions - request for opinions (was Re: [PATCHES]
В списке pgsql-hackers по дате отправления:
| От | Joe Conway |
|---|---|
| Тема | Re: array functions - request for opinions (was Re: [PATCHES] |
| Дата | |
| Msg-id | 3ED23D43.4090507@joeconway.com обсуждение исходный текст |
| Ответ на | Re: array functions - request for opinions (was Re: [PATCHES] (Andreas Pflug <Andreas.Pflug@web.de>) |
| Список | pgsql-hackers |
Andreas Pflug wrote: > Joe Conway wrote: > >> How can you create an aggregate using an operator as a transition >> function? >> >> =# CREATE AGGREGATE myagg >> -# ( >> (# BASETYPE = text, >> (# SFUNC = '||', >> (# STYPE = text, >> (# INITCOND = '' >> (# ); >> ERROR: AggregateCreate: function ||(text, text) does not exist > > > Use the function underlying the operator, in this case textcat. > Right, but Peter's desire is to *not document* the underlying function (this was just an example, we're really discussing the new array functions array_accum and/or array_append), and my point is that it needs to be documented if we expect people to use it. Joe
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера