mirror of
https://github.com/postgres/postgres.git
synced 2025-06-17 17:02:08 +03:00
Rename RelationData.rd_amroutine to rd_indam.
The upcoming table AM support makes rd_amroutine to generic, as its only about index AMs. The new name makes that clear, and is shorter to boot. Author: Andres Freund Discussion: https://postgr.es/m/20180703070645.wchpu5muyto5n647@alap3.anarazel.de
This commit is contained in:
@ -1504,7 +1504,7 @@ generateClonedIndexStmt(RangeVar *heapRel, Oid heapRelid, Relation source_idx,
|
||||
iparam->nulls_ordering = SORTBY_NULLS_DEFAULT;
|
||||
|
||||
/* Adjust options if necessary */
|
||||
if (source_idx->rd_amroutine->amcanorder)
|
||||
if (source_idx->rd_indam->amcanorder)
|
||||
{
|
||||
/*
|
||||
* If it supports sort ordering, copy DESC and NULLS opts. Don't
|
||||
|
Reference in New Issue
Block a user