pg.ddx.io  pgsql-php@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Partners Majolee Infotech <info@majolee.info>
To: pgsql-php@postgresql.org
Subject: Date type in pl/pgsql function checking passed parameter
Date: Mon, 24 Oct 2005 18:32:10 +0530
Message-ID: <00a101c5d89b$296bfa80$0100a8c0@MI11> (raw)

Hello All,

We have a pl/pgsql function functionName(date) .. here if it has been called using functionName('23456') it gives error .. we need to raise an exception(customized error message) if the passed value is not date.. how can we do that.

Thanks..

view thread (2+ messages)  latest in thread

Message-ID: <00a101c5d89b$296bfa80$0100a8c0@MI11>
Permalink:  ../00a101c5d89b$296bfa80$0100a8c0@MI11/
Also on:    postgresql.org/message-id/00a101c5d89b$296bfa80$0100a8c0@MI11

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-php@postgresql.org
  Cc: info@majolee.info
  Subject: Re: Date type in pl/pgsql function checking passed parameter
  In-Reply-To: <00a101c5d89b$296bfa80$0100a8c0@MI11>
  References: <00a101c5d89b$296bfa80$0100a8c0@MI11>

* 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