pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kevin Grittner <Kevin.Grittner@wicourts.gov>
To: Lukasz Brodziak <lukasz.brodziak@gmail.com>
To: pgsql-admin@postgresql.org
Subject: Re: Query problem
Date: Wed, 07 Sep 2011 13:04:52 -0500
Message-ID: <4E676BF40200002500040E7B@gw.wicourts.gov> (raw)
In-Reply-To: <CAGWYGjWYbE5C4AVCTzbUCrb3Jmy+gVr1a9N9D--HCDCu-5fddA@mail.gmail.com>
References: <CAGWYGjWYbE5C4AVCTzbUCrb3Jmy+gVr1a9N9D--HCDCu-5fddA@mail.gmail.com>

Lukasz Brodziak <lukasz.brodziak@gmail.com> wrote:
 
> I have two DBs from the same user. When I run a query: SELECT
> wer_sys||'.'||wer_int||'.'||wer_wew FROM ver WHERE code = '1243'
> on a boken DB I get an error:  ERROR:  array value must start with
> "{" or dimension information but when I try to run the query on a
> "healthy" DB I don't have the error. Can anyone please guide me
> where to look for the problem.
 
The column is defined as holding an array on one database and a
scalar value on the other?  Hard to tell without seeing the table
definitions.
 
> Already tried restoring the table I run the query on from the
> non-broken DB but t didn't work.
 
Meaning what?
 
> While updating the database with our client program I get psql
> error: out of memory.
 
How do you get a psql error if you're in a client program?  Exactly
what error do you get?  Is there anything in the logs?
 
> The pg version is 8.2
 
8.2.what?
 
You should probably review this page before your next post:
 
http://wiki.postgresql.org/wiki/Guide_to_reporting_problems
 
-Kevin



view thread (5+ messages)

Message-ID: <4E676BF40200002500040E7B@gw.wicourts.gov>
Permalink:  ../4E676BF40200002500040E7B@gw.wicourts.gov/
Also on:    postgresql.org/message-id/4E676BF40200002500040E7B@gw.wicourts.gov

 · 

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-admin@postgresql.org
  Cc: Kevin.Grittner@wicourts.gov, lukasz.brodziak@gmail.com
  Subject: Re: Query problem
  In-Reply-To: <4E676BF40200002500040E7B@gw.wicourts.gov>
  References: <CAGWYGjWYbE5C4AVCTzbUCrb3Jmy+gVr1a9N9D--HCDCu-5fddA@mail.gmail.com> <4E676BF40200002500040E7B@gw.wicourts.gov>

* 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