Re: Update on existence?

From: Richard Broersma Jr <rabroersma(at)yahoo(dot)com>
To: Jan Danielsson <jan(dot)m(dot)danielsson(at)gmail(dot)com>
Cc: pgsql-novice(at)postgresql(dot)org
Subject: Re: Update on existence?
Date: 2007-04-05 04:42:38
Message-ID: 270208.76670.qm@web31807.mail.mud.yahoo.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

> RETURN NEXT reply;

I think Return next is incorrect. try return reply;
> One thought -- does my "UPDATE" line need to be in a transaction section?

by default it already is <I believe>. All syntax in a function is executed inside a single
calling transaction.

In response to

Browse pgsql-novice by date

  From Date Subject
Next Message Michelle Konzack 2007-04-05 18:24:06 Re: Anyone know where I can get an 8.2.3 binary for ubuntu?
Previous Message Jan Danielsson 2007-04-05 03:47:30 Re: Update on existence?