Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1emECi-0000ok-M9 for pgsql-bugs@arkaria.postgresql.org; Thu, 15 Feb 2018 07:43:40 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1emECh-0005BC-7P for pgsql-bugs@arkaria.postgresql.org; Thu, 15 Feb 2018 07:43:39 +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.84_2) (envelope-from ) id 1emECg-0005B3-Ow for pgsql-bugs@lists.postgresql.org; Thu, 15 Feb 2018 07:43:39 +0000 Received: from new1-smtp.messagingengine.com ([66.111.4.221]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1emECd-0000Qn-GK for pgsql-bugs@lists.postgresql.org; Thu, 15 Feb 2018 07:43:37 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailnew.nyi.internal (Postfix) with ESMTP id 5A8C21338; Thu, 15 Feb 2018 02:43:23 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute4.internal (MEProxy); Thu, 15 Feb 2018 02:43:26 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=opjY38g0CMy97OXG0lWDPlAbF+0gu j0WLddNnqMYP/I=; b=eBReEKAncjYGoGTHokWXO35dLYsIZEJA47qsOj8/94YhM hJRtVCbUDEAaN2t6gsoB7nPj9IZ9BoN3Qt0b8zC9b4T7Dn5n+XpFLXJjQK2Ki2sD 1I0jNHuZkt3jo/YULAChnrbFE+xO/W3o1PrN2hKo7kirS3ML5AYaXmRMK255BATq aeRmqlvJ+GjS6MDuwa0MVdHQe3zQsixowyEC54IRDJ06Q4kmSKCKDOV2JzsXFYL0 Gnw5rN8QSHnASsnPGyF7SFcT1n9kCPO5/FU1xTYImD+j9lyC94XTNDLEwtKKyyRV P2Cch29a8kHn811xYpqbBjzwgZr7IDeyA1OXSu7dA== X-ME-Sender: Received: from paquier.xyz (c137162.net61215.cablenet.ne.jp [61.215.137.162]) by mail.messagingengine.com (Postfix) with ESMTPA id 4D7212479F; Thu, 15 Feb 2018 02:43:17 -0500 (EST) Date: Thu, 15 Feb 2018 16:43:14 +0900 From: Michael Paquier To: mahendra@datam.co.uk, pgsql-bugs@lists.postgresql.org Subject: Re: BUG #15068: PostgreSQL doesn't support queries that involve columns from multiple databases Message-ID: <20180215074314.GA25356@paquier.xyz> References: <151867896347.1459.12853955657074470296@wrigleys.postgresql.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="sm4nu43k4a2Rpi4c" Content-Disposition: inline In-Reply-To: <151867896347.1459.12853955657074470296@wrigleys.postgresql.org> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --sm4nu43k4a2Rpi4c Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Thu, Feb 15, 2018 at 07:16:03AM +0000, PG Bug reporting form wrote: > I try to create view using involve columns from multiple databases. > then i have issue postgresql cross database reference are not implemented. > how to resolve that issue This is not supported as each backend session can only be connected to one single database. Have you considered using different schema for this purpose? This is an extra layer that PostgreSQL has which is different than other RDBMs. -- Michael --sm4nu43k4a2Rpi4c Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAlqFOhIACgkQnvQgOdby QH2KyA//aoDdn7MG1ZqkVfjeRunFGb9WoX1e70aIEoqeiLbwFlC9oLDu/Ld0UvLs E/mz4UzNOIWLDfdMAXjbx6KTPREzS7ZkMQHvAObUilmvmzgtQ36tZtnCvJyvYKKN 1CgJJBaasl6cQq6Jm7pFHAvJA4W/wqS6+fkjkqD73YuL/LYZInREhO02NQcaPxM7 mbsXWgWdTz9E3yPBdpQ+GIeKHWN9Zmzz45pBVwLC6ex5Iu6UItzMmzhFdAuViSkX 68M70jii6oeDAI9lP0vm6AuZyI+FjUdQuq7hCrJUP/wxrQBt0rmUhC18adVON8Ut nxi4DAJCsKvDQvBxutsmywJ/7ehlN7J9CP+5rAnyAxdhfX+Jg+CGpHo5hUj4bAaq EeUGUb+ee0VvmfSyCfj+UckKIxFAXB/aTF+o124HPlGH4GCf0rNC+ubM+PRmqJoa 78UrmgjZ2iMOVrDrX1L39eH22jWu9lfnNzJ+J7P5ysMkf3ridyFqR73T+YAqEJXl x1aO9CSFVjGEnOAgchfEBiFljXuUwpz/EppJw5tzIO7YvpoGCOYJ4ZXZ1J4AlwC8 SATdMV42qo3mUB9QlzoFDdAOjC+eh+UDxhGItSRzGvKLjv9MKqaOg6Gz0jTPY9nk bHfscNQdZ0OemxTYaPSIJv2VOmdcT8QcoU5YV7h3wF8DqFUaqWQ= =S6UM -----END PGP SIGNATURE----- --sm4nu43k4a2Rpi4c--