aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/nodeRecursiveunion.c
diff options
context:
space:
mode:
authorAlvaro Herrera <alvherre@alvh.no-ip.org>2017-07-25 18:39:44 -0400
committerAlvaro Herrera <alvherre@alvh.no-ip.org>2017-07-25 18:51:47 -0400
commit54dacc746628799a3a09ebb78876b0a8d2742d23 (patch)
tree1a44da61712fb8b8ab6cebb9eeb60bcbe737aaaa /src/backend/executor/nodeRecursiveunion.c
parent9915de6c1cb2c9b87f5f504c97832cdf3a809753 (diff)
downloadpostgresql-54dacc746628799a3a09ebb78876b0a8d2742d23.tar.gz
postgresql-54dacc746628799a3a09ebb78876b0a8d2742d23.zip
Make PostgresNode easily subclassable
This module becomes much more useful if we allow it to be used as base class for external projects. To achieve this, change the exported get_new_node function into a class method instead, and use the standard Perl idiom of accepting the class as first argument. This method works as expected for subclasses. The standalone function is kept for backwards compatibility, though it could be removed in pg11. Author: Chap Flackman, based on an earlier patch from Craig Ringer Discussion: https://postgr.es/m/CAMsr+YF8kO+4+K-_U4PtN==2FndJ+5Bn6A19XHhMiBykEwv0wA@mail.gmail.com
Diffstat (limited to 'src/backend/executor/nodeRecursiveunion.c')
0 files changed, 0 insertions, 0 deletions