Rename transformRelOptions()'s "namspace" parameter to "nameSpace".
Nathan Bossart <nathan@postgresql.org>
Rename transformRelOptions()'s "namspace" parameter to "nameSpace". The name "namspace" looks like a typo, but it was presumably meant to avoid using the "namespace" C++ keyword. This commit renames the parameter to "nameSpace" to prevent future confusion while still avoiding the keyword. Reviewed-by: Álvaro Herrera <alvherre@kurilemu.de> Reviewed-by: Tom Lane <tgl@sss.pgh.pa.us> Reviewed-by: Ashutosh Bapat <ashutosh.bapat.oss@gmail.com> Discussion: https://postgr.es/m/aJJxpfsDfiQ1VbJ5%40nathan
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/access/common/reloptions.c | modified | +5 −5 |
| src/include/access/reloptions.h | modified | +1 −1 |
Discussion
- fix ancient typo in transformRelOptions() 10 messages · 2025-08-05 → 2025-08-06