Add clarifying comment to RngVarCallbackForDropIdx

We don't need the PARTITION-related logic recently added in PostgreSQL.
pull/1632/head
Jason Petersen 2017-09-01 15:57:30 -06:00
parent ec30ad38ba
commit 8b2c3fcc15
No known key found for this signature in database
GPG Key ID: 9F1D3510D110ABA9
1 changed files with 3 additions and 1 deletions

View File

@ -3111,7 +3111,9 @@ InterShardDDLTaskList(Oid leftRelationId, Oid rightRelationId,
*
* This code is heavily borrowed from RangeVarCallbackForDropRelation() in
* commands/tablecmds.c in Postgres source. We need this to ensure the right
* order of locking while dealing with DROP INDEX statments.
* order of locking while dealing with DROP INDEX statments. Because we are
* exclusively using this callback for INDEX processing, the PARTITION-related
* logic from PostgreSQL's similar callback has been omitted as unneeded.
*/
static void
RangeVarCallbackForDropIndex(const RangeVar *rel, Oid relOid, Oid oldRelOid, void *arg)