code to deparse parameter in postgres_fdw is duplicated - Mailing list pgsql-hackers

From Ashutosh Bapat
Subject code to deparse parameter in postgres_fdw is duplicated
Date
Msg-id CAFjFpRc1W3U9cXWdUxRtqCkXwgzDhLQwpYdhYKngpus-wVC_7w@mail.gmail.com
Whole thread Raw
List pgsql-hackers
Hi,
The code to deparse a Var or Param node as a parameter in the query looks same except the member names for getting type and typmod. PFA patch to push that into a function to deduplicate it. Regression and tests in contrib/postgres_fdw run clean with this patch.

--
Best Wishes,
Ashutosh Bapat
EnterpriseDB Corporation
The Postgres Database Company
Attachment

pgsql-hackers by date:

Previous
From: Dilip Kumar
Date:
Subject: Re: parallel joins, and better parallel explain
Next
From: Fabien COELHO
Date:
Subject: Re: checkpointer continuous flushing