Академический Документы
Профессиональный Документы
Культура Документы
$ /user/local/pgsql/bin/postmaster
/tmp/postgreslog 2>postgreslog &
Configuring Postgres ODBC driver
• Set up the files “etc/odbcinst.ini“‘ and “
etc/odbc.ini“
Creating tables in Postgres
• Connect to Postgres server using
$ isql psql
• Insert records
SQL>INSERT INTO t1 (f1, f2) values (100, ‘rama’);
SQL>INSERT INTO t2 (f1, f2) values (200, 2000);
SQL>INSERT INTO t3 (f1, f2) values (300, 3000);
SQL>quit;
Cache the tables from Postgres
• Start csqlserver
$ csqlserver
• Cache some entire tables from Postgres using
$ cachetable -t t1
$ cachetable -t t2
• Cache specific records or fields using
$cachetable -t t1 -c “f1=100?
$ cachetable -t t2 -f “f2?