forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit69cf1d5
committed
Add PQsendFlushRequest to libpq
This new libpq function allows the application to send an 'H' message,which instructs the server to flush its outgoing buffer.This hasn't been needed so far because the Sync message already requestsa buffer; and I failed to realize that this was needed in pipeline modebecause PQpipelineSync also causes the buffer to be flushed. However,sometimes it is useful to request a flush without establishing asynchronization point.Backpatch to 14, where pipeline mode was introduced in libpq.Reported-by: Boris Kolpackov <boris@codesynthesis.com>Author: Álvaro Herrera <alvherre@alvh.no-ip.org>Discussion:https://postgr.es/m/202106252350.t76x73nt643j@alvherre.pgsql1 parentf8b5146 commit69cf1d5
File tree
4 files changed
+70
-3
lines changed- doc/src/sgml
- src/interfaces/libpq
4 files changed
+70
-3
lines changedLines changed: 31 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
5102 | 5102 |
| |
5103 | 5103 |
| |
5104 | 5104 |
| |
| 5105 | + | |
| 5106 | + | |
| 5107 | + | |
| 5108 | + | |
5105 | 5109 |
| |
5106 | 5110 |
| |
5107 |
| - | |
5108 |
| - | |
| 5111 | + | |
5109 | 5112 |
| |
5110 | 5113 |
| |
5111 | 5114 |
| |
| |||
5399 | 5402 |
| |
5400 | 5403 |
| |
5401 | 5404 |
| |
| 5405 | + | |
| 5406 | + | |
| 5407 | + | |
| 5408 | + | |
| 5409 | + | |
| 5410 | + | |
| 5411 | + | |
| 5412 | + | |
| 5413 | + | |
| 5414 | + | |
| 5415 | + | |
| 5416 | + | |
| 5417 | + | |
| 5418 | + | |
| 5419 | + | |
| 5420 | + | |
| 5421 | + | |
| 5422 | + | |
| 5423 | + | |
| 5424 | + | |
| 5425 | + | |
| 5426 | + | |
| 5427 | + | |
| 5428 | + | |
| 5429 | + | |
| 5430 | + | |
5402 | 5431 |
| |
5403 | 5432 |
| |
5404 | 5433 |
| |
|
Lines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
184 | 184 |
| |
185 | 185 |
| |
186 | 186 |
| |
187 |
| - | |
| 187 | + | |
| 188 | + |
Lines changed: 36 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
3099 | 3099 |
| |
3100 | 3100 |
| |
3101 | 3101 |
| |
| 3102 | + | |
| 3103 | + | |
| 3104 | + | |
| 3105 | + | |
| 3106 | + | |
| 3107 | + | |
| 3108 | + | |
| 3109 | + | |
| 3110 | + | |
| 3111 | + | |
| 3112 | + | |
| 3113 | + | |
| 3114 | + | |
| 3115 | + | |
| 3116 | + | |
| 3117 | + | |
| 3118 | + | |
| 3119 | + | |
| 3120 | + | |
| 3121 | + | |
| 3122 | + | |
| 3123 | + | |
| 3124 | + | |
| 3125 | + | |
| 3126 | + | |
| 3127 | + | |
| 3128 | + | |
| 3129 | + | |
| 3130 | + | |
| 3131 | + | |
| 3132 | + | |
| 3133 | + | |
| 3134 | + | |
| 3135 | + | |
| 3136 | + | |
| 3137 | + | |
3102 | 3138 |
| |
3103 | 3139 |
| |
3104 | 3140 |
| |
|
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
470 | 470 |
| |
471 | 471 |
| |
472 | 472 |
| |
| 473 | + | |
473 | 474 |
| |
474 | 475 |
| |
475 | 476 |
| |
|
0 commit comments
Comments
(0)