Skip site navigation (1) Skip section navigation (2)

Re: case sensitiv table and column names

From: EDWARD POTTER <ejpusa(at)prodigy(dot)net>
To: Matthias Meyer <m(dot)meyer(at)maxonline(dot)at>
Cc: pgsql-php(at)postgresql(dot)org
Subject: Re: case sensitiv table and column names
Date: 2000-07-15 17:45:56
Message-ID: 3970A354.16F3212A@prodigy.net (view raw or flat)
Thread:
Lists: pgsql-php
Is there any reason why u can't use kunden?

I guess since PHP is open source [and so is Postgres] u could probably hack
that code on your own to accept either upper or lower case names.

On the other hand,  maybe there is a simpler solution, but I have not yet
stumbled on it...

!ed


> 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

Attachment: ejpusa.vcf
Description: text/x-vcard (128 bytes)

In response to

pgsql-php by date

Next:From: Dan WilsonDate: 2000-07-15 20:15:38
Subject: Re: case sensitiv table and column names
Previous:From: Matthias MeyerDate: 2000-07-15 12:45:41
Subject: case sensitiv table and column names

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group