pghacking / workshop

PostgreSQL Hacking Workshop.
Creative Commons Zero v1.0 Universal
5 stars 1 forks source link

Walk-through of Implementing Simple Postgres Patch: From sources to CI #2

Open zhjwpku opened 1 month ago

zhjwpku commented 1 month ago

Workshop Title

Andrey Borodin, Byte Relay, Walk-through of Implementing Simple Postgres Patch: From sources to CI

Date: September 2024

Resources

zhjwpku commented 1 month ago

How to debug parallel workers effectively?

zhjwpku commented 3 weeks ago

How to debug parallel workers effectively?

There seems no perfect ways to do this, Robert add while loops in the code, after attached to the process, set the condition value to step over the loop; Tomas prefer to add log messages and analyze the logs to find bug; Andrey mentioned we can use Injection points to write some tap tests.

zhjwpku commented 3 weeks ago

Some links mentioned in session 2: