pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: guard <guard@ficnet.net>
To: pgsql-sql@postgresql.org
Subject: pltcl function -> plpgsql
Date: Fri, 28 Dec 2001 12:42:47 +0800
Message-ID: <a0gt6a$1jvr$1@news.tht.net> (raw)

dear all

I have function >>
          spi_exec "Update $1 set
adv_amt=adv_amt-$OLD(adv_amt)+$OLD(gadv_amt) where $2=''$OLD($2)''   "

how to change plpgsql code

ps. $1 a variable

thanks




--






view thread (2+ messages)  latest in thread

Message-ID: <a0gt6a$1jvr$1@news.tht.net>
Permalink:  ../a0gt6a$1jvr$1@news.tht.net/
Also on:    postgresql.org/message-id/a0gt6a$1jvr$1@news.tht.net

 · 

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: guard@ficnet.net
  Subject: Re: pltcl function -> plpgsql
  In-Reply-To: <a0gt6a$1jvr$1@news.tht.net>

* 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