diff options
author | David Rowley <drowley@postgresql.org> | 2023-04-18 13:23:23 +1200 |
---|---|---|
committer | David Rowley <drowley@postgresql.org> | 2023-04-18 13:23:23 +1200 |
commit | b4dbf3e924b2556acbe103dc61ac71f9985ff24f (patch) | |
tree | 179232a4dbf525790273dfbdd3a4f58e30225d56 /contrib/postgres_fdw/postgres_fdw.c | |
parent | e39d512f3e9b1e34ffba77c8fe120c2675f6873b (diff) | |
download | postgresql-b4dbf3e924b2556acbe103dc61ac71f9985ff24f.tar.gz postgresql-b4dbf3e924b2556acbe103dc61ac71f9985ff24f.zip |
Fix various typos
This fixes many spelling mistakes in comments, but a few references to
invalid parameter names, function names and option names too in comments
and also some in string constants
Also, fix an #undef that was undefining the incorrect definition
Author: Alexander Lakhin
Reviewed-by: Justin Pryzby
Discussion: https://postgr.es/m/d5f68d19-c0fc-91a9-118d-7c6a5a3f5fad@gmail.com
Diffstat (limited to 'contrib/postgres_fdw/postgres_fdw.c')
-rw-r--r-- | contrib/postgres_fdw/postgres_fdw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/postgres_fdw/postgres_fdw.c b/contrib/postgres_fdw/postgres_fdw.c index d728bd70b31..95dbe8b06cc 100644 --- a/contrib/postgres_fdw/postgres_fdw.c +++ b/contrib/postgres_fdw/postgres_fdw.c @@ -5016,7 +5016,7 @@ postgresGetAnalyzeInfoForForeignTable(Relation relation, bool *can_tablesample) pgfdw_report_error(ERROR, res, conn, false, sql.data); if (PQntuples(res) != 1 || PQnfields(res) != 2) - elog(ERROR, "unexpected result from deparseAnalyzeTuplesSql query"); + elog(ERROR, "unexpected result from deparseAnalyzeInfoSql query"); reltuples = strtod(PQgetvalue(res, 0, 0), NULL); relkind = *(PQgetvalue(res, 0, 1)); } |