ERROR: ExecutePlan: (junk) `ctid' is NULL!

From: "Jim C(dot) Nasby" <jim(at)nasby(dot)net>
To: pgsql-general(at)postgresql(dot)org
Subject: ERROR: ExecutePlan: (junk) `ctid' is NULL!
Date: 2003-04-29 20:56:03
Message-ID: 20030429155603.M66185@flake.decibel.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

stats=> UPDATE Tsummary
stats-> SET date = last_date
stats-> , project_id = :ProjectID
stats-> , work_units = work_for_day
stats-> , participants_new = (SELECT count(*) FROM
email_rank WHERE project_id = :ProjectID
stats(> AND first_date =
ps.last_date)
stats-> , teams_new = (SELECT count(*) FROM team_rank WHERE
project_id = :ProjectID
stats(> AND first_date =
ps.last_date)
stats-> FROM project_statsrun ps
stats-> WHERE ps.project_id = :ProjectID
stats-> ;
UPDATE 0
stats=>
stats=> \echo email_contrib_today
email_contrib_today
stats=> UPDATE Tsummary
stats-> SET participants = count(distinct credit_id)
stats-> , teams = count(distinct team_id)
stats-> FROM email_contrib_today ect
stats-> WHERE ect.project_id = :ProjectID
stats-> ;
ERROR: ExecutePlan: (junk) `ctid' is NULL!

Uhm... what exactly is that supposed to mean? More important, how do I
fix it? :)
--
Jim C. Nasby (aka Decibel!) jim(at)nasby(dot)net
Member: Triangle Fraternity, Sports Car Club of America
Give your computer some brain candy! www.distributed.net Team #1828

Windows: "Where do you want to go today?"
Linux: "Where do you want to go tomorrow?"
FreeBSD: "Are you guys coming, or what?"

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jim C. Nasby 2003-04-29 20:57:23 Re: Performance problems
Previous Message Sergey Holod 2003-04-29 20:51:32 Making "SECURITY DEFINER" procedures