g.table.pg(1)	       Grass User's Manual	    g.table.pg(1)



NNAAMMEE
       _g_._t_a_b_l_e_._p_g  -  Generate	a  list of database tables in the
       currently selected database. (GRASS-RDBMS  General  Inter-
       face Program)

SSYYNNOOPPSSIISS
       gg..ttaabbllee..ppgg

       gg..ttaabbllee..ppgg hheellpp

DDEESSCCRRIIPPTTIIOONN
       _g_._t_a_b_l_e_._p_g is used to generate a list of the tables in the
       currently selected SQL database.  The  currently  selected
       database  is  identified by the GRASS environment variable
       $PG_DBASE which is set using the  _g_._s_e_l_e_c_t_._p_g  GRASS-RDBMS
       interface  tool.  If  this environment variable is not set
       the program terminates with a message to the user.  Other-
       wise,  the  names  of the tables in the currently selected
       database are displayed on the screen in three columns. The
       names  of the tables in the current database are needed to
       construct query criteria for use  in  many  of  the  other
       tools. This command can be run at any time and is provided
       for reference purposes, to be used while performing GRASS-
       RDBMS applications.

CCOOMMMMAANNDD LLIINNEE OOPPTTIIOONNSS
       None

       EEXXAAMMPPLLEE

       _g_._t_a_b_l_e_._p_g

	The following tables are available in database: nri

	      hydros	       landclass	 locks
	      mlra	       nrifldvals	 point
	      practices        priors		 psu
	      psutrends        recorders	 state
	      stdrpts	       streams		 treatments
	      trends82	       trends87 	 udrpt
	      udsubj	       utm		 valuelist
	      water	       windbreaks


BBUUGGSS
       None known.

NNOOTTEE
       This program requires the Postgres database software.

SSEEEE AALLSSOO
       _g_._s_e_l_e_c_t_._p_g_,
       _d_._r_a_s_t_._p_g_,
       _d_._v_e_c_t_._p_g_,
       _d_._w_h_a_t_._s_._p_g_,
       _r_._r_e_c_l_a_s_s_._p_g_,
       _v_._r_e_c_l_a_s_s_._p_g

AAUUTTHHOORR
       Original  Informix  SQL-tools: James A. Farley, Wang Song,
       and W. Fredrick
       Limp University of Arkansas, CAST

       Postgres  modifications:  Janne	 Soimasuo,   Faculty   of
       Forestry, University
       of Joensuu, Finland.

       Updated to GRASS 5 by Alex Shevlakov (sixote@yahoo.com)



GRASS 5.0					    g.table.pg(1)
