diff options
author | Tom Lane <tgl@sss.pgh.pa.us> | 2013-02-23 12:20:48 -0500 |
---|---|---|
committer | Tom Lane <tgl@sss.pgh.pa.us> | 2013-02-23 12:20:48 -0500 |
commit | 09a7cd409e762f0430a5d474f4d8d7c962369a8e (patch) | |
tree | 439ab7e39b32f9954076ffc143fd5bbe1c0cd22d /contrib/postgres_fdw/sql/postgres_fdw.sql | |
parent | 8e8d0f7e80d80c61b09346a84059457aeeeae548 (diff) | |
download | postgresql-09a7cd409e762f0430a5d474f4d8d7c962369a8e.tar.gz postgresql-09a7cd409e762f0430a5d474f4d8d7c962369a8e.zip |
Rename postgres_fdw's use_remote_explain option to use_remote_estimate.
The new name was originally my typo, but per discussion it seems like a
better name anyway. So make the code match the docs, not vice versa.
Diffstat (limited to 'contrib/postgres_fdw/sql/postgres_fdw.sql')
-rw-r--r-- | contrib/postgres_fdw/sql/postgres_fdw.sql | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/postgres_fdw/sql/postgres_fdw.sql b/contrib/postgres_fdw/sql/postgres_fdw.sql index 8569474694e..0b0231bc306 100644 --- a/contrib/postgres_fdw/sql/postgres_fdw.sql +++ b/contrib/postgres_fdw/sql/postgres_fdw.sql @@ -87,7 +87,7 @@ ALTER FOREIGN TABLE ft2 DROP COLUMN c0; -- requiressl, krbsrvname and gsslib are omitted because they depend on -- configure options ALTER SERVER testserver1 OPTIONS ( - use_remote_explain 'false', + use_remote_estimate 'false', fdw_startup_cost '123.456', fdw_tuple_cost '0.123', service 'value', @@ -124,9 +124,9 @@ ALTER FOREIGN TABLE ft2 ALTER COLUMN c1 OPTIONS (column_name 'C 1'); -- Now we should be able to run ANALYZE. -- To exercise multiple code paths, we use local stats on ft1 --- and remote_explain mode on ft2. +-- and remote-estimate mode on ft2. ANALYZE ft1; -ALTER FOREIGN TABLE ft2 OPTIONS (use_remote_explain 'true'); +ALTER FOREIGN TABLE ft2 OPTIONS (use_remote_estimate 'true'); -- =================================================================== -- simple queries |