[PATCH] elimination of code duplication in DefineOpFamily()
Kouhei Kaigai <kaigai@ak.jp.nec.com>
From: KaiGai Kohei <kaigai@ak.jp.nec.com>
To: PostgreSQL-development <pgsql-hackers@postgresql.org>
Date: 2010-03-04T01:20:44Z
Lists: pgsql-hackers
Attachments
- pgsql-cleanup-defineopfamily.patch (application/octect-stream) patch
It looks like for me the bottom half of the DefineOpFamily() is a block copied and pasted from CreateOpFamily(). It has identical logic, variable names and source code comments. Perhaps, we can replace this code block by CreateOpFamily() call. Thanks, -- KaiGai Kohei <kaigai@ak.jp.nec.com>