Re: Add \pset options for boolean value display
| От | David G. Johnston | 
|---|---|
| Тема | Re: Add \pset options for boolean value display | 
| Дата | |
| Msg-id | CAKFQuwbJ+Fn9u0a4hYWoyxA8FK-fD=+xGisrs6rjgeqcRtEf5w@mail.gmail.com обсуждение исходный текст  | 
		
| Ответ на | Re: Add \pset options for boolean value display (Chao Li <li.evan.chao@gmail.com>) | 
| Ответы | 
                	
            		Re: Add \pset options for boolean value display
            		
            		 Re: Add \pset options for boolean value display  | 
		
| Список | pgsql-hackers | 
		
			On Monday, October 20, 2025, Chao Li <li.evan.chao@gmail.com> wrote:
		
	
	
The other thing I am thinking is that, with this patch, users are allowed to display arbitrary strings for true/false, if a user mistakenly set display_true to f and display_false to t, which will load to misunderstanding.
Sympathetic to the concern but opposed to taking on such responsibility.  They could probably modify their own query to do that if they really wanted to fool someone and I’m having trouble accepting this happening by accident.  Do we test for yes/no; oui/non (i.e., foreign language choices); checkmark/X?
David J.
В списке pgsql-hackers по дате отправления: