Skip site navigation (1) Skip section navigation (2)

Re: pg_standby instructions

From: Rikard Bosnjakovic <rikard(dot)bosnjakovic(at)gmail(dot)com>
To: akp geek <akpgeek(at)gmail(dot)com>
Cc: jd(at)commandprompt(dot)com, pgsql-general(at)postgresql(dot)org
Subject: Re: pg_standby instructions
Date: 2009-11-27 13:28:28
Message-ID: (view raw or whole thread)
Lists: pgsql-general
On Fri, Nov 27, 2009 at 14:19, akp geek <akpgeek(at)gmail(dot)com> wrote:

> TypeError: iteration over non-sequence

> I am not able to interpret any thing from the above message. Can you please
> give me some thoughts

I can't say anything about the application itself, but the cryptic
message means that the variable "filenames" is expected to be a
sequenced typed variable. A sequence in Python is a string, a list or
a tuple. To get the above error message requires the variable to be
something else, like an integer or something. One possible cause for
the problem is a configuration error. Perhaps a line contains a
non-string, as in foo = bar, instead of foo = "bar".

But again, I don't know about the application so I cannot give any
better guess, but the above is what the error is about.

- Rikard -

In response to

pgsql-general by date

Next:From: Shakil ShaikhDate: 2009-11-27 13:33:46
Subject: Re: Invalid redo in checkpoint record
Previous:From: akp geekDate: 2009-11-27 13:19:56
Subject: Re: pg_standby instructions

Privacy Policy | About PostgreSQL
Copyright © 1996-2015 The PostgreSQL Global Development Group