citus/src/backend/distributed/executor
Karina 9ff8436f14
Create directories and files with pg_file_create_mode and pg_dir_create_mode permissions (#7479)
Since Postgres commit da9b580d files and directories are supposed to
be created with pg_file_create_mode and pg_dir_create_mode permissions
when default permissions are expected.

This fixes a failure of one of the postgres tests:
If we create file add.conf containing
```
shared_preload_libraries='citus'
```
and run postgres tests
```
TEMP_CONFIG=/path/to/add.conf make installcheck -C src/bin/pg_ctl/
```
then 001_start_stop.pl fails with
```
.../data/base/pgsql_job_cache mode must be 0750
```
in the log.

In passing this also stops creating directories that we haven't used
since Citus 7.4

This change explicitely doesn't change permissions of certificates/keys
that we create.

---------

Co-authored-by: Karina Litskevich <litskevichkarina@gmail.com>
2024-02-07 12:48:31 +01:00
..
adaptive_executor.c Refactors ExtendedTaskList methods (#7372) 2024-01-24 06:00:19 +00:00
citus_custom_scan.c Sort includes (#7326) 2023-11-23 18:19:54 +01:00
directed_acyclic_graph_execution.c Sort includes (#7326) 2023-11-23 18:19:54 +01:00
distributed_execution_locks.c Sort includes (#7326) 2023-11-23 18:19:54 +01:00
distributed_intermediate_results.c Sort includes (#7326) 2023-11-23 18:19:54 +01:00
executor_util_params.c Sort includes (#7326) 2023-11-23 18:19:54 +01:00
executor_util_tasks.c Sort includes (#7326) 2023-11-23 18:19:54 +01:00
executor_util_tuples.c Sort includes (#7326) 2023-11-23 18:19:54 +01:00
insert_select_executor.c Generate qualified relation name (#7427) 2024-01-22 17:32:49 +03:00
intermediate_results.c Create directories and files with pg_file_create_mode and pg_dir_create_mode permissions (#7479) 2024-02-07 12:48:31 +01:00
local_executor.c Sort includes (#7326) 2023-11-23 18:19:54 +01:00
merge_executor.c Sort includes (#7326) 2023-11-23 18:19:54 +01:00
multi_executor.c remove a duplicate forward declaration and polish some comments (#7371) 2024-01-17 14:30:23 +00:00
multi_server_executor.c Sort includes (#7326) 2023-11-23 18:19:54 +01:00
partitioned_intermediate_results.c Sort includes (#7326) 2023-11-23 18:19:54 +01:00
placement_access.c Sort includes (#7326) 2023-11-23 18:19:54 +01:00
query_stats.c Sort includes (#7326) 2023-11-23 18:19:54 +01:00
repartition_executor.c Sort includes (#7326) 2023-11-23 18:19:54 +01:00
repartition_join_execution.c Sort includes (#7326) 2023-11-23 18:19:54 +01:00
subplan_execution.c Sort includes (#7326) 2023-11-23 18:19:54 +01:00
transmit.c Create directories and files with pg_file_create_mode and pg_dir_create_mode permissions (#7479) 2024-02-07 12:48:31 +01:00
tuple_destination.c Fix getting heap tuple size (#7387) 2024-01-08 17:09:30 +01:00