pg.ddx.io  pgsql-bugs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: knowzerox@yahoo.com
To: pgsql-bugs@postgresql.org
Subject: BUG #8056: postgres forgets hstore over time
Date: Wed, 10 Apr 2013 02:02:08 +0000
Message-ID: <E1UPkMS-0008N4-Pr@wrigleys.postgresql.org> (raw)
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-bugs>

The following bug has been logged on the website:

Bug reference:      8056
Logged by:          Eugene
Email address:      knowzerox@yahoo.com
PostgreSQL version: 9.2.1
Operating system:   centos 6 64bit
Description:        

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

or telling me || operator is invalid or not recognizing the hstore
functions.

I am using DBD-Pg in Perl when I get these errors in my error log when
running my website. I am unable to replicate these issues when running a
perl script or anything.


I think this issue is cache related or something because if I have:

hstore(?) giving me an error and replace it with public.hstore(?) it starts
working for a while then stops working and forgets hstore.

To note, this is limited to that single instance. If I am getting the hstore
errors and I test manually at the same time via both Perl or pgadmin, I
don't get any errors. This makes me think that this is limited to that
instance since the website is dealing with persistent connections due to
FCGI.

So I am guessing that if the connection runs for too long, it forgets hstore
datatype, hstore operators and hstore functions over time.



-- 
Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-bugs



view thread (5+ messages)  latest in thread

Message-ID: <E1UPkMS-0008N4-Pr@wrigleys.postgresql.org>
Permalink:  ../E1UPkMS-0008N4-Pr@wrigleys.postgresql.org/
Also on:    postgresql.org/message-id/E1UPkMS-0008N4-Pr@wrigleys.postgresql.org

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-bugs@postgresql.org
  Cc: knowzerox@yahoo.com
  Subject: Re: BUG #8056: postgres forgets hstore over time
  In-Reply-To: <E1UPkMS-0008N4-Pr@wrigleys.postgresql.org>
  References: <E1UPkMS-0008N4-Pr@wrigleys.postgresql.org>

* 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