pgsql: Postpone calls of unsafe server-side functions in pg_dump.

2022-11-19 Thread Tom Lane
Postpone calls of unsafe server-side functions in pg_dump. Avoid calling pg_get_partkeydef(), pg_get_expr(relpartbound), and regtypeout until we have lock on the relevant tables. The existing coding is at serious risk of failure if there are any concurrent DROP TABLE commands going on --- includin

pgsql: Postpone calls of unsafe server-side functions in pg_dump.

2022-11-19 Thread Tom Lane
Postpone calls of unsafe server-side functions in pg_dump. Avoid calling pg_get_partkeydef(), pg_get_expr(relpartbound), and regtypeout until we have lock on the relevant tables. The existing coding is at serious risk of failure if there are any concurrent DROP TABLE commands going on --- includin

pgsql: Postpone calls of unsafe server-side functions in pg_dump.

2022-11-19 Thread Tom Lane
Postpone calls of unsafe server-side functions in pg_dump. Avoid calling pg_get_partkeydef(), pg_get_expr(relpartbound), and regtypeout until we have lock on the relevant tables. The existing coding is at serious risk of failure if there are any concurrent DROP TABLE commands going on --- includin

pgsql: Postpone calls of unsafe server-side functions in pg_dump.

2022-11-19 Thread Tom Lane
Postpone calls of unsafe server-side functions in pg_dump. Avoid calling pg_get_partkeydef(), pg_get_expr(relpartbound), and regtypeout until we have lock on the relevant tables. The existing coding is at serious risk of failure if there are any concurrent DROP TABLE commands going on --- includin

pgsql: Postpone calls of unsafe server-side functions in pg_dump.

2021-12-06 Thread Tom Lane
Postpone calls of unsafe server-side functions in pg_dump. Avoid calling pg_get_partkeydef(), pg_get_expr(relpartbound), and regtypeout until we have lock on the relevant tables. The existing coding is at serious risk of failure if there are any concurrent DROP TABLE commands going on --- includin