Re: Query problem

From: "Kevin Grittner" <Kevin(dot)Grittner(at)wicourts(dot)gov>
To: "Lukasz Brodziak" <lukasz(dot)brodziak(at)gmail(dot)com>, <pgsql-admin(at)postgresql(dot)org>
Subject: Re: Query problem
Date: 2011-09-07 18:04:52
Message-ID: 4E676BF40200002500040E7B@gw.wicourts.gov
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Lukasz Brodziak <lukasz(dot)brodziak(at)gmail(dot)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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message marvin.deoliveira 2011-09-08 13:28:39 Re: corrupted rows in pg_attribute deleted
Previous Message Kevin Grittner 2011-09-07 17:40:34 Re: Is it possible to import raw data directories in a cluster (Debian)?