Re: Binary data type with other output method
| От | Andrew Dunstan | 
|---|---|
| Тема | Re: Binary data type with other output method | 
| Дата | |
| Msg-id | 4773D541.9000808@dunslane.net обсуждение исходный текст  | 
		
| Ответ на | Re: Binary data type with other output method (Andreas 'ads' Scherbaum <adsmail@wars-nicht.de>) | 
| Ответы | 
                	
            		Re: Binary data type with other output method
            		
            		 | 
		
| Список | pgsql-hackers | 
Andreas 'ads' Scherbaum wrote: >>> i considered this one but this would only bring 0/1 as input, not as >>> output values, which is what i want. >>> >> er, what? This domain would have input and output values of 0/1. >> > > Yes, but i will loose 't', 'true', 'f' and 'false', the usual input > values in PostgreSQL beside '0' and '1'. It's not that the people don't > use true/false, they use this a lot. But they expect boolean variable > in PHP working like a bolean column in PG ... without casts, without > extra workarounds in the code. > > > > If your code is prepared to emit t/f but not accept it then that seems to violate Postel's admonition: "Be *liberal* in what you *accept*, and *conservative* in what you send." cheers andrew
В списке pgsql-hackers по дате отправления: