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 1szDrJ-004uHs-At for pgsql-general@arkaria.postgresql.org; Fri, 11 Oct 2024 11:31:01 +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 1szDqH-002Fxn-L6 for pgsql-general@arkaria.postgresql.org; Fri, 11 Oct 2024 11:29:58 +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.94.2) (envelope-from ) id 1szDqH-002Fxf-9l for pgsql-general@lists.postgresql.org; Fri, 11 Oct 2024 11:29:57 +0000 Received: from mail-lf1-x133.google.com ([2a00:1450:4864:20::133]) by magus.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.94.2) (envelope-from ) id 1szDqB-000VT9-Ve for pgsql-general@lists.postgresql.org; Fri, 11 Oct 2024 11:29:57 +0000 Received: by mail-lf1-x133.google.com with SMTP id 2adb3069b0e04-539d6935b93so1079457e87.2 for ; Fri, 11 Oct 2024 04:29:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1728646192; x=1729250992; darn=lists.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=fLZuuXDanUgyS/G267nSWqMFxUKUj2WpVcREUT8yDdc=; b=av1v97tC/1DiDcxA75uNhOmbIq8eOPLcsYRbjow8t9e3fx0XPdztXI4bpJUWxQeBCx AbzKNPPco7R409iETxfa8Wc+e2U5dCx70wqN2Wc8iRC/Mk9XG7Af/HarFIlstposerMP 6o//bVb70FcOLpjaKjk9SKUMcfri4SPWrP8Ik8tWmU7FRJmDHASL23EUrE0R1SLjJ9Qh hF4dnOJaGTtv+I4eghU8YpoO9OlB4Ji9iYoRVwHirqX0zpLiuXB4hw3tKtxP1Nn79r7r M/KzLiTEh52j1d4Qlt/QBp9uKsunaNjLDEdgdmNRF2eKiFXvcapF+AJHj4HKxNkc9+1J oSSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728646192; x=1729250992; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=fLZuuXDanUgyS/G267nSWqMFxUKUj2WpVcREUT8yDdc=; b=pm0bVqjbYJnSqjpREbXgnSg5xsmN/gWKHTfTt78QMweksp36n2wHg5qRusDFIHCLgd yKQQG9bNulc5QZz4W0JYWhnnfu4G7Kozv1SNzueDrQOVpYXSD4DlAFkW70yXxNJEtnW6 /HjBHYARm8ThmxNOiZiz+C0m1rZ3q8BD6A79HNPB5GIrFFqWx1dbjbtj44RYeQGN2K8n 9GszojdRJKV8Xnu+JfWiAtY8GFIYXaB2MvpZFh6jvl+MlNR99lRQtZGHtwXQjNO5wDkg 9xWj9QLQDgKc4dslUMYD3JaOQU76xbXt+SAMyPA9c4hIf6oH5sB6gaHYn62z9EJUAYTz /JnQ== X-Forwarded-Encrypted: i=1; AJvYcCUHKRpEnh/rbhKBPIwcRM8vDP19Gez13NVv5yGEKuLmpl3nq6C7WAyeTfVPPvMGd3Ck//SDWI3llTpcxdHn@lists.postgresql.org X-Gm-Message-State: AOJu0Yx4J7a/yKgdlUSsjZ3eQDX7ghzDo3OdBZMKcCOS2ur/v5jIGbtd u9H5JDSZlxT+Tc4ty2g3FD7E5kOoSRpUlx4Fl1hgykBhD2jn+mHtqInQh74ZbTNhuT9B4p2H6Fu naBNHSMD6rf8a3OtSIzBSRDYUJjQ= X-Google-Smtp-Source: AGHT+IHo6z0gMGbRD8a2I4xIirTZkv2DlZbX7pG6m4atA4CIZviVSsU1AadhnWJbZiHnV2MfVrvXvzL41hqVf9OAfVE= X-Received: by 2002:a05:6512:3b90:b0:535:69ee:9717 with SMTP id 2adb3069b0e04-539da3b44fbmr1257388e87.3.1728646191545; Fri, 11 Oct 2024 04:29:51 -0700 (PDT) MIME-Version: 1.0 References: <88e5c335-c70e-4973-9b71-6c12e251e5b7@ewie.name> In-Reply-To: From: Greg Sabino Mullane Date: Fri, 11 Oct 2024 07:29:15 -0400 Message-ID: Subject: Re: Question on indexes To: sud Cc: Erik Wienhold , xof@thebuild.com, pgsql-general Content-Type: multipart/alternative; boundary="000000000000308516062431ce2e" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk --000000000000308516062431ce2e Content-Type: text/plain; charset="UTF-8" > > if we have any column with large string/text values and we want it to be > indexed then there is no choice but to go for a hash index. Please correct > me if I'm wrong. > There are other strategies / solutions, but we would need to learn more about your use case. Cheers, Greg --000000000000308516062431ce2e Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
if we have a= ny column with large string/text values and we want it to be indexed then t= here is no choice but to go for a hash index. Please correct me if I'm = wrong.

There are other stra= tegies / solutions, but we would need to learn more about your use case.

Cheers,
Greg
=C2=A0
<= /div> --000000000000308516062431ce2e--