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

Commit0739c83

Browse files
committed
Fix the warnings when compiling against the current master branch of PostgreSQL
1 parenta670585 commit0739c83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎zson.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ zson_out(PG_FUNCTION_ARGS)
362362
Datumzson_datum=PointerGetDatum(zson_bytea);
363363
Datumjsonb_datum=DirectFunctionCall1(zson_to_jsonb,zson_datum);
364364
Datumstring_datum=DirectFunctionCall1(jsonb_out,jsonb_datum);
365-
PG_RETURN_CSTRING(string_datum);
365+
PG_RETURN_CSTRING(DatumGetCString(string_datum));
366366
}
367367

368368
inlinestaticSize
@@ -617,7 +617,7 @@ zson_info(PG_FUNCTION_ARGS)
617617
(uint32)zson_size, (float)zson_size*100/(float)decoded_size
618618
);
619619

620-
PG_RETURN_CSTRING((Datum)string_buff);
620+
PG_RETURN_CSTRING(string_buff);
621621
}
622622

623623
/*

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp