mirror of
https://github.com/postgres/postgres.git
synced 2025-05-02 11:44:50 +03:00
Add missing TYPEALIGN macros
A couple call sites still had hard-coded characters. Amul Sul Discussion: https://www.postgresql.org/message-id/CAAJ_b94Y35MWB3PJoCbc_O-_Q4%2B-9DHKhWtAwboEyx8wm4mqcA%40mail.gmail.com
This commit is contained in:
parent
9ed87a78e0
commit
01ad1c9530
@ -1895,10 +1895,10 @@ makeMultirangeConstructors(const char *name, Oid namespace,
|
||||
allParamTypes = ObjectIdGetDatum(rangeArrayOid);
|
||||
allParameterTypes = construct_array(&allParamTypes,
|
||||
1, OIDOID,
|
||||
sizeof(Oid), true, 'i');
|
||||
sizeof(Oid), true, TYPALIGN_INT);
|
||||
paramModes = CharGetDatum(FUNC_PARAM_VARIADIC);
|
||||
parameterModes = construct_array(¶mModes, 1, CHAROID,
|
||||
1, true, 'c');
|
||||
1, true, TYPALIGN_CHAR);
|
||||
myself = ProcedureCreate(name, /* name: same as multirange type */
|
||||
namespace,
|
||||
false, /* replace */
|
||||
|
Loading…
x
Reference in New Issue
Block a user