[PHP] Date type in pl/pgsql function checking passed parameter

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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



Make sure YOUR emails don't get lost! Download Mailinfo here

[Index of Archives]     [Postgresql General]     [Postgresql Admin]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Databases]     [Yosemite Backpacking]     [Postgresql Jobs]

  Powered by Linux