pgsql: Reject empty names and recursion in config-file include directiv

2019-08-27 Thread Tom Lane
Reject empty names and recursion in config-file include directives. An empty file name or subdirectory name leads join_path_components() to just produce the parent directory name, which leads to weird failures or recursive inclusions. Let's throw a specific error for that. It takes only slightly

pgsql: Reject empty names and recursion in config-file include directiv

2019-08-27 Thread Tom Lane
Reject empty names and recursion in config-file include directives. An empty file name or subdirectory name leads join_path_components() to just produce the parent directory name, which leads to weird failures or recursive inclusions. Let's throw a specific error for that. It takes only slightly

pgsql: Reject empty names and recursion in config-file include directiv

2019-08-27 Thread Tom Lane
Reject empty names and recursion in config-file include directives. An empty file name or subdirectory name leads join_path_components() to just produce the parent directory name, which leads to weird failures or recursive inclusions. Let's throw a specific error for that. It takes only slightly

pgsql: Reject empty names and recursion in config-file include directiv

2019-08-27 Thread Tom Lane
Reject empty names and recursion in config-file include directives. An empty file name or subdirectory name leads join_path_components() to just produce the parent directory name, which leads to weird failures or recursive inclusions. Let's throw a specific error for that. It takes only slightly

pgsql: Reject empty names and recursion in config-file include directiv

2019-08-27 Thread Tom Lane
Reject empty names and recursion in config-file include directives. An empty file name or subdirectory name leads join_path_components() to just produce the parent directory name, which leads to weird failures or recursive inclusions. Let's throw a specific error for that. It takes only slightly

pgsql: Reject empty names and recursion in config-file include directiv

2019-08-27 Thread Tom Lane
Reject empty names and recursion in config-file include directives. An empty file name or subdirectory name leads join_path_components() to just produce the parent directory name, which leads to weird failures or recursive inclusions. Let's throw a specific error for that. It takes only slightly