Re: Why does this not work?

Поиск
Список
Период
Сортировка
От Marin Dimitrov
Тема Re: Why does this not work?
Дата
Msg-id 001b01c1e188$2a5463a0$9b0e32d4@sirma.bg
обсуждение исходный текст
Ответ на Re: Why does this not work?  ("Johann Zuschlag" <zuschlag@online.de>)
Список pgsql-general
----- Original Message -----
From: "Johann Zuschlag"

>
> Is there a solution for such a problem?
> Let's assume you can't be sure whether you get
> the appropriate length in an insert.
>

what about changing the column from varchar to text?

size shouldn't be an issue and your trigger will be able to cut the content
to the desired length


hth,

    Marin

----
"...what you brought from your past, is of no use in your present. When
you must choose a new path, do not bring old experiences with you.
Those who strike out afresh, but who attempt to retain a little of the
old life, end up torn apart by their own memories. "




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

Предыдущее
От: "craig isdahl"
Дата:
Сообщение: where to find info about data types?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Why does this not work?