- Notifications
You must be signed in to change notification settings - Fork5
Commit3a66581
committed
Prevent log_replication_commands from causing SQL commands to be logged.
Commit7c4f524 allowed walsender to execute normal SQL commandsto support table sync feature in logical replication. Previouslywhile log_statement caused such SQL commands to be logged,log_replication_commands caused them to be logged, too.That is, such SQL commands were logged twice unexpectedlywhen those settings were both enabled.This commit forces log_replication_commands to log only replicationcommands, to prevent normal SQL commands from being logged twice.Author: Masahiko SawadaReviewed-by: Kyotaro HoriguchiReported-by: Fujii MasaoDiscussion:http://postgr.es/m/CAHGQGwFDWh_Qr-q_GEMpD+qH=vYPMdVqw=ZOSY3kX_Pna9R9SA@mail.gmail.com1 parent88b0a31 commit3a66581
1 file changed
+10
-8
lines changedLines changed: 10 additions & 8 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1368 | 1368 |
| |
1369 | 1369 |
| |
1370 | 1370 |
| |
1371 |
| - | |
1372 |
| - | |
1373 |
| - | |
1374 |
| - | |
1375 |
| - | |
1376 |
| - | |
1377 |
| - | |
1378 |
| - | |
1379 | 1371 |
| |
1380 | 1372 |
| |
1381 | 1373 |
| |
| |||
1399 | 1391 |
| |
1400 | 1392 |
| |
1401 | 1393 |
| |
| 1394 | + | |
| 1395 | + | |
| 1396 | + | |
| 1397 | + | |
| 1398 | + | |
| 1399 | + | |
| 1400 | + | |
| 1401 | + | |
| 1402 | + | |
| 1403 | + | |
1402 | 1404 |
| |
1403 | 1405 |
| |
1404 | 1406 |
| |
|
0 commit comments
Comments
(0)