Re: check constriaint for BLOB

Поиск
Список
Период
Сортировка
От Aasmund Midttun Godal
Тема Re: check constriaint for BLOB
Дата
Msg-id 20011127010210.23147.qmail@ns.krot.org
обсуждение исходный текст
Ответ на check constriaint for BLOB  ("news.postgresql.org" <howieshouse@home.com>)
Ответы Re: check constriaint for BLOB
Список pgsql-general
CREATE TABLE testus (
    data BYTEA CHECK (octet_length(data) > 10000)
);
Perhaps?

Regards,

Aasmund.

On Mon, 26 Nov 2001 15:36:28 -0800, "news.postgresql.org" <howieshouse@home.com> wrote:
> Is it possible to add a constraint during "CREATE TABLE" that guarantees
> objects in a certain field will be greater than zero size?
>
> Thanks,
>
> Howie
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster

Aasmund Midttun Godal

aasmund@godal.com - http://www.godal.com/
+47 40 45 20 46

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

Предыдущее
От: "Roderick A. Anderson"
Дата:
Сообщение: Row Limit?
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Row Limit?