| From: | Craig Ringer <craig(at)postnewspapers(dot)com(dot)au> |
|---|---|
| To: | Damian Georgiou <bchlist(at)gmail(dot)com> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: Stored procs / functions - execution failure |
| Date: | 2008-06-14 16:42:59 |
| Message-ID: | 4853F513.3060501@postnewspapers.com.au |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
Damian Georgiou wrote:
> I am having an issue with a function where it used to run in a previous
> installation of postgres under windows. The box has since been
> decommissioned so I am unable to check exactly what version it was though it
> was version 8 under winxp.
>
> I am now running postgres 8.2.5 Under OSX 10.5.3
>
> Now I have imported the data, the function is available in the list however
> I get this error when I try to run it
> ERROR: function sp_schedulefromdate("unknown") does not exist
> LINE 1: select sp_scheduleFromDate('2008-01-01');
OK, first guess: you've defined your function with a mixed case name,
and you're being bitten by case folding. You probably meant to write:
select "sp_scheduleFromDate"('2008-01-01')
not
select sp_scheduleFromDate('2008-01-01')
The former suppresses lowercase folding; the latter does not.
--
Craig Ringer
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Fuhr | 2008-06-14 17:43:35 | Re: why sequential scan is used on indexed column ??? |
| Previous Message | Tommy Gildseth | 2008-06-14 16:39:05 | Re: Stored procs / functions - execution failure |