Re: case sensitiv table and column names - Mailing list pgsql-php

From Dan Wilson
Subject Re: case sensitiv table and column names
Date
Msg-id 002701bfee99$74b529e0$a65bfea9@dwilson
Whole thread Raw
In response to case sensitiv table and column names  (Matthias Meyer <m.meyer@maxonline.at>)
List pgsql-php
Just put Kunden  in quotes:

pg_exec($db,"SELECT * FROM \"Kunden\"");

-Dan

----- Original Message -----
From: "Matthias Meyer" <m.meyer@maxonline.at>
To: <pgsql-php@postgresql.org>
Sent: Saturday, July 15, 2000 6:45 AM
Subject: case sensitiv table and column names


> Hallo Mailinglist
>
> If I use PostgreSQL from PHP3 with pg_exec($db,"SELECT * FROM
> Kunden"); I get an error like "Warning: PostgresSQL query failed: ERROR:
> kunden: Table does not exist."
> Thats right because the table called "Kunden" with an upper K.
>
> What should I do that PHP/PostgreSQL accept case sensitiv table names ?
>
> :-)Matthias


pgsql-php by date:

Previous
From: EDWARD POTTER
Date:
Subject: Re: case sensitiv table and column names
Next
From: danny
Date:
Subject: how to r/w blob field in postgres