Re: View and function

From: "Thomas F(dot) O'Connell" <tfo(at)monsterlabs(dot)com>
To: bombadil(at)wanadoo(dot)es
Subject: Re: View and function
Date: 2001-04-17 16:25:21
Message-ID: 3ADC6E71.7050804@monsterlabs.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

DaVinci wrote:

> create function pilpot(calle) returns integer as '

this is your problem. try this:

create function pilpot(text) returns integer as '

the syntax for creating postgres functions is to declare the types, not
the identifiers of any parameters.

-tfo

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Christian Fritze 2001-04-17 16:57:02 Re: index not used with subselect in where clause ?
Previous Message Travis Bauer 2001-04-17 16:10:52 Re: JDBC error in 7.0.3