Date type in pl/pgsql function checking passed parameter

From: "Partners Majolee Infotech" <info(at)majolee(dot)info>
To: <pgsql-php(at)postgresql(dot)org>
Subject: Date type in pl/pgsql function checking passed parameter
Date: 2005-10-24 13:02:10
Message-ID: 00a101c5d89b$296bfa80$0100a8c0@MI11
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-php

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..

Responses

Browse pgsql-php by date

  From Date Subject
Next Message John DeSoi 2005-10-24 14:11:00 Re: Date type in pl/pgsql function checking passed parameter
Previous Message Christopher Kings-Lynne 2005-10-19 02:12:53 phpPgAdmin 3.5.6 Released