Re: [HACKERS] Fix comment in build_simple_rel

2016-11-28 Thread Amit Langote
On 2016/11/29 3:57, Alvaro Herrera wrote:
> Amit Langote wrote:
>> Attached fixes reference in a comment to a non-existent function:
>>
>> s/GetRelationInfo/get_relation_info/g
> 
> Thanks, pushed.  get_relation_info() itself had been neglected when this
> responsibility was added onto it; I added an entry there too.

Thanks!

Regards,
Amit




-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


Re: [HACKERS] Fix comment in build_simple_rel

2016-11-28 Thread Alvaro Herrera
Amit Langote wrote:
> Attached fixes reference in a comment to a non-existent function:
> 
> s/GetRelationInfo/get_relation_info/g

Thanks, pushed.  get_relation_info() itself had been neglected when this
responsibility was added onto it; I added an entry there too.

-- 
Álvaro Herrerahttps://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services


-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers


[HACKERS] Fix comment in build_simple_rel

2016-11-28 Thread Amit Langote
Attached fixes reference in a comment to a non-existent function:

s/GetRelationInfo/get_relation_info/g

Thanks,
Amit
diff --git a/src/backend/optimizer/util/relnode.c b/src/backend/optimizer/util/relnode.c
index deef560..d5326e6 100644
--- a/src/backend/optimizer/util/relnode.c
+++ b/src/backend/optimizer/util/relnode.c
@@ -126,7 +126,7 @@ build_simple_rel(PlannerInfo *root, int relid, RelOptKind reloptkind)
 	rel->allvisfrac = 0;
 	rel->subroot = NULL;
 	rel->subplan_params = NIL;
-	rel->rel_parallel_workers = -1;		/* set up in GetRelationInfo */
+	rel->rel_parallel_workers = -1;		/* set up in get_relation_info */
 	rel->serverid = InvalidOid;
 	rel->userid = rte->checkAsUser;
 	rel->useridiscurrent = false;

-- 
Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-hackers