http://issues.apache.org/SpamAssassin/show_bug.cgi?id=4653





------- Additional Comments From [EMAIL PROTECTED]  2005-11-06 20:58 -------
I have extended the reporter's patch and tested it under PostgreSQL 7.4.8 (Red
Hat Enterprise Linux 4.1). Named parameters are not supported under PostgreSQL
7.4, and the 'ELSEIF' keyword should be 'ELSIF' for versions before 8.0.

63,67c63,67

< CREATE OR REPLACE FUNCTION put_tokens(INTEGER,

<                                       BYTEA[],

<                                       INTEGER,

<                                       INTEGER,

<                                       INTEGER)

---

> CREATE OR REPLACE FUNCTION put_tokens(inuserid INTEGER,

>                                       intokenary BYTEA[],

>                                       inspam_count INTEGER,

>                                       inham_count INTEGER,

>                                       inatime INTEGER)

70,74d69

<   inuserid      ALIAS FOR $1;

<   intokenary    ALIAS FOR $2;

<   inspam_count  ALIAS FOR $3;

<   inham_count   ALIAS FOR $4;

<   inatime       ALIAS FOR $5;

105c100

<   ELSIF new_tokens > 0 AND NOT inatime > 0 THEN

---

>   ELSEIF new_tokens > 0 AND NOT inatime > 0 THEN

109c104

<   ELSIF NOT new_tokens > 0 AND inatime > 0 THEN

---

>   ELSEIF NOT new_tokens > 0 AND inatime > 0 THEN





------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to