=?ISO-8859-1?Q?Jorge_Ar=E9valo?= <jorge.arevalo@deimos-space.com> writes:
> Well, the query works if executed in psql client. Seems to be a Python
> problem. I'll execute the rest of the loop queries in the client, just
> in case.
> But in case is a Python problem, why does it affect the postgres
> process, causing a crash?
Is the query parameterized when issued from Python? If so it might work
differently.
regards, tom lane