Content-Length: 266285 | pFad | http://github.com/postgrespro/postgres/commit/01ad1c953032ea2b88893d6a2f50fb4a8fea2873

DF Add missing TYPEALIGN macros · postgrespro/postgres@01ad1c9 · GitHub
Skip to content

Commit 01ad1c9

Browse files
committed
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
1 parent 9ed87a7 commit 01ad1c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/commands/typecmds.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1895,10 +1895,10 @@ makeMultirangeConstructors(const char *name, Oid namespace,
18951895
allParamTypes = ObjectIdGetDatum(rangeArrayOid);
18961896
allParameterTypes = construct_array(&allParamTypes,
18971897
1, OIDOID,
1898-
sizeof(Oid), true, 'i');
1898+
sizeof(Oid), true, TYPALIGN_INT);
18991899
paramModes = CharGetDatum(FUNC_PARAM_VARIADIC);
19001900
parameterModes = construct_array(&paramModes, 1, CHAROID,
1901-
1, true, 'c');
1901+
1, true, TYPALIGN_CHAR);
19021902
myself = ProcedureCreate(name, /* name: same as multirange type */
19031903
namespace,
19041904
false, /* replace */

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/01ad1c953032ea2b88893d6a2f50fb4a8fea2873

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy