Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m3MRc-0007yS-5D for pgsql-admin@arkaria.postgresql.org; Tue, 13 Jul 2021 17:43:44 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1m3MRb-0003pH-4T for pgsql-admin@arkaria.postgresql.org; Tue, 13 Jul 2021 17:43:43 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m3MRa-0003p9-Rs for pgsql-admin@lists.postgresql.org; Tue, 13 Jul 2021 17:43:42 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m3MRU-0000lz-MZ for pgsql-admin@lists.postgresql.org; Tue, 13 Jul 2021 17:43:42 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 16DHhWWB3278465; Tue, 13 Jul 2021 13:43:32 -0400 From: Tom Lane To: Ilmir Mulyukov cc: Laurenz Albe , pgsql-admin@lists.postgresql.org Subject: Re: Lc_collate & lc_type? whitespace and nbsp unique index... In-reply-to: References: <1897c8dce7fd6974116c935a50270b33fac09461.camel@cybertec.at> Comments: In-reply-to Ilmir Mulyukov message dated "Tue, 13 Jul 2021 21:57:58 +0600" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <3278463.1626198212.1@sss.pgh.pa.us> Date: Tue, 13 Jul 2021 13:43:32 -0400 Message-ID: <3278464.1626198212@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Ilmir Mulyukov writes: > Laurenz, there is no index for this table. > ka_im_pg=# \d _inforg31440 > Table "public._inforg31440" > Column | Type | Collation | Nullable | Default > ---------------+---------------+-----------+----------+--------- > _fld31441 | mvarchar(400) | | not null | > _fld31442 | mvarchar(10) | | not null | > _fld31443rref | bytea | | not null | > _fld2102 | numeric(7,0) | | not null | What in the world is type "mvarchar"? It's certainly not anything defined by core Postgres. I think you need to address this question to whoever wrote that datatype. It seems somewhat likely that this is intentional behavior for the type. regards, tom lane