Skip site navigation (1) Skip section navigation (2)

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: (view raw, whole thread or download thread mbox)
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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2017 The PostgreSQL Global Development Group