libgda r3100 - in branches/libgda-3-2: . providers/postgres
- From: murrayc svn gnome org
- To: svn-commits-list gnome org
- Subject: libgda r3100 - in branches/libgda-3-2: . providers/postgres
- Date: Tue, 25 Mar 2008 07:52:26 +0000 (GMT)
Author: murrayc
Date: Tue Mar 25 07:52:26 2008
New Revision: 3100
URL: http://svn.gnome.org/viewvc/libgda?rev=3100&view=rev
Log:
2008-03-25 Mark Johnson <mrj001 shaw ca>
* providers/postgres/utils.c:
(gda_postgres_recordset_describe_column): Use a lower case p instead of
P to check for a primary key, correcting an inefficiency in the query.
Bug #513543.
Modified:
branches/libgda-3-2/ChangeLog
branches/libgda-3-2/providers/postgres/utils.c
Modified: branches/libgda-3-2/providers/postgres/utils.c
==============================================================================
--- branches/libgda-3-2/providers/postgres/utils.c (original)
+++ branches/libgda-3-2/providers/postgres/utils.c Tue Mar 25 07:52:26 2008
@@ -442,7 +442,7 @@
gda_column_set_table (field_attrs, table_name);
if (table_name) {
- ispk = check_constraint (cnc, pg_res, table_name, col, 'P');
+ ispk = check_constraint (cnc, pg_res, table_name, col, 'p');
isuk = check_constraint (cnc, pg_res, table_name, col, 'u');
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]