pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Stephan Szabo <sszabo@megazone23.bigpanda.com>
To: Larry Rosenman <ler@lerctr.org>
Cc: josh@agliodbs.com
Cc: pgsql-sql@postgresql.org
Subject: Re: Ok, how do I debug THIS?
Date: Tue, 13 May 2003 12:56:36 -0700 (PDT)
Message-ID: <20030513125451.J30140-100000@megazone23.bigpanda.com> (raw)
In-Reply-To: <273950000.1052855357@lerlaptop.iadfw.net>


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?




view thread (14+ messages)  latest in thread

Message-ID: <20030513125451.J30140-100000@megazone23.bigpanda.com>
Permalink:  ../20030513125451.J30140-100000@megazone23.bigpanda.com/
Also on:    postgresql.org/message-id/20030513125451.J30140-100000@megazone23.bigpanda.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-sql@postgresql.org
  Cc: sszabo@megazone23.bigpanda.com, ler@lerctr.org, josh@agliodbs.com
  Subject: Re: Ok, how do I debug THIS?
  In-Reply-To: <20030513125451.J30140-100000@megazone23.bigpanda.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox