Re: [GENERAL] Creating a database with psql

2005-07-20 Thread imi
Hi, 1. connect template1 database with your user. 2. create database YOURDB 3. "\c YOURDB" will connect to new database 4. create table etc. linimi On 7/20/05, Josef Springer <[EMAIL PROTECTED]> wrote: > Hi, > > i want to automate the startup of my database. So i have to create first > an user

[GENERAL] Postgres' DBI(Pg) problems.

1999-01-18 Thread R\imi Lehn
Your script worked for me (I skipped everything related to forms-lib), but : - /* */ C-style comments are not allowed by perl (line #2) - you should $sth->finish() and $dbh->disconnect() at the end of your script to avoid warnings ("Database handle destroyed without explicit dis