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

Re: Trying to track down weird query stalls

From: Alvaro Herrera <alvherre(at)commandprompt(dot)com>
To: dan(at)sidhe(dot)org
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, Scott Marlowe <scott(dot)marlowe(at)gmail(dot)com>, pgsql-performance(at)postgresql(dot)org
Subject: Re: Trying to track down weird query stalls
Date: 2009-03-30 21:22:39
Message-ID: 20090330212239.GH23023@alvh.no-ip.org (view raw or flat)
Thread:
Lists: pgsql-performance
dan(at)sidhe(dot)org escribió:

> > So what's the "?" in the query you pasted earlier?
> 
> The first ? (for architecture) is 1, the second ? (for branchid) is 0.
> They both should get passed to Postgres as $1 and $2, respectively,
> assuming DBD::Pg does its substitution right. (They're both supposed to go
> in as placeholders)

Right, so how about you reread what I wrote above?

Oh, hmm, so to be more clear: I don't think DBD::Pg is actually sending
EXECUTE PREPARE.  You need to do this over psql.

-- 
Alvaro Herrera                                http://www.CommandPrompt.com/
PostgreSQL Replication, Consulting, Custom Development, 24x7 support

In response to

Responses

pgsql-performance by date

Next:From: danDate: 2009-03-30 21:34:17
Subject: Re: Trying to track down weird query stalls
Previous:From: danDate: 2009-03-30 21:07:36
Subject: Re: Trying to track down weird query stalls

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