Re: function runs on Windows not on solaris

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: suraj mundada <surajmundada(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: function runs on Windows not on solaris
Date: 2004-08-20 00:45:48
Message-ID: 14297.1092962748@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

suraj mundada <surajmundada(at)yahoo(dot)com> writes:
> UPDATE db_license_tab SET account_id=accountId,license_anniversarydate=current_date(),license_status=1 WHERE license_key=licKey;

> ERROR: parser: parse error at or near "(" at character 80

I believe CURRENT_DATE is supposed to be called without parentheses.

regards, tom lane

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Robby Russell 2004-08-20 00:48:01 Re: Postgresql feature
Previous Message Tom Lane 2004-08-20 00:31:06 Re: libpq: passwords WAS: scripting & psql issues