From: | Filip Janus <fjanus(at)redhat(dot)com> |
---|---|
To: | Álvaro Herrera <alvherre(at)kurilemu(dot)de> |
Cc: | Tomas Vondra <tomas(at)vondra(dot)me>, pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Proposal: Adding compression of temporary files |
Date: | 2025-10-20 11:53:16 |
Message-ID: | CAFjYY+KiWv_V0NxY6RnPLmDV8gD_TcZ9NTGvJngd4TVN=gDmoQ@mail.gmail.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Definitely, it’s not dead. I’m a bit busy at the moment, but I will address
the compiler warnings along with the review.
-Filip-
po 20. 10. 2025 v 11:36 odesílatel Álvaro Herrera <alvherre(at)kurilemu(dot)de>
napsal:
> Hello,
>
> This latest patchset is failing CI because of some compiler warnings on
> Windows, see below. Also, who is squashing all these fixup patches? I
> suppose it's up to Filip to submit a squashed version with the ones he
> approves of, but he hasn't replied since you (Tomas) posted them; I hope
> the series is not dead?
>
> Thanks
>
> [14:52:10.761] buffile.c: In function ‘BufFileLoadBuffer’:
> [14:52:10.761] buffile.c:725:95: error: passing argument 2 of ‘uncompress’
> from incompatible pointer type [-Werror=incompatible-pointer-types]
> [14:52:10.761] 725 | ret
> = uncompress((uint8 *) file->buffer.data, &len,
> [14:52:10.761] |
> ^~~~
> [14:52:10.761] |
> |
> [14:52:10.761] |
> size_t * {aka long long unsigned
> int *}
> [14:52:10.761] In file included from
> /usr/x86_64-w64-mingw32/include/zlib.h:34,
> [14:52:10.761] from buffile.c:64:
> [14:52:10.761] /usr/x86_64-w64-mingw32/include/zlib.h:1267:32: note:
> expected ‘uLongf *’ {aka ‘long unsigned int *’} but argument is of type
> ‘size_t *’ {aka ‘long long unsigned int *’}
> [14:52:10.761] 1267 | ZEXTERN int ZEXPORT uncompress OF((Bytef *dest,
> uLongf *destLen,
> [14:52:10.761] | ^~
> [14:52:10.761] buffile.c: In function ‘BufFileDumpBuffer’:
> [14:52:10.761] buffile.c:854:101: error: passing argument 2 of ‘compress2’
> from incompatible pointer type [-Werror=incompatible-pointer-types]
> [14:52:10.761] 854 | ret =
> compress2((uint8 *) (cData + sizeof(CompressHeader)), &len,
> [14:52:10.761] |
> ^~~~
> [14:52:10.761] |
> |
> [14:52:10.761] |
> size_t * {aka long long
> unsigned int *}
> [14:52:10.761] /usr/x86_64-w64-mingw32/include/zlib.h:1244:31: note:
> expected ‘uLongf *’ {aka ‘long unsigned int *’} but argument is of type
> ‘size_t *’ {aka ‘long long unsigned int *’}
> [14:52:10.761] 1244 | ZEXTERN int ZEXPORT compress2 OF((Bytef *dest,
> uLongf *destLen,
> [14:52:10.761] | ^~
>
>
> --
> Álvaro Herrera Breisgau, Deutschland —
> https://www.EnterpriseDB.com/
> "XML!" Exclaimed C++. "What are you doing here? You're not a programming
> language."
> "Tell that to the people who use me," said XML.
> https://burningbird.net/the-parable-of-the-languages/
>
>
>
From | Date | Subject | |
---|---|---|---|
Next Message | Hayato Kuroda (Fujitsu) | 2025-10-20 11:59:30 | RE: Logical Replication of sequences |
Previous Message | David G. Johnston | 2025-10-20 11:41:39 | Re: doc: create table improvements |