Skip to content

:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.

1.0 KB
Raw Blame
{
  "db_name": "PostgreSQL",
  "query": "/* service='personhog-identity', operation='merge_claim_mark' */ \n            INSERT INTO lifecycle_op_person_tmp\n                (op_id, team_id, person_id, person_uuid, role, ordinal, status, mark_active)\n            SELECT $1, $2, u.person_id, u.person_uuid, u.role, u.ordinal, $6, true\n            FROM unnest($3::bigint[], $4::uuid[], $5::text[], $7::int[])\n                AS u(person_id, person_uuid, role, ordinal)\n            ON CONFLICT (team_id, person_id) WHERE mark_active DO NOTHING\n            RETURNING person_id\n            ",
  "describe": {
    "columns": [
      {
        "ordinal": 0,
        "name": "person_id",
        "type_info": "Int8"
      }
    ],
    "parameters": {
      "Left": [
        "Uuid",
        "Int4",
        "Int8Array",
        "UuidArray",
        "TextArray",
        "Text",
        "Int4Array"
      ]
    },
    "nullable": [
      false
    ]
  },
  "hash": "006edc728d1b692910b3a0bf74a0c2f7393fb2763567c47cb4a2ccffdd1703a8"
}