From: | Melvin Davidson <melvin6925(at)gmail(dot)com> |
---|---|
To: | David Rowley <david(dot)rowley(at)2ndquadrant(dot)com> |
Cc: | raf(at)raf(dot)org, "pgsql-general(at)postgresql(dot)org >> PG-General Mailing List" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Inconsistent compilation error |
Date: | 2018-04-19 02:04:11 |
Message-ID: | CANu8Fizyk-Q_sHdy6F9vFZk-hcednx-paP_woj=WgKjkuDbXOg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
> I'm unsure why you're considering
>'blah_history.original_id' not to be an argument here.
On Wed, Apr 18, 2018 at 9:50 PM, David Rowley <david(dot)rowley(at)2ndquadrant(dot)com>
wrote:
> On 19 April 2018 at 13:28, Melvin Davidson <melvin6925(at)gmail(dot)com> wrote:
> > It is not fine. You have specifed TWO percent signs (%) which requires
> TWO
> > argumenrts,
> > but you have only provided ONE -> r.
>
> I'm confused about this statement.
>
> Did you perhaps overlook the fact that there are in fact two
> arguments? I'm unsure why you're considering
> 'blah_history.original_id' not to be an argument here.
>
>
> --
> David Rowley http://www.2ndQuadrant.com/
> PostgreSQL Development, 24x7 Support, Training & Services
>
There are two possibilities here.
1`. The compiler might be expecting a variable and not accepting a text
literal.
Normally, literals are inside the first quotes. IE: raise notice '
blah_history.original_id' %', r;
OR
2. since this is in a loop, r might be NULL
--
*Melvin Davidson*
*Maj. Database & Exploration Specialist*
*Universe Exploration Command – UXC*
Employment by invitation only!
From | Date | Subject | |
---|---|---|---|
Next Message | Tom Lane | 2018-04-19 02:06:20 | Re: Inconsistent compilation error |
Previous Message | David Rowley | 2018-04-19 01:50:37 | Re: Inconsistent compilation error |