forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitf2c28bb
committed
Make "postgres -C guc" print "" not "(null)" for null-valued GUCs.
Commit0b0baf2 et al made this case print "(null)" on the grounds thatthat's what happened on platforms that didn't crash. But neither behaviorwas actually intentional. What we should print is just an empty string,for compatibility with the behavior of SHOW and other ways of examiningstring GUCs. Those code paths don't distinguish NULL from empty strings,so we should not here either. Per gripe from Alain Radix.Like the previous patch, back-patch to 9.2 where -C option was introduced.Discussion: <CA+YdpwxPUADrmxSD7+Td=uOshMB1KkDN7G7cf+FGmNjjxMhjbw@mail.gmail.com>1 parent7a34988 commitf2c28bb
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
828 | 828 |
| |
829 | 829 |
| |
830 | 830 |
| |
831 |
| - | |
| 831 | + | |
832 | 832 |
| |
833 | 833 |
| |
834 | 834 |
| |
|
0 commit comments
Comments
(0)