Reviewed: https://reviews.mahara.org/6838 Committed: https://git.mahara.org/mahara/mahara/commit/f4ab7790dcbad3919849c73a57b17423d1c476ad Submitter: Son Nguyen (<email address hidden>) Branch: master
commit f4ab7790dcbad3919849c73a57b17423d1c476ad Author: Robert Lyon <email address hidden> Date: Mon Nov 10 08:04:59 2014 +1300
Check for valid columns in adodb postgres64 driver MetaIndexes fn
Bug 1539346
Indexes on functions of columns have a 0 in the indkey column of pg_catalog.pg_index, which doesn't refer to a column.
Don't return any columns for the index, rather than returning an empty column name.
(cherry picked from commit b87d9961020a8d52a2eaf709a9197520b3c6b65b)
Change-Id: I9854b99d4937b3fea1ebb44e3abed2e64446afdb Signed-off-by: Robert Lyon <email address hidden>
Reviewed: https:/ /reviews. mahara. org/6838 /git.mahara. org/mahara/ mahara/ commit/ f4ab7790dcbad39 19849c73a57b174 23d1c476ad
Committed: https:/
Submitter: Son Nguyen (<email address hidden>)
Branch: master
commit f4ab7790dcbad39 19849c73a57b174 23d1c476ad
Author: Robert Lyon <email address hidden>
Date: Mon Nov 10 08:04:59 2014 +1300
Check for valid columns in adodb postgres64 driver MetaIndexes fn
Bug 1539346
Indexes on functions of columns have a 0 in the indkey column of pg_index, which doesn't refer to a column.
pg_catalog.
Don't return any columns for the index, rather than returning an empty
column name.
(cherry picked from commit b87d9961020a8d5 2a2eaf709a91975 20b3c6b65b)
Change-Id: I9854b99d4937b3 fea1ebb44e3abed 2e64446afdb
Signed-off-by: Robert Lyon <email address hidden>