From: | Rushabh Lathia <rushabh(dot)lathia(at)gmail(dot)com> |
---|---|
To: | Amit Kapila <amit(dot)kapila16(at)gmail(dot)com> |
Cc: | Bruce Momjian <bruce(at)momjian(dot)us>, Robert Haas <robertmhaas(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: Minor inheritance/check bug: Inconsistent behavior |
Date: | 2013-09-17 09:59:29 |
Message-ID: | CAGPqQf0RZ7DtS8d7wUB4RvbSi54otj3XMut7BE=K=5ZVb2xPGA@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Hi Amit.
I gone through the mail thread discussion regarding this issue and reviewed
you patch.
-- Patch get applied cleanly on Master branch
-- Make and Make Install fine
-- make check also running cleanly
In the patch code changes looks good to me.
This patch having two part:
1) Allowed TableOid system column in the CHECK constraint
2) Throw an error if other then TableOid system column in CHECK constraint.
I noticed that you added test coverage for 1) but the test coverage for 2)
is missing..
I added the test coverage for 2) in the attached patch.
Marking this as Ready for committer.
Regards,
Rushabh
On Sun, Sep 15, 2013 at 2:31 PM, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>wrote:
> Bruce Momjian wrote:
> On Sun, Jun 30, 2013 at 06:57:10AM +0000, Amit kapila wrote:
> >> >> I have done the initial analysis and prepared a patch, don't know if
> >> >> anything more I can do until
> >> >> someone can give any suggestions to further proceed on this bug.
> >
> > > >So, I guess we never figured this out.
> >
> >> I can submit this bug-fix for next commitfest if there is no objection
> for doing so.
> >> What is your opinion?
>
> > Yes, good idea.
>
> I had rebased the patch against head and added the test case to validate
> it.
> I will upload this patch to commit fest.
>
> With Regards,
> Amit Kapila.
> EnterpriseDB: http://www.enterprisedb.com
>
>
> --
> Sent via pgsql-hackers mailing list (pgsql-hackers(at)postgresql(dot)org)
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgsql-hackers
>
>
--
Rushabh Lathia
www.EnterpriseDB.com
Attachment | Content-Type | Size |
---|---|---|
sys_col_constr_v2.patch | application/octet-stream | 4.7 KB |
From | Date | Subject | |
---|---|---|---|
Next Message | Asif Naeem | 2013-09-17 10:13:54 | Re: [PATCH] Add use of asprintf() |
Previous Message | Etsuro Fujita | 2013-09-17 09:45:16 | Docs fix in advanced.sgml |