Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit01ad1c9

Browse files
committed
Add missing TYPEALIGN macros
A couple call sites still had hard-coded characters.Amul SulDiscussion:https://www.postgresql.org/message-id/CAAJ_b94Y35MWB3PJoCbc_O-_Q4%2B-9DHKhWtAwboEyx8wm4mqcA%40mail.gmail.com
1 parent9ed87a7 commit01ad1c9

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)

[8]ページ先頭

©2009-2025 Movatter.jp