pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Remove dead code and fix comments in fast-path function handling
6+ messages / 1 participants
[nested] [flat]

* pgsql: Remove dead code and fix comments in fast-path function handling
@ 2017-04-06 06:12  Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 6+ messages in thread

From: Heikki Linnakangas @ 2017-04-06 06:12 UTC (permalink / raw)
  To: pgsql-committers

Remove dead code and fix comments in fast-path function handling.

HandleFunctionRequest() is no longer responsible for reading the protocol
message from the client, since commit 2b3a8b20c2. Fix the outdated
comments.

HandleFunctionRequest() now always returns 0, because the code that used
to return EOF was moved in 2b3a8b20c2. Therefore, the caller no longer
needs to check the return value.

Reported by Andres Freund. Backpatch to all supported versions, even though
this doesn't have any user-visible effect, to make backporting future
patches in this area easier.

Discussion: https://www.postgresql.org/message-id/20170405010525.rt5azbya5fkbhvrx@alap3.anarazel.de

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/c2f08c6429457a92c99906e5fa56069c57fbe3f2

Modified Files
--------------
src/backend/tcop/fastpath.c | 22 +++++-----------------
src/backend/tcop/postgres.c | 14 +-------------
src/include/tcop/fastpath.h |  2 +-
3 files changed, 7 insertions(+), 31 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Remove dead code and fix comments in fast-path function handling
@ 2017-04-06 06:12  Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 6+ messages in thread

From: Heikki Linnakangas @ 2017-04-06 06:12 UTC (permalink / raw)
  To: pgsql-committers

Remove dead code and fix comments in fast-path function handling.

HandleFunctionRequest() is no longer responsible for reading the protocol
message from the client, since commit 2b3a8b20c2. Fix the outdated
comments.

HandleFunctionRequest() now always returns 0, because the code that used
to return EOF was moved in 2b3a8b20c2. Therefore, the caller no longer
needs to check the return value.

Reported by Andres Freund. Backpatch to all supported versions, even though
this doesn't have any user-visible effect, to make backporting future
patches in this area easier.

Discussion: https://www.postgresql.org/message-id/20170405010525.rt5azbya5fkbhvrx@alap3.anarazel.de

Branch
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/88101abe70cb81c773cd3102eee6a79ac8f77bfb

Modified Files
--------------
src/backend/tcop/fastpath.c | 22 +++++-----------------
src/backend/tcop/postgres.c | 14 +-------------
src/include/tcop/fastpath.h |  2 +-
3 files changed, 7 insertions(+), 31 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Remove dead code and fix comments in fast-path function handling
@ 2017-04-06 06:12  Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 6+ messages in thread

From: Heikki Linnakangas @ 2017-04-06 06:12 UTC (permalink / raw)
  To: pgsql-committers

Remove dead code and fix comments in fast-path function handling.

HandleFunctionRequest() is no longer responsible for reading the protocol
message from the client, since commit 2b3a8b20c2. Fix the outdated
comments.

HandleFunctionRequest() now always returns 0, because the code that used
to return EOF was moved in 2b3a8b20c2. Therefore, the caller no longer
needs to check the return value.

Reported by Andres Freund. Backpatch to all supported versions, even though
this doesn't have any user-visible effect, to make backporting future
patches in this area easier.

Discussion: https://www.postgresql.org/message-id/20170405010525.rt5azbya5fkbhvrx@alap3.anarazel.de

Branch
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/39cedd8d95930a7689a7e06dc7730727915a6052

Modified Files
--------------
src/backend/tcop/fastpath.c | 22 +++++-----------------
src/backend/tcop/postgres.c | 14 +-------------
src/include/tcop/fastpath.h |  2 +-
3 files changed, 7 insertions(+), 31 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Remove dead code and fix comments in fast-path function handling
@ 2017-04-06 06:12  Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 6+ messages in thread

From: Heikki Linnakangas @ 2017-04-06 06:12 UTC (permalink / raw)
  To: pgsql-committers

Remove dead code and fix comments in fast-path function handling.

HandleFunctionRequest() is no longer responsible for reading the protocol
message from the client, since commit 2b3a8b20c2. Fix the outdated
comments.

HandleFunctionRequest() now always returns 0, because the code that used
to return EOF was moved in 2b3a8b20c2. Therefore, the caller no longer
needs to check the return value.

Reported by Andres Freund. Backpatch to all supported versions, even though
this doesn't have any user-visible effect, to make backporting future
patches in this area easier.

Discussion: https://www.postgresql.org/message-id/20170405010525.rt5azbya5fkbhvrx@alap3.anarazel.de

Branch
------
REL9_6_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/b3721f7d13aa527961688b98dbc09acff30c938c

Modified Files
--------------
src/backend/tcop/fastpath.c | 22 +++++-----------------
src/backend/tcop/postgres.c | 14 +-------------
src/include/tcop/fastpath.h |  2 +-
3 files changed, 7 insertions(+), 31 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Remove dead code and fix comments in fast-path function handling
@ 2017-04-06 06:12  Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 6+ messages in thread

From: Heikki Linnakangas @ 2017-04-06 06:12 UTC (permalink / raw)
  To: pgsql-committers

Remove dead code and fix comments in fast-path function handling.

HandleFunctionRequest() is no longer responsible for reading the protocol
message from the client, since commit 2b3a8b20c2. Fix the outdated
comments.

HandleFunctionRequest() now always returns 0, because the code that used
to return EOF was moved in 2b3a8b20c2. Therefore, the caller no longer
needs to check the return value.

Reported by Andres Freund. Backpatch to all supported versions, even though
this doesn't have any user-visible effect, to make backporting future
patches in this area easier.

Discussion: https://www.postgresql.org/message-id/20170405010525.rt5azbya5fkbhvrx@alap3.anarazel.de

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/f2389f119f52027a4136c531f29b49a86d3fffc0

Modified Files
--------------
src/backend/tcop/fastpath.c | 22 +++++-----------------
src/backend/tcop/postgres.c | 14 +-------------
src/include/tcop/fastpath.h |  2 +-
3 files changed, 7 insertions(+), 31 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Remove dead code and fix comments in fast-path function handling
@ 2017-04-06 06:12  Heikki Linnakangas <heikki.linnakangas@iki.fi>
  0 siblings, 0 replies; 6+ messages in thread

From: Heikki Linnakangas @ 2017-04-06 06:12 UTC (permalink / raw)
  To: pgsql-committers

Remove dead code and fix comments in fast-path function handling.

HandleFunctionRequest() is no longer responsible for reading the protocol
message from the client, since commit 2b3a8b20c2. Fix the outdated
comments.

HandleFunctionRequest() now always returns 0, because the code that used
to return EOF was moved in 2b3a8b20c2. Therefore, the caller no longer
needs to check the return value.

Reported by Andres Freund. Backpatch to all supported versions, even though
this doesn't have any user-visible effect, to make backporting future
patches in this area easier.

Discussion: https://www.postgresql.org/message-id/20170405010525.rt5azbya5fkbhvrx@alap3.anarazel.de

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/fd01983594b7d2119653428e3b532578008c7065

Modified Files
--------------
src/backend/tcop/fastpath.c | 22 +++++-----------------
src/backend/tcop/postgres.c | 14 +-------------
src/include/tcop/fastpath.h |  2 +-
3 files changed, 7 insertions(+), 31 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2017-04-06 06:12 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-04-06 06:12 pgsql: Remove dead code and fix comments in fast-path function handling Heikki Linnakangas <heikki.linnakangas@iki.fi>
2017-04-06 06:12 pgsql: Remove dead code and fix comments in fast-path function handling Heikki Linnakangas <heikki.linnakangas@iki.fi>
2017-04-06 06:12 pgsql: Remove dead code and fix comments in fast-path function handling Heikki Linnakangas <heikki.linnakangas@iki.fi>
2017-04-06 06:12 pgsql: Remove dead code and fix comments in fast-path function handling Heikki Linnakangas <heikki.linnakangas@iki.fi>
2017-04-06 06:12 pgsql: Remove dead code and fix comments in fast-path function handling Heikki Linnakangas <heikki.linnakangas@iki.fi>
2017-04-06 06:12 pgsql: Remove dead code and fix comments in fast-path function handling Heikki Linnakangas <heikki.linnakangas@iki.fi>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox