| From: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
|---|---|
| To: | John Scalia <jayknowsunix(at)gmail(dot)com> |
| Cc: | "pgsql-admin(at)postgresql(dot)org" <pgsql-admin(at)postgresql(dot)org> |
| Subject: | Re: Proper syntax to update an hstore key-value pair |
| Date: | 2016-08-03 16:47:31 |
| Message-ID: | 28358.1470242851@sss.pgh.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-admin |
John Scalia <jayknowsunix(at)gmail(dot)com> writes:
> You are correct, though, Tom, that the hstore extension is 1.1. Is there
> some other, not =>, construct I should be using?
The hstore(text,text) function replaces that.
> Curiously, I just checked
> my personal sandbox database (9.5) and the hstore there is 1.3, but like I
> said earlier the update succeeds on that one.
That's pretty hard to believe, because 9.5 disallows => as an operator
name altogether.
I still suspect that you have got a search path problem. You might
try, eg, "\do ||" in psql and see whether hstore || is listed or not.
Also check which schema \dx says the hstore extension is in in each
database.
regards, tom lane
| From | Date | Subject | |
|---|---|---|---|
| Next Message | John Scalia | 2016-08-03 17:12:48 | Re: Proper syntax to update an hstore key-value pair |
| Previous Message | John Scalia | 2016-08-03 15:19:29 | Re: Proper syntax to update an hstore key-value pair |