Re: How to implement Microsoft Access boolean (YESNO)
- From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
- To: Greg Stark <gsstark(at)mit(dot)edu>
- Cc: "Jesper K. Pedersen" <jkp(at)solnet(dot)homeip(dot)net>, pgsql-sql(at)postgresql(dot)org
- Subject: Re: How to implement Microsoft Access boolean (YESNO)
- Date: Mon, 23 Jan 2006 16:02:12 -0500
- Message-id: <8505.1138050132@sss.pgh.pa.us> <text/plain>
Greg Stark <gsstark(at)mit(dot)edu> writes:
> "Jesper K. Pedersen" <jkp(at)solnet(dot)homeip(dot)net> writes:
>> Having checked the I/O format it seems that MS Access exports the
>> values of a YESNO field as 0 and 1
> If only Postgres's boolean type were as helpful.
There's a cast to int in 8.1, and you can roll-your-own easily in prior
releases ...
regards, tom lane
Home |
Main Index |
Thread Index