----- Mensaje original ----- > De: "Mariel Cherkassky" <mariel.cherkassky@xxxxxxxxx> > Para: "Andreas Kretschmer" <andreas@xxxxxxxxxxxxxxx> > CC: pgsql-performance@xxxxxxxxxxxxxx > Enviados: Lunes, 2 de Octubre 2017 10:25:19 > Asunto: Re: select with max functions > > Andreas I tried to rewrite it with the function rank() but I failed. The > query you wrote isnt the same as what I search. Moreover, I cant use > explain analyze because it is taking to much time to run and I'm getting > timeout.. > > 2017-10-01 21:48 GMT+03:00 Andreas Kretschmer <andreas@xxxxxxxxxxxxxxx>: Do a "set statement_timeout TO 0" prior to "explain analyze" -- Sent via pgsql-performance mailing list (pgsql-performance@xxxxxxxxxxxxxx) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance