pgsql: Fix null-pointer crash in postgres_fdw's conversion_error_callba

2021-10-06 Thread Tom Lane
Fix null-pointer crash in postgres_fdw's conversion_error_callback. Commit c7b7311f6 adjusted conversion_error_callback to always use information from the query's rangetable, to avoid doing catalog lookups in an already-failed transaction. However, as a result of the utterly inadequate documentat

pgsql: Fix null-pointer crash in postgres_fdw's conversion_error_callba

2021-10-06 Thread Tom Lane
Fix null-pointer crash in postgres_fdw's conversion_error_callback. Commit c7b7311f6 adjusted conversion_error_callback to always use information from the query's rangetable, to avoid doing catalog lookups in an already-failed transaction. However, as a result of the utterly inadequate documentat

pgsql: Fix null-pointer crash in postgres_fdw's conversion_error_callba

2021-10-06 Thread Tom Lane
Fix null-pointer crash in postgres_fdw's conversion_error_callback. Commit c7b7311f6 adjusted conversion_error_callback to always use information from the query's rangetable, to avoid doing catalog lookups in an already-failed transaction. However, as a result of the utterly inadequate documentat

pgsql: Fix null-pointer crash in postgres_fdw's conversion_error_callba

2021-10-06 Thread Tom Lane
Fix null-pointer crash in postgres_fdw's conversion_error_callback. Commit c7b7311f6 adjusted conversion_error_callback to always use information from the query's rangetable, to avoid doing catalog lookups in an already-failed transaction. However, as a result of the utterly inadequate documentat

pgsql: Fix null-pointer crash in postgres_fdw's conversion_error_callba

2021-10-06 Thread Tom Lane
Fix null-pointer crash in postgres_fdw's conversion_error_callback. Commit c7b7311f6 adjusted conversion_error_callback to always use information from the query's rangetable, to avoid doing catalog lookups in an already-failed transaction. However, as a result of the utterly inadequate documentat

pgsql: Fix null-pointer crash in postgres_fdw's conversion_error_callba

2021-10-06 Thread Tom Lane
Fix null-pointer crash in postgres_fdw's conversion_error_callback. Commit c7b7311f6 adjusted conversion_error_callback to always use information from the query's rangetable, to avoid doing catalog lookups in an already-failed transaction. However, as a result of the utterly inadequate documentat

pgsql: Fix null-pointer crash in postgres_fdw's conversion_error_callba

2021-10-06 Thread Tom Lane
Fix null-pointer crash in postgres_fdw's conversion_error_callback. Commit c7b7311f6 adjusted conversion_error_callback to always use information from the query's rangetable, to avoid doing catalog lookups in an already-failed transaction. However, as a result of the utterly inadequate documentat