constraint question

Поиск
Список
Период
Сортировка
От mwaples@optusnet.com.au
Тема constraint question
Дата
Msg-id 3A4FA146.AA4FED3D@optusnet.com.au
обсуждение исходный текст
Ответ на RE: error "11"  ("Rob Arnold" <rob@cabrion.com>)
Ответы Re: constraint question  ("D. Duccini" <duccini@backpack.com>)
Re: constraint question  (Tom Lane <tgl@sss.pgh.pa.us>)
Re: constraint question  ("Brett W. McCoy" <bmccoy@chapelperilous.net>)
Список pgsql-novice
I have table users with a varchar field user_name,
Id like to restrict this to just alphanumeric characters
can I do this with a check constraint ?
or do I need to use a tigger and function ?

I've read the docs but can't seem to get it right - Im sure its fairly
simple and Id like to use it on a number of fields in a number of tables

В списке pgsql-novice по дате отправления:

Предыдущее
От: "Albert REINER"
Дата:
Сообщение: Re: Re: how to get trigger start function not procedure
Следующее
От: "D. Duccini"
Дата:
Сообщение: Re: constraint question