Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index

Le 03/09/13 22:29, Roger Nutbeam a écrit :


I have a form for entering some data. The data is checked using a trigger
function in postgresql. If an exception is raised by the function, nothing
is shown in the form. It just doesn't complete entering the data, i.e. move
to the next row in the data grid. If no exception is raised the data is
entered into the table via the form, and the cursor moves to the next row.

Entering the data manually using SQL outside of Base, returns the exception
when it's meant to. The postgresql function is working.

AFAIK, this is not currently supported by the postgres native driver,
and I'm not even sure it is by the more general JDBC driver ? How would
you tell the driver that the statement execution called by the trigger
has failed, when all of this is stored and executed on the server, about
which the driver knows nothing ?


To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.