Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UQ0BK-0002jk-Ar for pgsql-bugs@arkaria.postgresql.org; Wed, 10 Apr 2013 18:55:42 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.72) (envelope-from ) id 1UQ0BJ-00011d-Qx for pgsql-bugs@arkaria.postgresql.org; Wed, 10 Apr 2013 18:55:41 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UPzKm-0005V1-Oe for pgsql-bugs@postgresql.org; Wed, 10 Apr 2013 18:01:25 +0000 Received: from nm38-vm7.bullet.mail.bf1.yahoo.com ([72.30.239.23]) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1UPzKh-0002o3-Eb for pgsql-bugs@postgresql.org; Wed, 10 Apr 2013 18:01:24 +0000 Received: from [98.139.215.143] by nm38.bullet.mail.bf1.yahoo.com with NNFMP; 10 Apr 2013 18:01:17 -0000 Received: from [98.139.212.212] by tm14.bullet.mail.bf1.yahoo.com with NNFMP; 10 Apr 2013 18:01:17 -0000 Received: from [127.0.0.1] by omp1021.mail.bf1.yahoo.com with NNFMP; 10 Apr 2013 18:01:17 -0000 X-Yahoo-Newman-Property: ymail-3 X-Yahoo-Newman-Id: 553278.30709.bm@omp1021.mail.bf1.yahoo.com Received: (qmail 6391 invoked by uid 60001); 10 Apr 2013 18:01:17 -0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1365616877; bh=pNP9LT2/7wohkdrYBroj8IiZ/OAcGaCmq+kMw1m16wY=; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=kkPDEtegHJAan1OtBMJf0g9rBkg03h1kDMKR6KKvfPLXPXEHAS0W196JjqPf5yQTiQBAZqwYtSeF8br10yfA3m+7TCg7OGhKCAdgXeidANpK8PsOBXw+y4Y4Ib4Dw4grAppYacDAT2iv4mL9Nz/ehuoK3Y6xiGqQgo7Nv8vM8I4= DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Rocket-MIMEInfo:X-Mailer:References:Message-ID:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type; b=XGoIczn8N4qTo/ot81778Y7b5Bi15TAgY15Lg/0xOHuB5uAzsNT8r/K027hxCY+QQ4k4hUWJsIIVBMhLv1ygA/kZTbM9FuK6AmEggFBBTOLx1zfxjCkNfvLWNVIitOnRWIcLSQfH8YrxYn1u+emMIP71iUMYjhbYkMMyCERxTQw=; X-YMail-OSG: CYk5vEkVM1noHsN.M_NxiB1N36b3nHn8dfXQm0ZB5Z9VmG6 cqVa6r_F19rXNVzJ9OPb8 Received: from [70.211.74.228] by web140203.mail.bf1.yahoo.com via HTTP; Wed, 10 Apr 2013 11:01:16 PDT X-Rocket-MIMEInfo: 002.001, WW91IG1lYW4gYnkgcnVubmluZyBjdXJyZW50X3NjaGVtYXModHJ1ZSkgb24gdGhhdCBzZXNzaW9uPwoKClNvIGZhciBJIGhhdmUgcmVtYWRlIHRoZSBoc3RvcmUgZnVuY3Rpb25zIGludG8gdGhpcyBhbmQgaXQgc2VlbXMgdG8gYmUgd29ya2luZyBmb3Igbm93OiAoQnV0IHRoaXMgaGFwcGVucyByYW5kb21seSBhZnRlciB0aW1lIHNvIGl0IG1pZ2h0IHRha2UgYSBkYXkgb3IgMiB0byBiZSBzdXJlIHRoaXMgYWRkcmVzc2VzIHRoZSBpc3N1ZSkKCkNSRUFURSBPUiBSRVBMQUNFIEZVTkNUSU9OIGFjY291bnRzLm0BMAEBAQE- X-Mailer: YahooMailWebService/0.8.140.532 References: Message-ID: <1365616876.67955.YahooMailNeo@web140203.mail.bf1.yahoo.com> Date: Wed, 10 Apr 2013 11:01:16 -0700 (PDT) From: E E Reply-To: E E Subject: Re: BUG #8056: postgres forgets hstore over time To: "Dickson S. Guedes" Cc: "pgsql-bugs@postgresql.org" In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="-196197905-803720689-1365616876=:67955" X-Pg-Spam-Score: -4.4 (----) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org ---196197905-803720689-1365616876=:67955 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable You mean by running current_schemas(true) on that session?=0A=0A=0ASo far I= have remade the hstore functions into this and it seems to be working for = now: (But this happens randomly after time so it might take a day or 2 to b= e sure this addresses the issue)=0A=0ACREATE OR REPLACE FUNCTION accounts.m= yhstore_merge(myh hstore, mytext text[])=0A=A0 RETURNS hstore AS=0A$BODY$BE= GIN=0ASET search_path TO public;=0ARETURN myh || hstore(mytext);=0A=0AEND;$= BODY$=0A=A0 LANGUAGE plpgsql VOLATILE=0A=A0 COST 100;=0A=0A=0A_____________= ___________________=0A From: Dickson S. Guedes =0ATo:= knowzerox@yahoo.com =0ACc: pgsql-bugs@postgresql.org =0ASent: Wednesday, A= pril 10, 2013 7:19 AM=0ASubject: Re: [BUGS] BUG #8056: postgres forgets hst= ore over time=0A =0A2013/4/9=A0 :=0A> The following bu= g has been logged on the website:=0A>=0A> Bug reference:=A0 =A0 =A0 8056=0A= > Logged by:=A0 =A0 =A0 =A0 =A0 Eugene=0A> Email address:=A0 =A0 =A0 knowze= rox@yahoo.com=0A> PostgreSQL version: 9.2.1=0A=0APlease update your Postgre= s to 9.2.4.=0A=0A> I have hstore installed on my server and it works fine. = But sometimes=0A> postgres would give me errors such as:=0A>=0A> type "hsto= re" does not exist=0A=0ADid you check search_path? Compare search_path betw= een sessions that=0Aare getting error and see if hstore type/functions are = reached through=0Ait.=0A=0A[]s=0A-- =0ADickson S. Guedes=0Amail/xmpp: guede= s@guedesoft.net - skype: guediz=0Ahttp://github.com/guedes - http://guedeso= ft.net=0Ahttp://www.postgresql.org.br ---196197905-803720689-1365616876=:67955 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
You mean by runn= ing current_schemas(true) on that session?

<= div style=3D"color: rgb(0, 0, 0); font-size: 16px; font-family: 'times new = roman', 'new york', times, serif; background-color: transparent; font-style= : normal;">So far I have remade the hstore functions into this and it seems= to be working for now: (But this happens randomly after time so it might t= ake a day or 2 to be sure this addresses the issue)


From: Dickson S. Guedes <listas@gue= desoft.net>
To: kno= wzerox@yahoo.com
Cc: p= gsql-bugs@postgresql.org
Sent: Wednesday, April 10, 2013 7:19 AM
Subject: Re: [BUGS] BUG #8056: postgres forgets hstor= e over time

=0A2013/4/9  <knowzerox@yahoo= .com>:
> The following bug has been logged on the website:
= >
> Bug reference:      8056
> Logged by:&nbs= p;         Eugene
> Email address:    &= nbsp; knowzerox@yahoo.com
> PostgreSQL version: 9.2.1

P= lease update your Postgres to 9.2.4.

> I have hstore installed on= my server and it works fine. But sometimes
> postgres would give me = errors such as:
>
> type "hstore" does not exist

Did you= check search_path? Compare search_path between sessions that
are gettin= g error and see if hstore type/functions are reached through
it.

= []s
--
Dickson S. Guedes
mail/xmpp: guedes@guedesoft.net - skype: gue= diz
http://github.com/guedes - http://guedesoft.net
http://www.postgr= esql.org.br


---196197905-803720689-1365616876=:67955--