pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: gzh <gzhcoder@126.com>
To: Adrian Klaver <adrian.klaver@aklaver.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-general@lists.postgresql.org
Subject: Re:Re:Re: Different execution plan between PostgreSQL 8.2 and 12.5
Date: Fri, 19 Aug 2022 15:14:43 +0800 (CST)
Message-ID: <5d709655.3f7f.182b4f4451e.Coremail.gzhcoder@126.com> (raw)
In-Reply-To: <1e752bbc.16d3.182b4694559.Coremail.gzhcoder@126.com>
References: <6614e60.204d.182aee5aff0.Coremail.gzhcoder@126.com>
	<2228588.1660793542@sss.pgh.pa.us>
	<7ae71978.5e6a.182b05c4ab7.Coremail.gzhcoder@126.com>
	<7e7fd639-96e8-0d93-09cf-6d8e8d623950@aklaver.com>
	<1e752bbc.16d3.182b4694559.Coremail.gzhcoder@126.com>

Dear Adrian,
Sorry, there is an error in the email just replied, the version of PostgreSQL is wrong.
PostgreSQL 8.4 → PostgreSQL 8.2
















At 2022-08-19 12:42:54, "gzh" <gzhcoder@126.com> wrote:

Dear Adrian,

I appreciate your reply. Your reply gave me a new idea, 

it should not be the problem that the lower() function causes the unique index to fail. 

I checked the postgresql.conf file and found that shared_buffers, work_mem and maintenance_work_mem are default value, 

but in the postgresql.conf file of PostgreSQL 8.4, the value of these parameters are very large. 

When I changed the value of these parameters to a larger value, the problem solved.

view thread (35+ messages)  latest in thread

Message-ID: <5d709655.3f7f.182b4f4451e.Coremail.gzhcoder@126.com>
Permalink:  ../5d709655.3f7f.182b4f4451e.Coremail.gzhcoder@126.com/
Also on:    postgresql.org/message-id/5d709655.3f7f.182b4f4451e.Coremail.gzhcoder@126.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: gzhcoder@126.com, adrian.klaver@aklaver.com, tgl@sss.pgh.pa.us
  Subject: Re: Different execution plan between PostgreSQL 8.2 and 12.5
  In-Reply-To: <5d709655.3f7f.182b4f4451e.Coremail.gzhcoder@126.com>
  References: <6614e60.204d.182aee5aff0.Coremail.gzhcoder@126.com> <2228588.1660793542@sss.pgh.pa.us> <7ae71978.5e6a.182b05c4ab7.Coremail.gzhcoder@126.com> <7e7fd639-96e8-0d93-09cf-6d8e8d623950@aklaver.com> <1e752bbc.16d3.182b4694559.Coremail.gzhcoder@126.com> <5d709655.3f7f.182b4f4451e.Coremail.gzhcoder@126.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox