On Tue, Apr 20, 2004 at 12:48:42PM -0700, Han Holl wrote: > Can anyone explain to me what I'm doing wrong: > (The first select is to show that the function rubriek exists, and does work). > I want to create an index on a computed column: Functional indexes could not have constants in 7.3; you can build a wrapper function with the constant embedded, and create an index using the wrapper function. Or you can just use 7.4. -- Alvaro Herrera (<alvherre[a]dcc.uchile.cl>) "La virtud es el justo medio entre dos defectos" (Aristóteles) ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://archives.postgresql.org