Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fdyFT-0007Wq-Pj for pgsql-general@arkaria.postgresql.org; Fri, 13 Jul 2018 13:36:39 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fdyFR-0006LK-RM for pgsql-general@arkaria.postgresql.org; Fri, 13 Jul 2018 13:36:37 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fdyFK-0005dO-KD for pgsql-general@lists.postgresql.org; Fri, 13 Jul 2018 13:36:30 +0000 Received: from out5-smtp.messagingengine.com ([66.111.4.29]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fdyFH-0008Og-78 for pgsql-general@postgresql.org; Fri, 13 Jul 2018 13:36:28 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id A87BE222FF; Fri, 13 Jul 2018 09:36:26 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute6.internal (MEProxy); Fri, 13 Jul 2018 09:36:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aklaver.com; h= content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=3sXnFUzsr7MzkeuEUzN6/fWXzFv4H u1Z836DR9wIoaU=; b=VZwIYBVCn5gv9/2D1qY5vUxZkie8OUi6hGjK7jIfHWdeL CO6wo4wTjqaf0+NNwfWUn6wuvmzmyAcoMak9ivG86BQV9vllPfJNNOU95RnLNgh+ HdauCMH95XO2dRP3qZC/4LOMJHDAXQVTKvk4WhYT4VIEyosr+2/zLb4BfBKEiM/n YP6c7AHsuMrDnsDAKttNtegksBoCwIumidHwdBBcB8JTS/Jr0ArZdliNdVqGpZsc PA3eJqyT+32EWaz150eNPjZoyTGdaHjUvLxpJuZnsRpD9axcaywBtUVhzJXQYKOI GuoYfemdZW27XqI/SBPhK5WbBi8crlq6DFKWBzdEQ== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=3sXnFU zsr7MzkeuEUzN6/fWXzFv4Hu1Z836DR9wIoaU=; b=CtAuY69K9cJnnQa6fTrKpK gjRKs04tiziqja9ZSWzZFaF7yrs9kJV7urbe2rcf4z4gdI+6w3yjxSrm9o9mOPK+ 4iXjTShslA7oqUkFU7RV+UNzrQaxiE73z4atBjpmCIkmmtxKxoFleCwihbOf/45+ WWkib+zo+vS7xEjC3HLhndRCUWBpIexMHnBLxjsAscT2PIhaho/+kmcSe9tvZhps gILTzB9+RT0dwNF56oSREswtES9RPqv2HMmVlTtIWrE6faXxqRIpHE0CRE0h5gcr NmloT7Ov1IoDKLK8P0Ge1jSV7FKO0td6e4UniWnYHo8oEEeibnchhIylvLppIRxA == X-ME-Proxy: X-ME-Sender: Received: from [192.168.1.3] (unknown [71.212.134.181]) by mail.messagingengine.com (Postfix) with ESMTPA id 1FB651026A; Fri, 13 Jul 2018 09:36:26 -0400 (EDT) Subject: Re: Handlind booleans Postgresql-Access To: =?UTF-8?Q?=c5=81ukasz_Jarych?= , "pgsql-general@postgresql.org >> PG-General Mailing List" References: From: Adrian Klaver Message-ID: <14ee2354-929f-5a39-edef-a1c968dcd405@aklaver.com> Date: Fri, 13 Jul 2018 06:36:25 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 07/13/2018 02:19 AM, Ɓukasz Jarych wrote: > Hi Guys, > > i created boolean in postgresql table (in attachment) but linked table > in Access see this as short text. > > I checked in odbc option Bools as Char to false and True is -1 as > true.but still tihs is not working. Define working. > > I found linke here: > > http://bahut.alma.ch/2006/04/access-odbc-postgresql-boolean-mess.html > > but this is very strange function there (which i am not understanding), > why to use it? There is no other option? Because Postgres has true boolean fields and Access does not. > > Best, > Jacek > > > -- Adrian Klaver adrian.klaver@aklaver.com