| От | Richard Huxton |
|---|---|
| Тема | Re: Functional index and string concatenation |
| Дата | |
| Msg-id | 200403081738.46011.dev@archonet.com обсуждение исходный текст |
| Ответ на | Re: Functional index and string concatenation (Daniel Henrique Alves Lima <email_daniel_h@yahoo.com.br>) |
| Список | pgsql-sql |
On Monday 08 March 2004 16:02, Daniel Henrique Alves Lima wrote: > Yes, i was searching for the name of equivalent function to "||" > operator... > > Now, i've got a new problem: I need to concat three values (two > column values and a sepator constant). But from documentation: " The > function in the index definition can take more than one argument, but > they must be table columns, not constants" and "there cannot be > multicolumn indexes that contain function calls". > > Maybe i should to create a new pgsql function. Yes - a wrapper function is the standard solution. I don't think you need to do this in 7.4 though. -- Richard Huxton Archonet Ltd
В списке pgsql-sql по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера