rejecting characters in a field

From: Kenneth Gonsalves <lawgon(at)thenilgiris(dot)com>
To: PostgreSQL SQL <pgsql-sql(at)postgresql(dot)org>
Subject: rejecting characters in a field
Date: 2005-06-09 07:06:31
Message-ID: 200506091236.31790.lawgon@thenilgiris.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-sql

hi
i have a table with a varchar field called 'name'. I want postgres to
reject any insert with characters defined as illegal characters, for
example '*/^#'. How do i do this?
--
regards
kg

http://www.livejournal.com/users/lawgon
tally ho! http://avsap.sourceforge.net
ಇಂಡ್ಲಿನಕ್ಸ வாழ்க!

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Gnanavel Shanmugam 2005-06-09 07:15:56 Re: rejecting characters in a field
Previous Message Thomas Kellerer 2005-06-09 06:58:51 Re: SELECT very slow