Re: Is the member name of hashctl inappropriate?

2023-09-12 Thread ywgrit
You are right, I came to this erroneous conclusion based on the following mishandled experiment: My test program is shown below. typedef struct ColumnIdentifier { Oidrelid; AttrNumber resno; } ColumnIdentifier; typedef struct ColumnType { ColumnIdentifier colId;

Re: Is the member name of hashctl inappropriate?

2023-09-12 Thread Tom Lane
ywgrit writes: > According to the description, the keycopy function only copies the key, but > in reality it copies the entire entry, i.e., the key and the value, On what grounds do you claim that? dynahash.c only ever passes "keysize" as the size parameter. regards, tom