Reviewed: https://reviews.mahara.org/7528 Committed: https://git.mahara.org/mahara/mahara/commit/48d13bd1c9489a1952c3f61b9bf24cd4f46fccf2 Submitter: Robert Lyon (<email address hidden>) Branch: master
commit 48d13bd1c9489a1952c3f61b9bf24cd4f46fccf2 Author: Richard Mansfield <email address hidden> Date: Mon Jun 13 15:30:35 2011 +1200
Check for valid columns in adodb postgres64 driver MetaIndexes fn
Bug 1672867
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 b87d9961020a8d52a2eaf709a9197520b3c6b65b)
behatnotneeded
Change-Id: I1d4ba7fa1013b6ed702d00ee1e9ad88783863b1e Signed-off-by: Cecilia Vela Gurovic <email address hidden>
Reviewed: https:/ /reviews. mahara. org/7528 /git.mahara. org/mahara/ mahara/ commit/ 48d13bd1c9489a1 952c3f61b9bf24c d4f46fccf2
Committed: https:/
Submitter: Robert Lyon (<email address hidden>)
Branch: master
commit 48d13bd1c9489a1 952c3f61b9bf24c d4f46fccf2
Author: Richard Mansfield <email address hidden>
Date: Mon Jun 13 15:30:35 2011 +1200
Check for valid columns in adodb postgres64 driver MetaIndexes fn
Bug 1672867
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 b87d9961020a8d5 2a2eaf709a91975 20b3c6b65b)
behatnotneeded
Change-Id: I1d4ba7fa1013b6 ed702d00ee1e9ad 88783863b1e
Signed-off-by: Cecilia Vela Gurovic <email address hidden>