Re: Error handling in stored functions/procedures

From: Karsten Hilbert <Karsten(dot)Hilbert(at)gmx(dot)net>
To: Postgresql General List <pgsql-general(at)postgresql(dot)org>
Subject: Re: Error handling in stored functions/procedures
Date: 2004-05-30 18:04:50
Message-ID: 20040530200450.C649@hermes.hilbert.loc
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

> a) The basic contents of the internal data dictionary can be used to
> check incoming fields from on their length and permitted contents.
>
> b) With a little extra work, I should be able to define a table which
> can be used to check field contents against field masks.
You can use column check constraints with regular expressions
for that. No need for an extra table I would assume.

Karsten
--
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD 4537 78B9 A9F9 E407 1346

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Jurgen Defurne 2004-05-30 19:38:35 Re: Error handling in stored functions/procedures
Previous Message Karsten Hilbert 2004-05-30 18:01:39 Re: Use arrays to store multilanguage texts