X-Original-To: pgsql-admin@postgresql.org Received: from localhost (postgresql.org [64.49.215.8]) by postgresql.org (Postfix) with ESMTP id 5504B4765D9; Thu, 15 May 2003 03:51:03 -0400 (EDT) Received: from postgresql.org ([64.49.215.8]) by localhost (postgresql.org [64.49.215.8:10024]) (amavisd-new) with ESMTP id 32646-05; Thu, 15 May 2003 03:51:01 -0400 (EDT) Received: from atlas.cc.itu.edu.tr (atlas.cc.itu.edu.tr [160.75.2.22]) by postgresql.org (Postfix) with ESMTP id 554C04765C5; Thu, 15 May 2003 03:50:53 -0400 (EDT) Received: from itu.edu.tr (olcme2.ins.itu.edu.tr [160.75.12.168]) by atlas.cc.itu.edu.tr (8.11.6/8.11.2) with ESMTP id h4F7oQx15911; Thu, 15 May 2003 10:50:26 +0300 Message-ID: <3EC34158.4000908@itu.edu.tr> Date: Thu, 15 May 2003 10:27:20 +0300 From: Himmet Karaman Organization: I.T.U. User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 X-Accept-Language: en-us, en, tr MIME-Version: 1.0 To: "Nigel J. Andrews" , pgsql-general@postgresql.org, postgreSQL Help Center Subject: Re: [GENERAL] TESTING the DATABASE References: Content-Type: multipart/alternative; boundary="------------030702010805050509060807" X-Virus-Scanned: by amavisd-new X-Archive-Number: 200305/197 X-Sequence-Number: 8759 --------------030702010805050509060807 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hi, I want to test all part of the database. If the relations work, and all of the tables are ok, and can i make queries on my database... i mean can my database do everything wright? Is there any tool or command to test it? Thanks again Nigel J. Andrews wrote: >On Thu, 15 May 2003, Himmet Karaman wrote: > > > >>Hello to all, >>Is there anyone who can explain me briefly, how can I test the database >>that I created using PostgreSQL? >>Thanks a lot for the time you spent ... >> >> > > >Well, at a basic level... > >$ psql mydbname >Welcome to psql 7.3.2, the PostgreSQL interactive terminal. > >Type: \copyright for distribution terms > \h for help with SQL commands > \? for help on internal slash commands > \g or terminate with semicolon to execute query > \q to quit > >mydbname=> create table mytable ( a integer ); >mydbname=> insert into mytable (a) values (1); >mydbname=> select * from mytable; > a >--- > 1 >(1 row) > >mydbname=>\q > > >The question is, what is it you want to test? > > > > -- ::::::::::::::::::::::::::::::::::::::::::::::::: Research Assistant Himmet KARAMAN Istanbul Technical University Geodesy and Photogrammetry Eng. Department 34469 Maslak/ISTANBUL TURKEY Tel : +90 (212) 285 67 83 Fax : +90 (212) 285 34 20 Web : http://atlas.cc.itu.edu.tr/~karamanhi ::::::::::::::::::::::::::::::::::::::::::::::::: --------------030702010805050509060807 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit Hi,
I want to test all part of the database.
If the relations work, and all of the tables are ok, and can i make queries on my database...
i mean can my database do everything wright?
Is there any tool or command to test it?
Thanks again

Nigel J. Andrews wrote:
On Thu, 15 May 2003, Himmet Karaman wrote:

  
Hello to all,
Is there anyone who can explain me briefly, how can I test the database 
that I created using PostgreSQL?
Thanks a lot for the time you spent ...
    


Well, at a basic level...

$ psql mydbname
Welcome to psql 7.3.2, the PostgreSQL interactive terminal.

Type:  \copyright for distribution terms
       \h for help with SQL commands
       \? for help on internal slash commands
       \g or terminate with semicolon to execute query
       \q to quit

mydbname=> create table mytable ( a integer );
mydbname=> insert into mytable (a) values (1);
mydbname=> select * from mytable;
 a
---
 1
(1 row)

mydbname=>\q


The question is, what is it you want to test?


  

-- 

:::::::::::::::::::::::::::::::::::::::::::::::::
  Research Assistant
  Himmet KARAMAN
  Istanbul Technical University
  Geodesy and Photogrammetry Eng. Department
  34469 Maslak/ISTANBUL TURKEY
  Tel	: +90 (212) 285 67 83
  Fax	: +90 (212) 285 34 20
  Web	: http://atlas.cc.itu.edu.tr/~karamanhi 
:::::::::::::::::::::::::::::::::::::::::::::::::

--------------030702010805050509060807--