pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: maggie <maggie@valves.com.tw>
To: pgsql-sql@postgresql.org
Subject: Can I using function with insert  or update?
Date: Fri, 25 Apr 2003 19:14:23 +0800
Message-ID: <20030425110423.M48507@valves.com.tw> (raw)


Dear sir
Is it possible to create function with as 'insert into or update....'
without reutrns;
My purpose is that mytable1 needs to be insert or update while mytable2 is 
getting any change.After I create trigger on mytable2 that need one function 
to support.
or someone could give me any idea.
thanks a lots.

maggie




Message-ID: <20030425110423.M48507@valves.com.tw>
Permalink:  ../20030425110423.M48507@valves.com.tw/
Also on:    postgresql.org/message-id/20030425110423.M48507@valves.com.tw

 · 

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: maggie@valves.com.tw
  Subject: Re: Can I using function with insert  or update?
  In-Reply-To: <20030425110423.M48507@valves.com.tw>

* 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