Always pass catalog id to the options validator function specified in

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 4e766f2d176af92a8372b28a9ec2aa1eb8083063
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2009-12-23T12:23:59Z
Releases: 9.0.0
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