Commit e77de23
committed
psql: Show notices immediately (again)
The new show-all-results feature in psql (7844c99) went out of its
way to show notices next to the results of the statements (in a
multi-statement string) that caused them. This also had the
consequence that notices for a single statement were not shown until
after the statement had executed, instead of right away. After some
discussion, it seems very difficult to satisfy both of these goals, so
here we are giving up on the first goal and just show the notices as
we get them. This restores the pre-7844c9918 behavior for notices.
Reported-by: Alastair McKinley <a.mckinley@analyticsengines.com>
Author: Fabien COELHO <coelho@cri.ensmp.fr>
Discussion: https://www.postgresql.org/message-id/flat/PAXPR02MB760039506C87A2083AD85575E3DA9%40PAXPR02MB7600.eurprd02.prod.outlook.com1 parent 7ab5b4e commit e77de23
2 files changed
+4
-68
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1061 | 1061 | | |
1062 | 1062 | | |
1063 | 1063 | | |
1064 | | - | |
1065 | | - | |
1066 | | - | |
1067 | | - | |
1068 | | - | |
1069 | | - | |
1070 | | - | |
1071 | | - | |
1072 | | - | |
1073 | | - | |
1074 | | - | |
1075 | | - | |
1076 | | - | |
1077 | | - | |
1078 | | - | |
1079 | | - | |
1080 | | - | |
1081 | | - | |
1082 | | - | |
1083 | | - | |
1084 | | - | |
1085 | | - | |
1086 | | - | |
1087 | | - | |
1088 | | - | |
1089 | | - | |
1090 | | - | |
1091 | | - | |
1092 | | - | |
1093 | | - | |
1094 | | - | |
1095 | | - | |
1096 | | - | |
1097 | | - | |
1098 | | - | |
1099 | | - | |
1100 | | - | |
1101 | | - | |
1102 | 1064 | | |
1103 | 1065 | | |
1104 | 1066 | | |
| |||
1483 | 1445 | | |
1484 | 1446 | | |
1485 | 1447 | | |
1486 | | - | |
1487 | 1448 | | |
1488 | 1449 | | |
1489 | 1450 | | |
| |||
1513 | 1474 | | |
1514 | 1475 | | |
1515 | 1476 | | |
1516 | | - | |
1517 | | - | |
1518 | | - | |
1519 | | - | |
1520 | | - | |
1521 | | - | |
1522 | 1477 | | |
1523 | 1478 | | |
1524 | 1479 | | |
| |||
1536 | 1491 | | |
1537 | 1492 | | |
1538 | 1493 | | |
1539 | | - | |
1540 | 1494 | | |
1541 | 1495 | | |
1542 | 1496 | | |
| |||
1601 | 1555 | | |
1602 | 1556 | | |
1603 | 1557 | | |
1604 | | - | |
1605 | | - | |
1606 | 1558 | | |
1607 | 1559 | | |
1608 | 1560 | | |
1609 | 1561 | | |
1610 | 1562 | | |
1611 | 1563 | | |
1612 | 1564 | | |
1613 | | - | |
1614 | | - | |
1615 | | - | |
1616 | 1565 | | |
1617 | | - | |
1618 | | - | |
1619 | 1566 | | |
1620 | 1567 | | |
1621 | 1568 | | |
1622 | 1569 | | |
1623 | 1570 | | |
1624 | 1571 | | |
1625 | 1572 | | |
1626 | | - | |
1627 | 1573 | | |
1628 | | - | |
1629 | 1574 | | |
1630 | 1575 | | |
1631 | 1576 | | |
| |||
1647 | 1592 | | |
1648 | 1593 | | |
1649 | 1594 | | |
1650 | | - | |
1651 | | - | |
1652 | | - | |
1653 | 1595 | | |
1654 | 1596 | | |
1655 | 1597 | | |
| |||
1659 | 1601 | | |
1660 | 1602 | | |
1661 | 1603 | | |
1662 | | - | |
1663 | 1604 | | |
1664 | 1605 | | |
1665 | 1606 | | |
| |||
1669 | 1610 | | |
1670 | 1611 | | |
1671 | 1612 | | |
1672 | | - | |
1673 | | - | |
1674 | | - | |
1675 | | - | |
1676 | | - | |
1677 | 1613 | | |
1678 | 1614 | | |
1679 | 1615 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5316 | 5316 | | |
5317 | 5317 | | |
5318 | 5318 | | |
| 5319 | + | |
| 5320 | + | |
5319 | 5321 | | |
5320 | 5322 | | |
5321 | 5323 | | |
5322 | 5324 | | |
5323 | 5325 | | |
5324 | | - | |
5325 | | - | |
5326 | 5326 | | |
5327 | 5327 | | |
5328 | 5328 | | |
| |||
5335 | 5335 | | |
5336 | 5336 | | |
5337 | 5337 | | |
| 5338 | + | |
| 5339 | + | |
5338 | 5340 | | |
5339 | 5341 | | |
5340 | 5342 | | |
5341 | 5343 | | |
5342 | 5344 | | |
5343 | | - | |
5344 | | - | |
5345 | 5345 | | |
5346 | 5346 | | |
5347 | 5347 | | |
| |||
0 commit comments