Re: zero char is returned as space

2022-04-05 Thread Konstantin Izmailov
Tom, thank you very much! It makes sense now. K On Tue, Apr 5, 2022 at 10:08 PM Tom Lane wrote: > Konstantin Izmailov writes: > > could you help me understand if this is an intended behaviour, or I'm > > incorrectly querying a "char" field? > > We do not su

zero char is returned as space

2022-04-05 Thread Konstantin Izmailov
Hi, could you help me understand if this is an intended behaviour, or I'm incorrectly querying a "char" field? I have simple table with column declared as: c_tinyint char NOT NULL The column contains tiny integers in range 0-10. When I query the column from my app using libpq values 1-10 are ret