Re: Ok, how do I debug THIS?

From: Stephan Szabo <sszabo(at)megazone23(dot)bigpanda(dot)com>
To: Larry Rosenman <ler(at)lerctr(dot)org>
Cc: <josh(at)agliodbs(dot)com>, <pgsql-sql(at)postgresql(dot)org>
Subject: Re: Ok, how do I debug THIS?
Date: 2003-05-13 19:56:36
Message-ID: 20030513125451.J30140-100000@megazone23.bigpanda.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql


On Tue, 13 May 2003, Larry Rosenman wrote:

> > Larry,
> >
> >> > You seem to be missing most of your function, here.
> >> I just did a head. Note the line count above. It's only 147
> >> lines, but the error refers to line 206.
> >
> > Obviously postgres is counting lines differently from you.
> >
> > Post the whole thing, or start from the bottom of the function and work
> > your way up until you find the problem. Most likely issue: missing
> > semicolon.
>
> Ok, I'm blind or stupid, or quoting rules are biting my butt....

> record_values_new := record_values_new || '','' ||
> || quote_literal(NEW.netblock) || '';

Isn't the above an unterminated literal? Do you really need the last ||
'' part?

In response to

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Larry Rosenman 2003-05-13 19:58:01 Re: Ok, how do I debug THIS?
Previous Message Larry Rosenman 2003-05-13 19:49:17 Re: Ok, how do I debug THIS?