Re: [HACKERS] renaming domain constraint

2012-03-22 Thread Peter Eisentraut
On ons, 2012-03-21 at 11:57 -0300, Alvaro Herrera wrote: Excerpts from Robert Haas's message of mié mar 21 11:43:17 -0300 2012: On Fri, Mar 16, 2012 at 1:34 PM, Peter Eisentraut pete...@gmx.net wrote: Here is a patch for being able to rename constraints of domains. It goes on top of the

Re: [HACKERS] renaming domain constraint

2012-03-21 Thread Robert Haas
On Fri, Mar 16, 2012 at 1:34 PM, Peter Eisentraut pete...@gmx.net wrote: Here is a patch for being able to rename constraints of domains.  It goes on top of the previously committed patch for renaming table constraints. I don't like the way you've modified get_constraint_oid(), which is

Re: [HACKERS] renaming domain constraint

2012-03-21 Thread Alvaro Herrera
Excerpts from Robert Haas's message of mié mar 21 11:43:17 -0300 2012: On Fri, Mar 16, 2012 at 1:34 PM, Peter Eisentraut pete...@gmx.net wrote: Here is a patch for being able to rename constraints of domains.  It goes on top of the previously committed patch for renaming table constraints.

[HACKERS] renaming domain constraint

2012-03-16 Thread Peter Eisentraut
Here is a patch for being able to rename constraints of domains. It goes on top of the previously committed patch for renaming table constraints. diff --git a/doc/src/sgml/ref/alter_domain.sgml b/doc/src/sgml/ref/alter_domain.sgml index 2511a12..c59975a 100644 ---