Re: reloptions with a "namespace" - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: reloptions with a "namespace"
Date
Msg-id 20090403193315.GL23023@alvh.no-ip.org
Whole thread Raw
In response to Re: reloptions with a "namespace"  (Khee Chin <kheechin@gmail.com>)
Responses Re: reloptions with a "namespace"  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
Khee Chin escribió:

> After some debugging in reloptions.c, I've realised that the issue is
> caused by fillfactor not having a validnsps in transformRelOptions.
> Adding an additional condition "&& (validnsps))" at line 595 or 612
> appears to fix the issue.

No, the bug is that they are passed as DefElem instead of RelOptElem.
The right fix is in the grammar ... checking now.

Thanks for the report.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support


pgsql-hackers by date:

Previous
From: Khee Chin
Date:
Subject: Re: reloptions with a "namespace"
Next
From: Alvaro Herrera
Date:
Subject: Re: reloptions with a "namespace"