Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id A05886322C7 for ; Wed, 4 Aug 2010 14:47:17 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 06945-04 for ; Wed, 4 Aug 2010 17:47:10 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-wy0-f174.google.com (mail-wy0-f174.google.com [74.125.82.174]) by mail.postgresql.org (Postfix) with ESMTP id 474536328C3 for ; Wed, 4 Aug 2010 14:47:10 -0300 (ADT) Received: by wyb39 with SMTP id 39so5760884wyb.19 for ; Wed, 04 Aug 2010 10:47:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=ZJDQrkQKyhAi0aPCUvGO6rotYep3l4o74U7wqkiypR4=; b=cqti4wtG1Aidl7VdZLfYPU2JhY47TE0Qhvrr4YYXQ5tschVQxFMG7YKwHQE7HyzEif uMfj8RrSOouaHbrrwSIX1dzLnp8rAtDDFwYfDHIN/y6bGtMFsua5GQYxroRIbllohuwN N01RSMqUQXV+9s0I1GTRV1+ewp5iRfD3ljdxo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=UiHOS9eSlUE1M1yunOGe+Z4pbVugdCnPYgGpccI58jg2fyv/pV6184x/qEiGT5RV6G J6iXsJ/8X6WpMBSRRFI558xskDaAn7RCkf1soh0iol26Ln8VroKFkOcfVQYlo9Qg10NP Pa0Mw6v4jzI8+Amu5BLgAIzotF1xZ1tl1xZ6U= MIME-Version: 1.0 Received: by 10.216.131.161 with SMTP id m33mr8141771wei.13.1280944028953; Wed, 04 Aug 2010 10:47:08 -0700 (PDT) Received: by 10.216.172.129 with HTTP; Wed, 4 Aug 2010 10:47:04 -0700 (PDT) In-Reply-To: References: Date: Wed, 4 Aug 2010 10:47:04 -0700 Message-ID: Subject: Re: Domains, casts, and MS Access From: Richard Broersma To: Peter Koczan Cc: pgsql-sql@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-5 required=5 tests=BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201008/19 X-Sequence-Number: 34459 On Wed, Aug 4, 2010 at 10:31 AM, Peter Koczan wrote: > One of the snags that's popped up is that there's some incompatibility > between data types. Specifically, many fields are the Sybase type > "bit", which is basically a boolean, but it accepts and displays > bareword 1 and 0 instead of 't' and 'f'. For the sake of compatibility > (especially bareword integers in queries), I've defined a 'sybit' type > in postgres to be a domain. One thought would be see if ODBC configuration options will achieve this for you. Have you already exhausted this option? -- Regards, Richard Broersma Jr. Visit the Los Angeles PostgreSQL Users Group (LAPUG) http://pugs.postgresql.org/lapug