Variable renaming in dbcommands.c - Mailing list pgsql-hackers

From Peter Eisentraut
Subject Variable renaming in dbcommands.c
Date
Msg-id e5bce225-ee04-40c7-a280-ea7214318048@eisentraut.org
Whole thread Raw
Responses Re: Variable renaming in dbcommands.c
List pgsql-hackers
In dbcommands.c function createdb(), there are several sets of very 
similar local variable names, such as "downer" and "dbowner", which is 
very confusing and error-prone.  The first set are the DefElem nodes 
from the parser, the second set are the local variables with the values 
extracted from them.  This patch renames the former to "ownerEl" and so 
on, similar to collationcmds.c and typecmds.c, to improve clarity.
Attachment

pgsql-hackers by date:

Previous
From: Dmitry Koval
Date:
Subject: Re: Add SPLIT PARTITION/MERGE PARTITIONS commands
Next
From: Daniel Gustafsson
Date:
Subject: Re: Variable renaming in dbcommands.c