Always pass catalog id to the options validator function specified in

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: a1ffb012174d3dbd3b8b42bdba593f829d9b678e
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2009-12-23T12:24:16Z
Releases: 8.4.3
Always pass catalog id to the options validator function specified in
CREATE FOREIGN DATA WRAPPER. Arguably it wasn't a bug because the
documentation said that it's passed the catalog ID or zero, but surely
we should provide it when it's known. And there isn't currently any
scenario where it's not known, and I can't imagine having one in the
future either, so better remove the "or zero" escape hatch and always
pass a valid catalog ID. Backpatch to 8.4.

Martin Pihlak

Files