fdw validation function vs zero catalog id
Martin Pihlak <martin.pihlak@gmail.com>
From: Martin Pihlak <martin.pihlak@gmail.com>
To: pgsql-hackers@postgresql.org
Date: 2009-12-20T13:39:10Z
Lists: pgsql-hackers
Attachments
- fdw-validator.patch (text/x-diff) patch
It appears that the function for validating generic options to a FDW, SERVER and USER MAPPING is always passed a catalog oid of 0. Whereas it should actually be passed the oid of the catalog that the options apply to. Attached patch fixes the issue by passing the proper catalog id from transformGenericOptions(). PS. I personally would like this applied to 8.4 as well -- it'd enable us to write a proper validator for pl/proxy fdw. regards, Martin