Assign transaction_id and pid to WsCursor

Get `txid_current()`  and `pg_backend_pid` to show in logs to track then in postgresql.log