Hi,
On 2017-04-01 04:24:25 +0000, Kevin Grittner wrote:
> Add infrastructure to support EphemeralNamedRelation references.
My compiler, quite justifiedly, complains:
/home/andres/src/postgresql/src/backend/parser/parse_relation.c: In function ‘get_rte_attribute_is_dropped’:
/home/andres/src/postgresql/src/backend/parser/parse_relation.c:2899:43: warning: comparison between pointer and zero
characterconstant [-Wpointer-compare]
(list_nth(rte->coltypes, attnum - 1) != InvalidOid);
^~
/home/andres/src/postgresql/src/backend/parser/parse_relation.c:2899:7: note: did you mean to dereference the pointer?
(list_nth(rte->coltypes, attnum - 1) != InvalidOid);
^
- Andres