pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: jeff@pgsql.com
To: Gerald Gutierrez <gml1@coldresist.com>
Cc: pgsql-sql@postgresql.org
Subject: Re: Getting row with id=max(id)
Date: Thu, 7 Jun 2001 14:04:02 -0300 (ADT)
Message-ID: <20010607140324.R290-100000@mercury.tsunamicreek.com> (raw)
In-Reply-To: <5.1.0.14.0.20010607100000.02b8ae58@coldresist.com>

> A related question is: is there a way to time a query in psql, like the
> client of MySQL does?

use the explain commmand

explain select * from foo;


>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo@postgresql.org)
>




view thread (8+ messages)  latest in thread

Message-ID: <20010607140324.R290-100000@mercury.tsunamicreek.com>
Permalink:  ../20010607140324.R290-100000@mercury.tsunamicreek.com/
Also on:    postgresql.org/message-id/20010607140324.R290-100000@mercury.tsunamicreek.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: jeff@pgsql.com, gml1@coldresist.com
  Subject: Re: Getting row with id=max(id)
  In-Reply-To: <20010607140324.R290-100000@mercury.tsunamicreek.com>
  References: <5.1.0.14.0.20010607100000.02b8ae58@coldresist.com> <20010607140324.R290-100000@mercury.tsunamicreek.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox