Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bV2CK-0000lm-SY for pgsql-admin@arkaria.postgresql.org; Wed, 03 Aug 2016 19:51:24 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bV2CK-0001bE-Ag for pgsql-admin@arkaria.postgresql.org; Wed, 03 Aug 2016 19:51:24 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bV2Ac-0007s7-TD for pgsql-admin@postgresql.org; Wed, 03 Aug 2016 19:49:39 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bV2Aa-0000Xi-Lc for pgsql-admin@postgresql.org; Wed, 03 Aug 2016 19:49:37 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id u73JnZBx016364; Wed, 3 Aug 2016 15:49:35 -0400 From: Tom Lane To: John Scalia cc: "pgsql-admin@postgresql.org" Subject: Re: Proper syntax to update an hstore key-value pair In-reply-to: References: <22859.1470234864@sss.pgh.pa.us> <28358.1470242851@sss.pgh.pa.us> <32215.1470245101@sss.pgh.pa.us> Comments: In-reply-to John Scalia message dated "Wed, 03 Aug 2016 14:29:57 -0500" Date: Wed, 03 Aug 2016 15:49:35 -0400 Message-ID: <16363.1470253775@sss.pgh.pa.us> X-Pg-Spam-Score: -3.1 (---) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-admin Precedence: bulk Sender: pgsql-admin-owner@postgresql.org John Scalia writes: > Well, I discovered that I had different versions of hstore across several > databases. Some were 1.1 and others were 1.3. On the 1.3 hstore versions, > the \do *.|| produces a public hstore - hstore operator, while the 1.1 > shows the same as public.hstore. Maybe I just wasn't casting this far > enough. On both versions that operator shows as being in the public schema. > My search path does include that. Hmm. AFAICS, every extant version of hstore ought to provide operator ||(hstore,hstore) and no other operator named ||. You might try comparing the results of "\dx+ hstore" across your installations. regards, tom lane -- Sent via pgsql-admin mailing list (pgsql-admin@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-admin