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.94.2) (envelope-from ) id 1ugkJM-006viZ-LS for pgsql-general@arkaria.postgresql.org; Tue, 29 Jul 2025 13:24:09 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.94.2) (envelope-from ) id 1ugkJL-001NQq-Ie for pgsql-general@arkaria.postgresql.org; Tue, 29 Jul 2025 13:24:07 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1ugkJL-001NQi-6X for pgsql-general@lists.postgresql.org; Tue, 29 Jul 2025 13:24:07 +0000 Received: from mail-ej1-x62a.google.com ([2a00:1450:4864:20::62a]) by makus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1ugkJJ-001Ny4-1q for pgsql-general@lists.postgresql.org; Tue, 29 Jul 2025 13:24:06 +0000 Received: by mail-ej1-x62a.google.com with SMTP id a640c23a62f3a-ae3cd8fdd77so1167545866b.1 for ; Tue, 29 Jul 2025 06:24:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cybertec.at; s=google; t=1753795444; x=1754400244; darn=lists.postgresql.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=0ELetZjnQ211uGhCHJQLrvuhu683PxpqncwDB4821UU=; b=YCwH61dc15jUxps7tm24KsqRoeRsU/v0B59dx3Nt+T6LCpixX5IrPHILFahOswnoQv GXTPAaWls5SmfzSCDzPHhBvI2KEZ6e8CsBuJ590t09pkcFDHIcRFrkoaHs5uawhQj1Tg zu0WUKYtreAD7UCxbBlSn2ewawoqVdM4snQP2R4+DD8ZAhFcwjGV020Cn54+F7/Z+u2y j0PLczQrjsmAHtC4us5XsvKldpE25fml8dxVZvDriz4YASNbXmbcWqSxrTYT7Db88yqJ 8yUoAvdB8bsxchwEG6qBumeeMIzntuI3Ikn0whHm0PNN/CSI7kejWqRECV4ubR9SmK5g MFqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1753795444; x=1754400244; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=0ELetZjnQ211uGhCHJQLrvuhu683PxpqncwDB4821UU=; b=KhQgITwDfGKZ9PHo/Xr/2QhIwMl8CTuaP22e4mKdl8YfLUtIP5/BnMs324vPwWOvTn sEwGSWdg7hljparRn/Y/4Zclwtt3DDssumLy9sK22FRHywwJO8OCv47AfU/vqHAwOHcQ 5udpjb7f/iZ/1hA7Z2bQcKR6TMhmzpgKo3Cvij91XroYJgEPrfsQI2PH+HL7wX4tmudf /mIARMg7tuWLc0s4dCYVv9/rKeVr3XFxxyFv3UedytJjTh/4rHb5vW3xq50e1/A0wjFl /hQ90CEl04p+urdUhunUi8f7wcPliHuxGoqEOmwaPnjNjbYmLWvLloiQtecxSRFaTeTU AJbg== X-Forwarded-Encrypted: i=1; AJvYcCVNRUn2AYIL79XyOHpjGAlCYPBnNRBGgIHtcqLdYR3N5MCVXibcE88U8juPBUDBb82DNM37SjFusI1K3Rbx@lists.postgresql.org X-Gm-Message-State: AOJu0YziDg1I7kxGIvgZhVW+H8+9tOmA/LkhmTr5m6o8SLdGvo/qGVd/ Lc/ToxKiLpLpEQ/johNXH9rEr1OD8hG76+6S4XbyJCO01KtERUPttnw3Zld4p9TlVcDupaJjqdk lzmrN X-Gm-Gg: ASbGncuTxdEU0D8XRlqkGHVv/lvb5uxHpLB0RD7LUPvb+rBEj2v1eGBWJ40/mm6G+cQ awG20ghG1xzkOdwyAhwkOAyDA2oHbyB/Mee+/+DxkieAbG8RphKlh636vZwQhH6tah5K6cAUilA bQR6DK33bW9J+emQpTnskWIpirrCq2zhyvIdns2RZ1dJ/G2uF0dxNLDCRhoRz2pt7uq529Cq9/O qm7/Gbk6tA5hsMa+Hif8W+PFj0k0mg7jsqltAAaBHND8ZPTfKTUwt7WMhMqeufFsvJljYgRtRNP CfRtLh0BcxeI8fVV+olKrX4UkPiFegrv1+KfeJO7539/lCgChIoJY0WNIvuOKh+TkYoNuse8hq8 8beglx63D+yCVRvf7o3aa7BIJPBKuFONFY62bRAWlg+v2+Wfav1pL X-Google-Smtp-Source: AGHT+IF13wBYv5YEvxd5cIzk+9di02m5Bo/B/2KXwh5QMHy/qsbayujcRo36gDMIwhARdXtNDb7CAw== X-Received: by 2002:a17:906:f9da:b0:af8:f469:7a7f with SMTP id a640c23a62f3a-af8f4698086mr80296366b.58.1753795443837; Tue, 29 Jul 2025 06:24:03 -0700 (PDT) Received: from laurenz.albe-K4N0CV00F97414D ([2001:871:260:9b8a:5191:4127:e9f1:710b]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-af6358d1a85sm587254066b.60.2025.07.29.06.24.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 29 Jul 2025 06:24:03 -0700 (PDT) Message-ID: Subject: Re: Get info about the index From: Laurenz Albe To: Igor Korot Cc: David Barbour , Jon Zeppieri , Christophe Pettus , Adrian Klaver , "pgsql-generallists.postgresql.org" Date: Tue, 29 Jul 2025 15:24:02 +0200 In-Reply-To: References: <090d8588-e74e-4436-8f69-05ce8624379b@aklaver.com> <0BC8BEBF-3B1F-4E69-A1B9-CCCDF9617168@thebuild.com> <7281c379994ffc70cebb68423f5b8ba339d0d75f.camel@cybertec.at> <2fad4427bff83bc73f9b4215e284a76343f046f2.camel@cybertec.at> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.56.2 (3.56.2-1.fc42) MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Tue, 2025-07-29 at 07:18 -0500, Igor Korot wrote: > If I have a database for some financial data for the year 2024 in the > mydb_2024 and I have current year financial data in the mydb_2025 how > can I compare the data? You connect to both and query them both. Alternatively, you use postgres_fdw to access the other database. Even better, put both tables in the same database, perhaps in different sch= emas. Yours, Laurenz Albe