Re: PGACCESS Error Relative Path @ export table - Mailing list pgsql-interfaces

From John L. Turner
Subject Re: PGACCESS Error Relative Path @ export table
Date
Msg-id 200207311727.37366.jlt@wvinter.net
Whole thread Raw
In response to Re: PGACCESS Error Relative Path @ export table  ("C. Maj" <cmaj@freedomcorpse.info>)
List pgsql-interfaces
C. Maj, wanted me to know...
> On Wed, 31 Jul 2002, John L. Turner waxed:
>
> <snip>
>
> > > > P.S. Why didn't the original message just say permissions not set for
> > > > X user ?
> > >
> > > I just sent a patch in, so that it gives a decent error message. Not
> > > sure if it will get applied or not...
>
> No, I just put some stuff in CVS to allow for import/export a la the
> psql \copy command, which is really COPY FROM stdin/stdout
> It's at pgaccess.org
>
> > Would like to see a simular corrected message when trying to Create a NEW
> > database with pgaccess:
> >
> > "Tcl error executing pg_exec create database mytestdb
> >
> > is not a valid postgresq connection"
> >
> > That type of message is not too helpful to newbies like me.
> >
> > Best regards for quick replies!
> > John Turner
>
> I didn't know you could make new databases with pgaccess.  Huh.  I tried
> it and it seems to work, but my pg_hba.conf is not permissive enough to
> let me connect to the new database.  Perhaps that is your problem?  Are
> you connecting as a user who has privilege enough to create databases?
>
> --Chris

Mine looks like this...

pg_hba.conf
# TYPE     DATABASE    IP_ADDRESS    MASK               AUTH_TYPE  AUTH_ARGUMENT

local      all                                          trust
host       all         127.0.0.1     255.255.255.255    trust
_________________________

I did not MAKE a new database in pgaccess.
I was able to ONLY add to an existing one,
created by user postgres as follows:
postgres@X:~>psql mytestdb <  /usr/share/doc/packages/postgresql-tk/formdemo.sql

Question:
What user were you when you created a NEW pgaccess database ?
You maybe on to something here.


--
John


pgsql-interfaces by date:

Previous
From: "C. Maj"
Date:
Subject: Re: PGACCESS Error Relative Path @ export table
Next
From: "John L. Turner"
Date:
Subject: Re: PGACCESS Error Relative Path @ export table