Rename constraint?

From: Jeff Boes <jboes(at)nexcerpt(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: Rename constraint?
Date: 2003-04-24 15:16:59
Message-ID: 25bfef68697eea9481a313c943621a72@TeraNews
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message dlangschied 2003-04-24 15:34:15 Creating schema for multiple tables/fields/indices.
Previous Message Tom Lane 2003-04-24 13:49:43 Re: Leftover TEMPORARY tables?