Re: Newbie-question - Mailing list pgsql-general

From Victor Spång Arthursson
Subject Re: Newbie-question
Date
Msg-id 8532DEE6-0950-11D8-A360-00039344A3C4@tosti.dk
Whole thread Raw
In response to Re: Newbie-question  (Jeff <threshar@torgo.978.org>)
Responses Re: Newbie-question
List pgsql-general
2003-10-28 kl. 14.33 skrev Jeff:

> 1. in psql, \pset pager will turn paging off.
> Although, if you really want a row count, a much better way to do that
> is select count(*) from [rest of select statement]

Thanks.

I'm not new to SQL, just to postgresql, so I know about the
Count-function ;)

Reason for the question is that I want to know the number of
corresponding rows cause I'm in a developing phase and due to needs to
validate the result the number of rows are important.

>
> in psql, use \timing and it will print how long each query you type in
> took.

Perfekt!

Next question:

what is the command in postresql that matches the DESCRIBE-command in
mysql? That's, to get the fieldnames and additional info about them…

Best regards,

Victor


pgsql-general by date:

Previous
From: Ron Johnson
Date:
Subject: Re: Versioning control in PostgreSQL?
Next
From: Bruno Wolff III
Date:
Subject: Re: Newbie-question