-
- Downloads
When a function not returning RECORD has a single OUT parameter, use
the parameter's name (if any) as the default column name for SELECT FROM the function, rather than the function name as previously. I still think this is a bad idea, but I lost the argument. Force decompilation of function RTEs to specify full aliases always, to reduce the odds of this decision breaking dumped views.
Showing
- src/backend/parser/parse_relation.c 55 additions, 13 deletionssrc/backend/parser/parse_relation.c
- src/backend/utils/adt/ruleutils.c 38 additions, 10 deletionssrc/backend/utils/adt/ruleutils.c
- src/backend/utils/fmgr/funcapi.c 103 additions, 1 deletionsrc/backend/utils/fmgr/funcapi.c
- src/include/funcapi.h 3 additions, 1 deletionsrc/include/funcapi.h
- src/test/regress/expected/plpgsql.out 3 additions, 3 deletionssrc/test/regress/expected/plpgsql.out
- src/test/regress/expected/rangefuncs.out 13 additions, 13 deletionssrc/test/regress/expected/rangefuncs.out
Loading
Please register or sign in to comment