How to pass information back to client

How to pass information back to client

am 21.12.2006 16:57:15 von Chris Hoover

------=_Part_33819_8525371.1166716635633
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Is there anyway in PostgreSQL to have a function pass information back to
the client via the ODBC driver?

I would like to have some of my trigger functions and regular functions be
able to pass specific error messages back to the client. Is this possible?
If so, how do you do it. If not, is it a planned enhancement?

Thanks,

Chris

------=_Part_33819_8525371.1166716635633
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Is there anyway in PostgreSQL to have a function pass information back to the client via the ODBC driver?

I would like to have some of my trigger functions and regular functions be able to pass specific error messages back to the client.  Is this possible?  If so, how do you do it.  If not, is it a planned enhancement?


Thanks,

Chris


------=_Part_33819_8525371.1166716635633--

Re: How to pass information back to client

am 21.12.2006 17:03:16 von Richard Broersma Jr

> Is there anyway in PostgreSQL to have a function pass information back =
to
> the client via the ODBC driver?
>=20
> I would like to have some of my trigger functions and regular functions=
be
> able to pass specific error messages back to the client. Is this possi=
ble?
> If so, how do you do it. If not, is it a planned enhancement?

Raising and error or notice doesn't work?
http://www.postgresql.org/docs/8.2/interactive/plpgsql-error s-and-message=
s.html

Regards,

Richard Broersma Jr.

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings