Re: [INTERFACES] Tables acting funny with pgaccess

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: bgunter(at)alef(dot)gcsu(dot)edu (Ben Gunter)
Cc: pgsql-interfaces(at)postgreSQL(dot)org
Subject: Re: [INTERFACES] Tables acting funny with pgaccess
Date: 1999-03-01 14:40:48
Message-ID: 14012.920299248@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-interfaces

bgunter(at)alef(dot)gcsu(dot)edu (Ben Gunter) writes:
> I'm having a problem with pgaccess that's confounding me.
> If I create a table with psql, I have no problems using pgaccess for
> queries. However, if I create a table using pgaccess, things go awry.

>> PostgreSQL error message: ERROR: func_get_detail: No such attribute or function 'lastname'

> It's only if I ask for a specific
> field from a table created by pgaccess.

At a guess, pgaccess is generating the table with case of field names
preserved? Ordinarily, table and field names are implicitly downcased,
but not if you put double quotes around 'em.

My bet is that pgaccess is quoting your field names during CREATE TABLE
but not doing so during SELECT ... a bad combination.

regards, tom lane

Responses

Browse pgsql-interfaces by date

  From Date Subject
Next Message Ben Gunter 1999-03-01 15:00:54 Re: [INTERFACES] Tables acting funny with pgaccess
Previous Message Constantin Teodorescu 1999-03-01 06:19:10 Re: [INTERFACES] Tables acting funny with pgaccess