From: Jeff Boes <jboes@nexcerpt.com>
To: pgsql-admin@postgresql.org
Subject: Rename constraint?
Date: Thu, 24 Apr 2003 15:16:59 GMT
Message-ID: <25bfef68697eea9481a313c943621a72@TeraNews> (raw)
I have tables which were created with unnamed constraints:
# \d <table>
...
Check constraints: "bad_job_time" fn_validate_cron(job_time)
"$3" (arguments <> ''::text)
"$2" (job_time <> ''::text)
"periodic_jobs_job_length_bad" (job_length > 0)
How can I identify and rename the "$2" and "$3" constraints?
--
Jeff Boes vox 269.226.9550 ext 24
Database Engineer fax 269.349.9076
Nexcerpt, Inc. http://www.nexcerpt.com
...Nexcerpt... Extend your Expertise
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 from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: jboes@nexcerpt.com
Subject: Re: Rename constraint?
In-Reply-To: <25bfef68697eea9481a313c943621a72@TeraNews>
References: <25bfef68697eea9481a313c943621a72@TeraNews>
* 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