validating incoming string length...

Поиск
Список
Период
Сортировка
От Steve Holdoway
Тема validating incoming string length...
Дата
Msg-id 20061108113246.f910a989.steve@firetrust.org
обсуждение исходный текст
Ответы Re: validating incoming string length...
Список pgsql-admin
I'm trying to write a pl/pgsql trigger to validate incoming data to an existing database. One of the fields is defined
ascharacter varying (255). Is there any way of catching over-length data on inserts and silently dropping them? At the
moment,I'm getting the error 'ERROR:  value too long for type character varying(255)' no matter what I try. 

And yes, I inherited this!

Cheers,

Steve

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

Предыдущее
От: "Michael McCloskey"
Дата:
Сообщение: Postgres at startup
Следующее
От: "jatrojoomla"
Дата:
Сообщение: how & from where to start & admin pgsql on red hat ES 3