pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: John Scalia <jayknowsunix@gmail.com>
Cc: pgsql-admin@postgresql.org <pgsql-admin@postgresql.org>
Subject: Re: Proper syntax to update an hstore key-value pair
Date: Wed, 03 Aug 2016 15:49:35 -0400
Message-ID: <16363.1470253775@sss.pgh.pa.us> (raw)
In-Reply-To: <CABzCKRCJr3FbajAafcjw=XibOFZ6PAw57YfcenC+9ypYpLezxQ@mail.gmail.com>
References: <CABzCKRBa6859u6NEcmyddc0iknoMbmMao4AAVpTUS4i464J0uA@mail.gmail.com>
	<22859.1470234864@sss.pgh.pa.us>
	<CABzCKRBdeQ-D5KQnHtu5tjMBNfhr4NMr-f3ZUQs6fpcsiGLhAA@mail.gmail.com>
	<28358.1470242851@sss.pgh.pa.us>
	<CABzCKRBgmOY8Jx6wfuxnntUvr4JZu02sJBgG9-UOLCqWV=WktQ@mail.gmail.com>
	<32215.1470245101@sss.pgh.pa.us>
	<CABzCKRCJr3FbajAafcjw=XibOFZ6PAw57YfcenC+9ypYpLezxQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-admin>

John Scalia <jayknowsunix@gmail.com> 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



view thread (13+ messages)  latest in thread

Message-ID: <16363.1470253775@sss.pgh.pa.us>
Permalink:  ../16363.1470253775@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/16363.1470253775@sss.pgh.pa.us

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-admin@postgresql.org
  Cc: tgl@sss.pgh.pa.us, jayknowsunix@gmail.com
  Subject: Re: Proper syntax to update an hstore key-value pair
  In-Reply-To: <16363.1470253775@sss.pgh.pa.us>

* 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