diff options
author | Amit Khandekar | 2012-04-02 08:49:44 +0000 |
---|---|---|
committer | Amit Khandekar | 2012-04-02 08:49:44 +0000 |
commit | d7134501525dd2a3d7c8fc30a8f29fdaab110d98 (patch) | |
tree | 9ebb6ec86e202b19a970ac4d9cbe3deed4290896 /src/backend/executor/nodeModifyTable.c | |
parent | 2689d1bfcc102d6cbf74f5425a98a221c22e33c1 (diff) |
Pass to the pooler session, the default values for some parameters, like
DATESTYLE, TZ. If a psql client sets these as environment vars, these do
not get propagated to datanodes, as a result of which the date formats
returned do not match PGDATESTYLE for e.g. So, in general these session
default values should be passed on to session poolers connections to datanodes
and remote coordinator.
These values help maintain consistent param values between the datanodes and the
coordinator for a given client session. The params are passed from coordinator
backend to the pooler session using pgoptions (for e.g. '-c datestyle=Postgres,MDY'.
And the database pools are searched for unique combination of database, username
and pgoptions; earlier it was based on database and username only.
Diffstat (limited to 'src/backend/executor/nodeModifyTable.c')
0 files changed, 0 insertions, 0 deletions