Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Update pg_pathman due to vanilla PostgreSQL. #279

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 22 additions & 4 deletions expected/pathman_only.out
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,31 @@
* NOTE: This test behaves differenly on PgPro
* ---------------------------------------------
*
* Since 12 (608b167f9f), CTEs which are scanned once are no longer an
* optimization fence, which changes practically all plans here. There is
* --------------------
* pathman_only_1.sql
* --------------------
* Since 608b167f9f in PostgreSQL 12, CTEs which are scanned once are no longer
* an optimization fence, which changes practically all plans here. There is
* an option to forcibly make them MATERIALIZED, but we also need to run tests
* on older versions, so create pathman_only_1.out instead.
*
* Since 55a1954da16 and 6ef77cf46e8 (>= 13) output of EXPLAIN was changed,
* now it includes aliases for inherited tables.
* --------------------
* pathman_only_2.sql
* --------------------
* Since 55a1954da16 and 6ef77cf46e8 in PostgreSQL 13, output of EXPLAIN was
* changed, now it includes aliases for inherited tables.
*
* --------------------
* pathman_only_3.sql
* --------------------
* Since a5fc46414de in PostgreSQL 16, the order of the operands was changed,
* which affected the output of the "Prune by" in EXPLAIN.
*
* --------------------
* pathman_only_4.sql
* --------------------
* Since fd0398fcb09 in PostgreSQL 17, output of EXPLAIN was
* changed, now it displays SubPlan nodes and output parameters.
*/
\set VERBOSITY terse
SET search_path = 'public';
Expand Down
26 changes: 22 additions & 4 deletions expected/pathman_only_1.out
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,31 @@
* NOTE: This test behaves differenly on PgPro
* ---------------------------------------------
*
* Since 12 (608b167f9f), CTEs which are scanned once are no longer an
* optimization fence, which changes practically all plans here. There is
* --------------------
* pathman_only_1.sql
* --------------------
* Since 608b167f9f in PostgreSQL 12, CTEs which are scanned once are no longer
* an optimization fence, which changes practically all plans here. There is
* an option to forcibly make them MATERIALIZED, but we also need to run tests
* on older versions, so create pathman_only_1.out instead.
*
* Since 55a1954da16 and 6ef77cf46e8 (>= 13) output of EXPLAIN was changed,
* now it includes aliases for inherited tables.
* --------------------
* pathman_only_2.sql
* --------------------
* Since 55a1954da16 and 6ef77cf46e8 in PostgreSQL 13, output of EXPLAIN was
* changed, now it includes aliases for inherited tables.
*
* --------------------
* pathman_only_3.sql
* --------------------
* Since a5fc46414de in PostgreSQL 16, the order of the operands was changed,
* which affected the output of the "Prune by" in EXPLAIN.
*
* --------------------
* pathman_only_4.sql
* --------------------
* Since fd0398fcb09 in PostgreSQL 17, output of EXPLAIN was
* changed, now it displays SubPlan nodes and output parameters.
*/
\set VERBOSITY terse
SET search_path = 'public';
Expand Down
26 changes: 22 additions & 4 deletions expected/pathman_only_2.out
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,31 @@
* NOTE: This test behaves differenly on PgPro
* ---------------------------------------------
*
* Since 12 (608b167f9f), CTEs which are scanned once are no longer an
* optimization fence, which changes practically all plans here. There is
* --------------------
* pathman_only_1.sql
* --------------------
* Since 608b167f9f in PostgreSQL 12, CTEs which are scanned once are no longer
* an optimization fence, which changes practically all plans here. There is
* an option to forcibly make them MATERIALIZED, but we also need to run tests
* on older versions, so create pathman_only_1.out instead.
*
* Since 55a1954da16 and 6ef77cf46e8 (>= 13) output of EXPLAIN was changed,
* now it includes aliases for inherited tables.
* --------------------
* pathman_only_2.sql
* --------------------
* Since 55a1954da16 and 6ef77cf46e8 in PostgreSQL 13, output of EXPLAIN was
* changed, now it includes aliases for inherited tables.
*
* --------------------
* pathman_only_3.sql
* --------------------
* Since a5fc46414de in PostgreSQL 16, the order of the operands was changed,
* which affected the output of the "Prune by" in EXPLAIN.
*
* --------------------
* pathman_only_4.sql
* --------------------
* Since fd0398fcb09 in PostgreSQL 17, output of EXPLAIN was
* changed, now it displays SubPlan nodes and output parameters.
*/
\set VERBOSITY terse
SET search_path = 'public';
Expand Down
26 changes: 22 additions & 4 deletions expected/pathman_only_3.out
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,31 @@
* NOTE: This test behaves differenly on PgPro
* ---------------------------------------------
*
* Since 12 (608b167f9f), CTEs which are scanned once are no longer an
* optimization fence, which changes practically all plans here. There is
* --------------------
* pathman_only_1.sql
* --------------------
* Since 608b167f9f in PostgreSQL 12, CTEs which are scanned once are no longer
* an optimization fence, which changes practically all plans here. There is
* an option to forcibly make them MATERIALIZED, but we also need to run tests
* on older versions, so create pathman_only_1.out instead.
*
* Since 55a1954da16 and 6ef77cf46e8 (>= 13) output of EXPLAIN was changed,
* now it includes aliases for inherited tables.
* --------------------
* pathman_only_2.sql
* --------------------
* Since 55a1954da16 and 6ef77cf46e8 in PostgreSQL 13, output of EXPLAIN was
* changed, now it includes aliases for inherited tables.
*
* --------------------
* pathman_only_3.sql
* --------------------
* Since a5fc46414de in PostgreSQL 16, the order of the operands was changed,
* which affected the output of the "Prune by" in EXPLAIN.
*
* --------------------
* pathman_only_4.sql
* --------------------
* Since fd0398fcb09 in PostgreSQL 17, output of EXPLAIN was
* changed, now it displays SubPlan nodes and output parameters.
*/
\set VERBOSITY terse
SET search_path = 'public';
Expand Down
Loading