aboutsummaryrefslogtreecommitdiff
path: root/contrib/postgres_fdw/postgres_fdw.c
diff options
context:
space:
mode:
authorAmit Kapila <akapila@postgresql.org>2019-05-26 18:28:18 +0530
committerAmit Kapila <akapila@postgresql.org>2019-05-26 18:28:18 +0530
commit9679345f3c5ec071f63db358581e28f06c8744a7 (patch)
tree12365b3337578d66f41a58d0e2c2966d9eb3acac /contrib/postgres_fdw/postgres_fdw.c
parent41205719d34969018f708baa70d9d06dae0c0d08 (diff)
downloadpostgresql-9679345f3c5ec071f63db358581e28f06c8744a7.tar.gz
postgresql-9679345f3c5ec071f63db358581e28f06c8744a7.zip
Fix typos.
Reported-by: Alexander Lakhin Author: Alexander Lakhin Reviewed-by: Amit Kapila and Tom Lane Discussion: https://postgr.es/m/7208de98-add8-8537-91c0-f8b089e2928c@gmail.com
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
-rw-r--r--contrib/postgres_fdw/postgres_fdw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/postgres_fdw/postgres_fdw.c b/contrib/postgres_fdw/postgres_fdw.c
index 02c81ce7a95..1b09aa5a017 100644
--- a/contrib/postgres_fdw/postgres_fdw.c
+++ b/contrib/postgres_fdw/postgres_fdw.c
@@ -3064,7 +3064,7 @@ estimate_path_cost_size(PlannerInfo *root,
total_cost += cpu_tuple_cost * retrieved_rows;
/*
- * If we have LIMIT, we should perfer performing the restriction remotely
+ * If we have LIMIT, we should prefer performing the restriction remotely
* rather than locally, as the former avoids extra row fetches from the
* remote that the latter might cause. But since the core code doesn't
* account for such fetches when estimating the costs of the local