Skip to content

Get server PID #2112

@latot

Description

@latot

Hi! I has been looking how to mix functions between pgrx and C (important if I want to move some functions from C to pgrx), and to debug this I need the PID from the server which I'm executing the extensions.

Can be there an option to return the postgres backed pid to attach gdb?

Thx!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions