Re: Postgre RAISE NOTICE and PHP

From: Michael Glaesemann <grzm(at)seespotcode(dot)net>
To: Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>
Cc: Andre Lopes <lopes80andre(at)gmail(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Postgre RAISE NOTICE and PHP
Date: 2009-08-19 14:11:31
Message-ID: CFA9B005-62FD-41C4-8175-B30C866C5C07@seespotcode.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general


On Aug 18, 2009, at 16:45 , Scott Marlowe wrote:

> On Tue, Aug 18, 2009 at 10:57 AM, Andre
> Lopes<lopes80andre(at)gmail(dot)com> wrote:
>> I need to know if it is possible to show this RAISE NOTICE when I
>> run this
>> function from PHP.
>
> http://www.php.net/manual/en/function.pg-last-notice.php

Thanks, Scott.

Is there an equivalent in PDO? Looking through the docs I don't see
one. It'd also be nice to be able to get at any/all of the additional
information that's passed back: warning, context, hint, etc.

Michael Glaesemann
grzm seespotcode net

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Adrian Klaver 2009-08-19 14:22:34 Re: Function Logging
Previous Message Marc Mamin 2009-08-19 13:53:29 Monitoring the sequence cycles