pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: David Flegl <ml_flegl@centrum.cz>
To: pgsql-sql@postgresql.org
Subject: NEW to plpythonu function?
Date: Mon, 30 Apr 2007 16:56:46 +0200
Message-ID: <463603AE.8020807@centrum.cz> (raw)

Hi,
   may anyone help me with problem how to passed trigger row NEW from 
trigger function in plpgsql to other support function in plpythonu? I've 
tried something like>

CREATE FUNCTION pythfce(arg record)...
CREATE FUNCTION pythfce(arg anyelement)...

but now effect. I'm getting system messages like: plpythonu don't know 
argument type recort, anyelement)

P.S. I would like to have trigger function in plpgsql and supporting 
function in plpythonu, not to join them to plpythonu.

Thankx a lot

David Flegl



Message-ID: <463603AE.8020807@centrum.cz>
Permalink:  ../463603AE.8020807@centrum.cz/
Also on:    postgresql.org/message-id/463603AE.8020807@centrum.cz

 · 

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: ml_flegl@centrum.cz
  Subject: Re: NEW to plpythonu function?
  In-Reply-To: <463603AE.8020807@centrum.cz>

* 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