* expandRelation -- expandRTE subroutine */
| 3261 | * expandRelation -- expandRTE subroutine |
| 3262 | */ |
| 3263 | static void |
| 3264 | expandRelation(Oid relid, Alias *eref, int rtindex, int sublevels_up, |
| 3265 | int location, bool include_dropped, |
| 3266 | List **colnames, List **colvars) |
| 3267 | { |
| 3268 | Relation rel; |
| 3269 | |
| 3270 | /* Get the tupledesc and turn it over to expandTupleDesc */ |
| 3271 | rel = relation_open(relid, AccessShareLock); |
| 3272 | expandTupleDesc(rel->rd_att, eref, rel->rd_att->natts, 0, |
| 3273 | rtindex, sublevels_up, |
| 3274 | location, include_dropped, |
| 3275 | colnames, colvars, RelationIsIVM(rel)); |
| 3276 | relation_close(rel, AccessShareLock); |
| 3277 | } |
| 3278 | |
| 3279 | /* |
| 3280 | * expandTupleDesc -- expandRTE subroutine |
no test coverage detected