Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZIAkn-0003RS-6J for pgsql-odbc@arkaria.postgresql.org; Thu, 23 Jul 2015 07:17:17 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZIAkm-00012X-N2 for pgsql-odbc@arkaria.postgresql.org; Thu, 23 Jul 2015 07:17:16 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZIAkQ-0000cw-O8 for pgsql-odbc@postgresql.org; Thu, 23 Jul 2015 07:16:54 +0000 Received: from mail-wi0-x22e.google.com ([2a00:1450:400c:c05::22e]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1ZIAkM-0000KA-Fa for pgsql-odbc@postgresql.org; Thu, 23 Jul 2015 07:16:53 +0000 Received: by wicgb10 with SMTP id gb10so129360698wic.1 for ; Thu, 23 Jul 2015 00:16:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:message-id:date:from:reply-to:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=QCoqLDQAnr5UfCh3DkzVMSCS21yZJPwJ5vcbHypItg0=; b=eNCCueKymeHAxObvixmqOeV9m8QUVkOpQGSAPqRZvIUHE62aOH1SdU3QyMeePwuBup 9O91QuKr4WmLCmDYrgvdpWfE9UyTeNG0vQrXcmMhKV+wD/3qQvEPZrYJOn9ocB+YTwlg dJYXttdB0TgJnK7unvI7fHzvD5gbN41MHAA9m2syyL2BdiS8ZfvKSHXKxQll+RQ/hMP1 FDoOZJCWtvre4JNgoLsXby4edI0FwJPhPkmoWd3o+YDeZipWwXiLHMus7iufLip1HVxS 4BEQWU1ds8THGrjtTFdIFy/N40lhJVPy4LZDtCL7ISfxUovgaUW54AHJ4QYEadh+YaoF Ucgg== X-Received: by 10.194.78.230 with SMTP id e6mr10099727wjx.43.1437635808527; Thu, 23 Jul 2015 00:16:48 -0700 (PDT) Received: from [192.168.1.105] (dsl-hkibrasgw1-58c38f-82.dhcp.inet.fi. [88.195.143.82]) by smtp.gmail.com with ESMTPSA id pf4sm6022588wjb.23.2015.07.23.00.16.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 23 Jul 2015 00:16:47 -0700 (PDT) Message-ID: <55B094DD.1070803@iki.fi> Date: Thu, 23 Jul 2015 10:16:45 +0300 From: Heikki Linnakangas Reply-To: hlinnaka@iki.fi User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.7.0 MIME-Version: 1.0 To: Michael Paquier , Jean-Marc Guazzo CC: PostgreSQL mailing lists Subject: Re: Materialized Views References: In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.4 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-odbc Precedence: bulk Sender: pgsql-odbc-owner@postgresql.org On 07/23/2015 05:37 AM, Michael Paquier wrote: > On Thu, Jul 23, 2015 at 11:05 AM, Jean-Marc Guazzo wrote: >> Materialized Views aren't visible when I try to link them with MS Access, MS >> Excel or LibreOffice Base. > > There is the same problem with foreign tables actually. > >> I guess that's because the ODBC driver doesn't return this information... >> >> Can you tell me whether there will be some adjustement in the next version >> of the odbc driver regarding the MVs ? > > Hard to say... The following patch is not loved enough I am afraid: > http://www.postgresql.org/message-id/CAB7nPqR0apHpiPAi4J2e3oR2jZ8MREyJAzxdWMjrr4h5PsRp4w@mail.gmail.com Ah, that patch. No-one investigated what e.g. SQL Server returns in the table type column for materialized views. Or what DB2 returns for federated tables. While the specification gives us free hands to return an implementation-specific string, it'd be good to use what the other DBMS's use. - Heikki -- Sent via pgsql-odbc mailing list (pgsql-odbc@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-odbc