Re: Proper syntax to update an hstore key-value pair
| От | Tom Lane |
|---|---|
| Тема | Re: Proper syntax to update an hstore key-value pair |
| Дата | |
| Msg-id | 28358.1470242851@sss.pgh.pa.us обсуждение |
| Ответ на | Re: Proper syntax to update an hstore key-value pair (John Scalia <jayknowsunix@gmail.com>) |
| Ответы |
Re: Proper syntax to update an hstore key-value pair
|
| Список | pgsql-admin |
John Scalia <jayknowsunix@gmail.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
В списке pgsql-admin по дате отправления: