Re: Build from file syntax troublem.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Igor Radtchenko <inta(at)komi(dot)parma(dot)ru>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: Build from file syntax troublem.
Date: 2005-03-05 23:38:26
Message-ID: 27861.1110065906@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Igor Radtchenko <inta(at)komi(dot)parma(dot)ru> writes:
> CREATE FUNCTION public.from_days(int4) RETURNS timestamp AS '
> select ''0000-01-02''::timestamp + ($1 || '' days'')::interval as result
> ' LANGUAGE 'sql' VOLATILE;

> The parser abuse that
> 'parse error at or near '"." ',
> 'parse error at or near "public'" ',
> 'parse error at or near "#'" '.

> PostgeSQL version is 7.2.3.

You need 7.3 or later to deal with schema-aware commands.

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Reini Urban 2005-03-06 12:27:10 Re: PostgreSQL installation problem on Windows XP Home
Previous Message Igor Radtchenko 2005-03-05 22:45:01 Build from file syntax troublem.