On ons, 2011-07-06 at 12:40 -0400, Robert Haas wrote:
I think perhaps we should create a
big static array, each row of which would contain:
- ObjectType
- system cache ID for OID lookups
- system catalog table OID for scans
- attribute number for the name attribute, where applicable (see
2011/7/9 Robert Haas robertmh...@gmail.com:
On Fri, Jul 8, 2011 at 9:06 AM, Kohei KaiGai kai...@kaigai.gr.jp wrote:
I definitely agree with this idea. It will enables to eliminate ugly switch
statements for error-messaging reasons.
All right, so please submit a patch that introduces that
On Fri, Jul 8, 2011 at 9:06 AM, Kohei KaiGai kai...@kaigai.gr.jp wrote:
I definitely agree with this idea. It will enables to eliminate ugly switch
statements for error-messaging reasons.
All right, so please submit a patch that introduces that concept
first, and then resubmit this patch
On Tue, Jun 28, 2011 at 4:17 AM, Kohei KaiGai kai...@kaigai.gr.jp wrote:
The attached patch is rebased one to consolidate routines to remove objects
using the revised get_object_address().
The new RemoveObjects() replaces the following routines; having
similar structure.
- RemoveRelations
Excerpts from Robert Haas's message of mié jul 06 12:40:39 -0400 2011:
This patch removes an impressive amount of boilerplate code and
replaces it with something much more compact. I like that. In the
interest of full disclosure, I suggested this approach to KaiGai at
PGCon, so I'm biased:
On Wed, Jul 6, 2011 at 1:09 PM, Alvaro Herrera
alvhe...@commandprompt.com wrote:
Excerpts from Robert Haas's message of mié jul 06 12:40:39 -0400 2011:
This patch removes an impressive amount of boilerplate code and
replaces it with something much more compact. I like that. In the
interest
Excerpts from Robert Haas's message of mié jul 06 14:02:13 -0400 2011:
On Wed, Jul 6, 2011 at 1:09 PM, Alvaro Herrera
alvhe...@commandprompt.com wrote:
Excerpts from Robert Haas's message of mié jul 06 12:40:39 -0400 2011:
This patch removes an impressive amount of boilerplate code and
On Wed, Jul 6, 2011 at 5:06 PM, Alvaro Herrera
alvhe...@commandprompt.com wrote:
Excerpts from Robert Haas's message of mié jul 06 14:02:13 -0400 2011:
On Wed, Jul 6, 2011 at 1:09 PM, Alvaro Herrera
alvhe...@commandprompt.com wrote:
Excerpts from Robert Haas's message of mié jul 06 12:40:39