Re: Can trigger return value - Mailing list pgsql-general

From Dmitry Tkach
Subject Re: Can trigger return value
Date
Msg-id 3F2686E7.5030207@openratings.com
Whole thread Raw
In response to Can trigger return value  (Deepa K <kdeepa@midascomm.com>)
List pgsql-general
Deepa K wrote:

>Hi,
>        Thanks for your prompt reply.
>        I think I didn't explained the problem
>clearly.
>        Actually when a client (from an application like java)
>tries to access the server database which is in network
>How could I solve the problem. Is 'RAISE EXCEPTION' solves
>the above problem. If so please explain me.
>
>
You application will receive an exception with an error message after it
tries to do something, that is disallowed by your trogger.

I hope, it helps...

Dima


pgsql-general by date:

Previous
From: "scott.marlowe"
Date:
Subject: Re: Clone a database to other machine
Next
From: Tom Lane
Date:
Subject: Re: concurrent writes