pgsql: Move frontend-side archive APIs from src/common/ to src/fe_utils

2020-06-10 Thread Michael Paquier
Move frontend-side archive APIs from src/common/ to src/fe_utils/ fe_archive.c was compiled only for the frontend in src/common/, but as it will never share anything with the backend, it makes most sense to move this file to src/fe_utils/. Reported-by: Peter Eisentraut Discussion: https://postgr

pgsql: Move frontend-side archive APIs from src/common/ to src/fe_utils

2020-06-10 Thread Michael Paquier
Move frontend-side archive APIs from src/common/ to src/fe_utils/ fe_archive.c was compiled only for the frontend in src/common/, but as it will never share anything with the backend, it makes most sense to move this file to src/fe_utils/. Reported-by: Peter Eisentraut Discussion: https://postgr

pgsql: Fold AlterForeignTableStmt into AlterTableStmt

2020-06-10 Thread Peter Eisentraut
Fold AlterForeignTableStmt into AlterTableStmt All other relation types are handled by AlterTableStmt, so it's unnecessary to make a different statement for foreign tables. Discussion: https://www.postgresql.org/message-id/flat/163c00a5-f634-ca52-fc7c-0e53deda8735%402ndquadrant.com Branch -

pgsql: Remove redundant grammar symbols

2020-06-10 Thread Peter Eisentraut
Remove redundant grammar symbols access_method, database_name, and index_name are all just name, and they are not used consistently for their alleged purpose, so remove them. They have been around since ancient times but have no current reason for existing. Removing them can simplify future gram

pgsql: Change default of password_encryption to scram-sha-256

2020-06-10 Thread Peter Eisentraut
Change default of password_encryption to scram-sha-256 Also, the legacy values on/true/yes/1 for password_encryption that mapped to md5 are removed. The only valid values are now scram-sha-256 and md5. Reviewed-by: Jonathan S. Katz Discussion: https://www.postgresql.org/message-id/flat/d5b0ad3

pgsql: Update description of parameter password_encryption

2020-06-10 Thread Peter Eisentraut
Update description of parameter password_encryption The previous description string still described the pre-PostgreSQL 10 (pre eb61136dc75a76caef8460fa939244d8593100f2) behavior of selecting between encrypted and unencrypted, but it is now choosing between encryption algorithms. Branch -- REL

pgsql: Update description of parameter password_encryption

2020-06-10 Thread Peter Eisentraut
Update description of parameter password_encryption The previous description string still described the pre-PostgreSQL 10 (pre eb61136dc75a76caef8460fa939244d8593100f2) behavior of selecting between encrypted and unencrypted, but it is now choosing between encryption algorithms. Branch -- REL

pgsql: Update description of parameter password_encryption

2020-06-10 Thread Peter Eisentraut
Update description of parameter password_encryption The previous description string still described the pre-PostgreSQL 10 (pre eb61136dc75a76caef8460fa939244d8593100f2) behavior of selecting between encrypted and unencrypted, but it is now choosing between encryption algorithms. Branch -- REL

pgsql: Update description of parameter password_encryption

2020-06-10 Thread Peter Eisentraut
Update description of parameter password_encryption The previous description string still described the pre-PostgreSQL 10 (pre eb61136dc75a76caef8460fa939244d8593100f2) behavior of selecting between encrypted and unencrypted, but it is now choosing between encryption algorithms. Branch -- REL

pgsql: Update description of parameter password_encryption

2020-06-10 Thread Peter Eisentraut
Update description of parameter password_encryption The previous description string still described the pre-PostgreSQL 10 (pre eb61136dc75a76caef8460fa939244d8593100f2) behavior of selecting between encrypted and unencrypted, but it is now choosing between encryption algorithms. Branch -- mas