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(at)home(dot)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(at)godal(dot)com - http://www.godal.com/
+47 40 45 20 46