Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wO4a4-001IG0-0m for pgsql-general@arkaria.postgresql.org; Sat, 16 May 2026 02:16:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1wO4Z3-002AQo-17 for pgsql-general@arkaria.postgresql.org; Sat, 16 May 2026 02:15:41 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1wO4Z3-002AQg-07 for pgsql-general@lists.postgresql.org; Sat, 16 May 2026 02:15:41 +0000 Received: from mail-dl1-x1235.google.com ([2607:f8b0:4864:20::1235]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.98.2) (envelope-from ) id 1wO4Z1-00000000qe7-0JYd for pgsql-general@postgresql.org; Sat, 16 May 2026 02:15:40 +0000 Received: by mail-dl1-x1235.google.com with SMTP id a92af1059eb24-132830d8281so2121901c88.1 for ; Fri, 15 May 2026 19:15:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1778897737; cv=none; d=google.com; s=arc-20240605; b=OzO7TLYBAfGLdWk+JlJ2JWt/bTPrUIWoDMzhR5PnnZ3zgy3fZxM5RCfH9bkTKWamOJ N2NPI8pPrxQ3DknqQvlzuj6idqVv5aqCwGrS1d+yH4xqcJtNBKsC4GJn3SXsUOxPvhYk Q2rOGOQ1UDau46viuLGrDbIwoJGLhMFvhW4Tz0wMBrHmDnAjCzitiBj1+TKTSyTJcaoD mL+p96n7EahYHATA9SdPCVY+CYFVQ6kX6DFZp8Hm1IVyYFJXqM6ZCzTY7Lsh48SvsiIC PJ0BJ7F2mDCje8LC5pdadNhnU+3GmwGSnVoY6173OrsJ7yzDc7yTuKAg1U3HqLbX5tbW qIzQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20240605; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=zAocS3zAOdUJGDpIO7awTlDZ9p1D6/21zITB2FylqDY=; fh=LxCTzCVPmOPB+PRW0JTZ+aMWAqCi+kxL5kxJTZBGZIc=; b=IvWIa+cWc0ZfH36vREQoC8pXUzOEQpaEc4wcSO/3UV9hcZzvDPcaaeopzv48I6Mujh HoJfI+vz+EzOoIQAE018RyPWs0G0nEQKhmC1+PH1f0l6qGrh6dqBR6/nlKJJERnQW1pL q+3bTZiLMygKiXLDnuY43JhxVOYLi7nO4xa+zf0UFBbCrfl7pHbMFXpgYnFRhHsF1nrb oHVVmrvP7TkYBGy1xnU/yOLIUimojcpO9j7yS5gfALAYT0+uXfcJlesj32jDtbEjkNJj oplZ4RaJpRvzmUmX7pIMCpPOjga3DbBTZOEFLrKyeAjatArOvOedQXaZV3j82Xc5gM0j IGBg==; darn=postgresql.org ARC-Authentication-Results: i=1; mx.google.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1778897737; x=1779502537; darn=postgresql.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=zAocS3zAOdUJGDpIO7awTlDZ9p1D6/21zITB2FylqDY=; b=q9wTavz91aqHCX26Kms5acWsR/i2+F8ZCCajCZQv37AHfPaevztBG6rwOTcNjjCPkz UoxZDGPb8RzNAFdt4MMUIyDD2KagSXnoATUUvzwMs9iamo0B0BagevpdLOrOYeqzbDli 58bt3rUhBet7gPuDWf4eEjfI5OVqJ+A2K/dS4uXxDjHUS6fL+y4JnQ8ooiFBjYcW+9jZ 4ViMpClcZjX3yNpyxZ81hhx/1MOlLIKPnn/AJ2oQEKeCWzZbVQKKjExrBZPker4fa1mz BcFmUhn9nJEkAOemZdghamS848B0HPbu506gw8CnnSrkgcw+shF284EVu9saNSweCUEw ituA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1778897737; x=1779502537; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=zAocS3zAOdUJGDpIO7awTlDZ9p1D6/21zITB2FylqDY=; b=CjohTJV8EIv1LuKH5mbN02i31ahq5/0wcByiTX5CtqKJY4zrwxxxf31oOm/sP7eXf4 mvZL8jIqQsC4nyhI8xOJxZPnvbOplkoFSYx9PK2ROEZXchkOOz4e0sguOPav4mVxNwRy FO1SwVtha+kI+Fkvs77HJN/zswp9FVEOm3/9dsjjMYKSyRw0/ufdNjbABB6vgAHeCV3v j3MKgVoId/ZF2m0neyD0h69/kuXumsS8FkEyIaAuHFedjgw1vfxFC4/60kypu81+sCF8 g4BCSQXBfXvyDl10i9ysAjs6LgPxBR/pv1Huo4+BUq9gCdm/GLUGqPqWxCDzCXTpM91T UPsw== X-Gm-Message-State: AOJu0YyV5OzU+H9rWtkhy1+DETwtYIBNINGdMHCB7XQmEq7LqzXeJ57I eSenTcHvC8wPppBJcGhBY3xR+ZJOymjVVyfGmjbsGyujJQgefMHk2RC7fCMaSExUAjRPfQRjiDZ 7UtM0UDDbcnt3gDrhjgUpkbd2hqaofyU= X-Gm-Gg: Acq92OGqTsDondjFCseCXY+bbLtY28AQgZUYUqx+mScENmSwXVQmOb6B506qPEj3V6/ x1EEk68xfpm07lGm7EUaAimsG+HMeaDNfQIB0S8ubI7cx5SqTbD/AwjwKohhPQncPnZDRG9es+0 lIO3ED4QMeEE0Lk9WbGF/G2ouSFK5B0M3Qz6nTHqfXSVOSEzNsxKeq7tSD6VsXlTm5Idc3KXK0D w8T0Z/b0Wx17gUff8G2bRO5wRzO466YXV5csawQYwALA1Elvt6aoIYPWTRYhzPxYXkG2HsfJ6nJ gzvVlGYi6Tdu8kfD7Pc= X-Received: by 2002:a05:7022:4187:b0:134:7497:2148 with SMTP id a92af1059eb24-1350552c4fbmr3466730c88.28.1778897736728; Fri, 15 May 2026 19:15:36 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Isaac Morland Date: Fri, 15 May 2026 22:15:25 -0400 X-Gm-Features: AVHnY4J9gJVX7iTF8SmosU8Kn2SypxBTGJ1V9OoLMdq2EQ9_Gqiosc8icWIsQKA Message-ID: Subject: Re: Suggestion for Easier Cross-Database Query Handling in PostgreSQL To: Shivam Pandey Cc: pgsql-general@postgresql.org Content-Type: multipart/alternative; boundary="000000000000b0851e0651e5e728" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000b0851e0651e5e728 Content-Type: text/plain; charset="UTF-8" On Fri, 15 May 2026 at 18:06, Shivam Pandey wrote: > Hello PostgreSQL Team, > > I would like to share feedback from a developer perspective regarding > cross-database querying in PostgreSQL. > > One feature that many developers appreciate in MySQL is the ability to > directly query and join tables across multiple databases within the same > server instance. This approach becomes very useful in real-world situations > where applications need to access shared or distributed data quickly and > efficiently. > What MySQL calls databases PostgreSQL calls schemas, and PostgreSQL certainly has the ability to query and join tables across schemas. What MySQL might call an instance (a collection of MySQL databases) PostgreSQL calls a database (a collection of PostgreSQL schemas). A single PostgreSQL instance has the ability to host multiple databases (albeit sharing a single set of roles and role relationships). Can MySQL query and join across multiple instances? --000000000000b0851e0651e5e728 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Fri, 15 May 2026 at 18:06, Shivam Pand= ey <shivampandey91199@gma= il.com> wrote:
He= llo PostgreSQL Team,

I would l= ike to share feedback from a developer perspective regarding cross-database= querying in PostgreSQL.

One feature that many developers appreciate in MySQL is the ability to dir= ectly query and join tables across multiple databases within the same serve= r instance. This approach becomes very useful in real-world situations wher= e applications need to access shared or distributed data quickly and effici= ently.

What MySQL calls databas= es PostgreSQL calls schemas, and PostgreSQL certainly has the ability to qu= ery and join tables across schemas.

What MySQL=C2= =A0might call an instance (a collection of MySQL databases) PostgreSQL call= s a database (a collection of PostgreSQL schemas). A single PostgreSQL inst= ance has the ability to host multiple databases (albeit sharing a single se= t of roles and role relationships). Can MySQL query and join across multipl= e instances?
--000000000000b0851e0651e5e728--