[gnome-db] Quoting database names
- From: Murray Cumming <murrayc murrayc com>
- To: gnome-db-list gnome org
- Subject: [gnome-db] Quoting database names
- Date: Mon, 11 Sep 2006 19:22:09 +0200
I just made this change in libgda-1.2:
2006-09-11 Murray Cumming <murrayc murrayc com>
* providers/postgres/gda-postgres-provider.c:
(gda_postgres_provider_create_database,
gda_postgres_provider_create_database): When using
CREATE DATABASE or DROP DATABASE, quote the database name,
to allow, for instance, - characters. Possibly some other
characters should be escaped too, but I can not find
any description of the allowed characters in a
postgres database name.
Very possibly, the other providers should quote their
database names too.
(and a new release with that would be nice.)
But I can't find the equivalent place to make the same fix in HEAD.
--
Murray Cumming
murrayc murrayc com
www.murrayc.com
www.openismus.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]