pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Rommel the iCeMAn <icecrew@gmail.com>
Cc: PostgreSQL SQL Mailing List <pgsql-sql@postgresql.org>
Subject: Re: Problems Testing User-Defined Function
Date: Sat, 10 Jun 2006 14:11:21 -0400
Message-ID: <1499.1149963081@sss.pgh.pa.us> (raw)
In-Reply-To: <000f01c68c2c$02384690$111117ac@theport.com>
References: <000f01c68c2c$02384690$111117ac@theport.com>

"Rommel the iCeMAn" <icecrew@gmail.com> writes:
> Thanks for the input so far. No it wasn't a direct paste, what I did in fact
> type was SELECT sp_insert_manifest('me', 'me@you.com', 'me@you.com',
> 'test.txt', NULL, '2006/06/09'). The error message said something like
> function sp_insert_manifest(character varying, character varying, character
> varying, character varying, "unknown", timestamp) does not exist.

You were asked for the exact error message, not an approximation.  Given
that input I'd have expected all the arguments to show as "unknown" in
the error message, because none of them have well-defined types.

> I'll investigate the "CALLED ON NULL INPUT" option that Jim suggested.

Since that's the default anyway, adding it won't help you.  I suspect
you need to be looking for more prosaic issues, like whether the function
name is spelled correctly.

			regards, tom lane



view thread (5+ messages)

Message-ID: <1499.1149963081@sss.pgh.pa.us>
Permalink:  ../1499.1149963081@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/1499.1149963081@sss.pgh.pa.us

 · 

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: tgl@sss.pgh.pa.us, icecrew@gmail.com
  Subject: Re: Problems Testing User-Defined Function
  In-Reply-To: <1499.1149963081@sss.pgh.pa.us>

* 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