Re: Ok, how do I debug THIS?
От | Larry Rosenman |
---|---|
Тема | Re: Ok, how do I debug THIS? |
Дата | |
Msg-id | 283090000.1052855881@lerlaptop.iadfw.net обсуждение исходный текст |
Ответ на | Re: Ok, how do I debug THIS? (Stephan Szabo <sszabo@megazone23.bigpanda.com>) |
Ответы |
Re: Ok, how do I debug THIS?
|
Список | pgsql-sql |
--On Tuesday, May 13, 2003 12:56:36 -0700 Stephan Szabo <sszabo@megazone23.bigpanda.com> wrote: > > 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? Eww. I'll bet your right. Damn Cut/paste and changing logic. :-). I'll go try that. LER -- Larry Rosenman http://www.lerctr.org/~ler Phone: +1 972-414-9812 E-Mail: ler@lerctr.org US Mail: 1905 Steamboat Springs Drive, Garland, TX 75044-6749
В списке pgsql-sql по дате отправления: