Re: Remove useless casts to (char *)

Vladlen Popolitov <v.popolitov@postgrespro.ru>

From: Vladlen Popolitov <v.popolitov@postgrespro.ru>
To: Peter Eisentraut <peter@eisentraut.org>
Cc: Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>, pgsql-hackers <pgsql-hackers@postgresql.org>
Date: 2025-03-26T15:01:47Z
Lists: pgsql-hackers
Peter Eisentraut писал(а) 2025-02-23 21:23:
> I have committed the rest of this with the adjustments you suggested.
> 
> 
> On 10.02.25 18:44, Dagfinn Ilmari Mannsåker wrote:
>>>   Here is a new patch set rebased over that.
Hi

I mentioned this patch in my message 
https://www.postgresql.org/message-id/f28f3b45ec84bf9dc99fe129023a2d6b%40postgrespro.ru
Starting from it queries with Parallel Seq Scan (probably with other 
parallel executor nodes)
hang under the debugger in Linux and MacOs.
-- 
Best regards,

Vladlen Popolitov.



Commits

  1. backend libpq void * argument for binary data

  2. SnapBuildRestoreContents() void * argument for binary data

  3. jsonb internal API void * argument for binary data

  4. backend launchers void * arguments for binary data

  5. Remove various unnecessary (char *) casts

  6. Remove unnecessary (char *) casts [xlog]

  7. XLogRegisterData, XLogRegisterBufData void * argument for binary data

  8. Remove unnecessary (char *) casts [checksum]

  9. Remove unnecessary (char *) casts [mem]

  10. Remove unnecessary (char *) casts [string]

  11. Make TLS write functions' buffer arguments pointers const