"Carlos H. Reimer" <carlos.reimer@xxxxxxxxxxxxx> writes: > ... if you name all the table columns instead of using the * the query > runs fine, otherwise it locks. [ blink... ] You really, really, really need to provide a reproducible test case to prove that claim. > The problem only occurs if we use remote clients, if the "SELECT * from > tb_produtos where codigo=5002" is processed by a local(server) psql utility > it runs fine too. When we try to run the query in a remote client using the > windows psql it locks. That sounds like your unspecified "remote client" has got some issues, but you've not provided any details that would let anyone else figure it out. regards, tom lane ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org/