aboutsummaryrefslogtreecommitdiff
path: root/src/backend/executor/execMain.c
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2021-03-24 18:52:25 -0400
committerAndrew Dunstan <andrew@dunslane.net>2021-03-24 18:52:25 -0400
commitb34ca595abd697e716ce369ec1b58624bdd1c431 (patch)
treef42d9d09088f2110783470ba6e21f70e65dd7e57 /src/backend/executor/execMain.c
parent65c2ec6f30d9c0878a9ef83e0ec9a53e6b82d9d8 (diff)
downloadpostgresql-b34ca595abd697e716ce369ec1b58624bdd1c431.tar.gz
postgresql-b34ca595abd697e716ce369ec1b58624bdd1c431.zip
Allow for installation-aware instances of PostgresNode
Currently instances of PostgresNode find their Postgres executables in the PATH of the caller. This modification allows for instances that know the installation path they are supposed to use, and the module adjusts the environment of methods that call Postgres executables appropriately. This facility is activated by passing the installation path to the constructor: my $node = PostgresNode->get_new_node('mynode', installation_path => '/path/to/installation'); This makes a number of things substantially easier, including . testing third party modules . testing different versions of postgres together . testing different builds of postgres together Discussion: https://postgr.es/m/a94c74f9-6b71-1957-7973-a734ea3cbef1@dunslane.net Reviewed-By: Alvaro Herrera, Michael Paquier, Dagfinn Ilmari Mannsåker
Diffstat (limited to 'src/backend/executor/execMain.c')
0 files changed, 0 insertions, 0 deletions