forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite90d4dd
committed
Simplify genbki.pl's data quoting rules.
During the bootstrap data format conversion, it seemed important forverifiability's sake that the generated postgres.bki file stayed the sameas before. That resulted in adding a bunch of ad-hoc rules about when toquote emitted data values, to match previous manual decisions that hadoften quoted values unnecessarily. Now that the conversion is complete,it seems fine to remove all those ad-hoc rules. The net actual effect onthe current contents of postgres.bki is that some fields that had beenquoted despite containing only digits or only "-" lose their unnecessaryquotes.Also, now that genbki.pl will always quote values containing a backslash,there's no need for bootscanner.l to allow unquoted octal escapes;so simplify its production for "id" by removing that possibility.John Naylor, slightly modified by meDiscussion:https://postgr.es/m/CAJVSVGUNao=-Q2-vAN3PYcdF5tnL5JAHwGwzZGuYHtq+Mk_9ng@mail.gmail.com1 parentcf5a189 commite90d4dd
2 files changed
+7
-24
lines changedLines changed: 1 addition & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
66 | 66 |
| |
67 | 67 |
| |
68 | 68 |
| |
69 |
| - | |
70 |
| - | |
| 69 | + | |
71 | 70 |
| |
72 | 71 |
| |
73 | 72 |
| |
|
Lines changed: 6 additions & 22 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
645 | 645 |
| |
646 | 646 |
| |
647 | 647 |
| |
648 |
| - | |
649 |
| - | |
650 |
| - | |
| 648 | + | |
651 | 649 |
| |
652 | 650 |
| |
653 | 651 |
| |
| |||
666 | 664 |
| |
667 | 665 |
| |
668 | 666 |
| |
| 667 | + | |
| 668 | + | |
669 | 669 |
| |
670 |
| - | |
671 |
| - | |
672 |
| - | |
673 |
| - | |
674 |
| - | |
675 |
| - | |
676 |
| - | |
677 |
| - | |
678 |
| - | |
679 |
| - | |
680 |
| - | |
681 |
| - | |
682 |
| - | |
683 |
| - | |
684 |
| - | |
685 |
| - | |
686 |
| - | |
687 |
| - | |
688 |
| - | |
| 670 | + | |
| 671 | + | |
| 672 | + | |
689 | 673 |
| |
690 | 674 |
| |
691 | 675 |
| |
|
0 commit comments
Comments
(0)