Re: Newbie-question

From: Victor Spång Arthursson <victor(at)tosti(dot)dk>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Newbie-question
Date: 2003-10-28 14:10:44
Message-ID: 8532DEE6-0950-11D8-A360-00039344A3C4@tosti.dk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruno Wolff III 2003-10-28 14:11:20 Re: Newbie-question
Previous Message Ron Johnson 2003-10-28 13:49:37 Re: Versioning control in PostgreSQL?