Re: Postgre RAISE NOTICE and PHP

From: Adam Rich <adam(dot)r(at)sbcglobal(dot)net>
To: Andre Lopes <lopes80andre(at)gmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: Postgre RAISE NOTICE and PHP
Date: 2009-08-18 22:42:55
Message-ID: 4A8B2E6F.6040905@sbcglobal.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Andre,
See this PHP page:

http://www.php.net/manual/en/function.pg-last-notice.php

Andre Lopes wrote:
> Hi,
>
> I'm developing a function with some checks, for example... to check if
> the e-mail is valid or not.
>
> If the e-mail is not valid I put a line with RAISE NOTICE 'E-mail not
> valid'.
>
> I need to know if it is possible to show this RAISE NOTICE when I run
> this function from PHP.
>
>
> Best Regards,
> André.
>
>

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Sam Mason 2009-08-18 23:47:22 Re: text type has no default operator class for GIN?
Previous Message Bob Gobeille 2009-08-18 21:50:47 Re: text type has no default operator class for GIN?