From: Tom Lane <tgl@sss.pgh.pa.us>
To: PostgreSQL Admin <postgres@productivitymedia.com>
Cc: PostgreSQL SQL List <pgsql-sql@postgresql.org>
Subject: Re: Add constraint for number of chars
Date: Thu, 26 Apr 2007 01:25:10 -0400
Message-ID: <16545.1177565110@sss.pgh.pa.us> (raw)
In-Reply-To: <46302D88.7070804@productivitymedia.com>
References: <46302D88.7070804@productivitymedia.com>
PostgreSQL Admin <postgres@productivitymedia.com> writes:
> username | varchar(100)| constraint username >=8 and username <=100
Perhaps you mean "length(username) >= 8" and so on?
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-sql@postgresql.org
Cc: tgl@sss.pgh.pa.us, postgres@productivitymedia.com
Subject: Re: Add constraint for number of chars
In-Reply-To: <16545.1177565110@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox