Debug line with all properties: FROMHOST: '', fromhost-ip: '172.17.128.1', HOSTNAME: 'host', PRI: 134, syslogtag 'app[postgres.1670412]', programname: 'app', APP-NAME: 'app', PROCID: 'postgres.1670412', MSGID: '-', TIMESTAMP: 'Jul 15 20:04:09', STRUCTURED-DATA: '[DATABASE]', msg: '[20-1] sql_error_code = 00000 time_ms = "2026-07-15 20:04:09.562 UTC" pid="1790159" proc_start_time="2026-07-15 20:03:54 UTC" session_id="6a57e7aa.1b50cf" vtid="24/520572" tid="0" log_line="1" LOG: temporary file: path "pg_tblspc/16386/PG_16_202307071/pgsql_tmp/pgsql_tmp1790159.0", size 29474816' escaped msg: '[20-1] sql_error_code = 00000 time_ms = "2026-07-15 20:04:09.562 UTC" pid="1790159" proc_start_time="2026-07-15 20:03:54 UTC" session_id="6a57e7aa.1b50cf" vtid="24/520572" tid="0" log_line="1" LOG: temporary file: path "pg_tblspc/16386/PG_16_202307071/pgsql_tmp/pgsql_tmp1790159.0", size 29474816' inputname: drain rawmsg: '<134>1 2026-07-15T20:04:09+00:00 host app postgres.1670412 - [DATABASE] [20-1] sql_error_code = 00000 time_ms = "2026-07-15 20:04:09.562 UTC" pid="1790159" proc_start_time="2026-07-15 20:03:54 UTC" session_id="6a57e7aa.1b50cf" vtid="24/520572" tid="0" log_line="1" LOG: temporary file: path "pg_tblspc/16386/PG_16_202307071/pgsql_tmp/pgsql_tmp1790159.0", size 29474816' $!:{ "metadata": { "httpheaders": { "host": "appx-staging-drain-4bd9f585e48c.herokuapp.com", "user-agent": "logfwd", "content-length": "6464", "accept-encoding": "gzip", "content-type": "application\/logplex-1", "logplex-drain-token": "d.2257363d-e289-4fca-980f-d26509782992", "logplex-frame-id": "1f88f076-bc25-40f5-9f41-34343e050b58", "logplex-msg-count": "8", "server": "Heroku", "via": "1.1 spaces-router (205a6c14d3af)", "x-forwarded-for": "52.86.193.78", "x-forwarded-port": "443", "x-forwarded-proto": "https", "x-request-id": "1dee67bb-7077-c890-262c-fdefa5b3b0b5", "x-request-start": "1784145850316" }, "queryparams": { "app": "appx-oaf-staging", "space": "appexchange-primary", "service": "appexchange", "team": "sfdc-platform-ecosystem" } }, "data": { "event": "[20-1] sql_error_code = 00000 time_ms = \"2026-07-15 20:04:09.562 UTC\" pid=\"1790159\" proc_start_time=\"2026-07-15 20:03:54 UTC\" session_id=\"6a57e7aa.1b50cf\" vtid=\"24\/520572\" tid=\"0\" log_line=\"1\" LOG: temporary file: path \"pg_tblspc\/16386\/PG_16_202307071\/pgsql_tmp\/pgsql_tmp1790159.0\", size 29474816", "source": "heroku.app", "sourcetype": "-", "hostname": "d.2257363d-e289-4fca-980f-d26509782992", "agent_timestamp": "2026-07-15T20:04:09+00:00", "tags_schema_id": "any6:1", "tags": { "dyno": "postgres.1670412", "app": "appx-oaf-staging", "space": "appexchange-primary", "region": "-", "severity": "info", "uuid": "d2b5b31d-2db1-4389-940d-0e73e0f64b0b" }, "owner": { "service": "appexchange", "team": "sfdc-platform-ecosystem", "environment": "-", "cloud": "-" } } } $.:{ "app_id": "d.2257363d-e289-4fca-980f-d26509782992", "source": "app", "dyno": "postgres.1670412", "app": "appx-oaf-staging", "space": "appexchange-primary", "region": "-", "team": "sfdc-platform-ecosystem", "service": "appexchange", "sourcetype": "-", "environment": "-", "cloud": "-", "business_unit": "Heroku", "type": "log", "inc": 0, "format": "text", "dynadir": "debug" } $/: Debug line with all properties: FROMHOST: '', fromhost-ip: '172.17.128.1', HOSTNAME: 'host', PRI: 134, syslogtag 'app[postgres.1670412]', programname: 'app', APP-NAME: 'app', PROCID: 'postgres.1670412', MSGID: '-', TIMESTAMP: 'Jul 15 20:04:09', STRUCTURED-DATA: '[DATABASE]', msg: '[20-2] sql_error_code = 00000 time_ms = "2026-07-15 20:04:09.562 UTC" pid="1790159" proc_start_time="2026-07-15 20:03:54 UTC" session_id="6a57e7aa.1b50cf" vtid="24/520572" tid="0" log_line="2" STATEMENT: select distinct "streams"."id", "streams"."external_id", "streams"."type", "permissionGroups"."global_perms", "projections"."projection", "streams"."id", "children:projections"."projection" as "securityReview", "children:children:projections"."projection" as "securityReviewFeedback" from "streams" inner join "permission_group_streams" as "permissionGroups_join" on "permissionGroups_join"."stream_id" = "streams"."id" inner join "permission_groups" as "permissionGroups" on "permissionGroups_join"."permission_group_id" = "permissionGroups"."id" inner join "projections" on "projections"."stream_id" = "streams"."id" left join "streams" as "children" on "children"."owner_id" = "streams"."id" left' escaped msg: '[20-2] sql_error_code = 00000 time_ms = "2026-07-15 20:04:09.562 UTC" pid="1790159" proc_start_time="2026-07-15 20:03:54 UTC" session_id="6a57e7aa.1b50cf" vtid="24/520572" tid="0" log_line="2" STATEMENT: select distinct "streams"."id", "streams"."external_id", "streams"."type", "permissionGroups"."global_perms", "projections"."projection", "streams"."id", "children:projections"."projection" as "securityReview", "children:children:projections"."projection" as "securityReviewFeedback" from "streams" inner join "permission_group_streams" as "permissionGroups_join" on "permissionGroups_join"."stream_id" = "streams"."id" inner join "permission_groups" as "permissionGroups" on "permissionGroups_join"."permission_group_id" = "permissionGroups"."id" inner join "projections" on "projections"."stream_id" = "streams"."id" left join "streams" as "children" on "children"."owner_id" = "streams"."id" left' inputname: drain rawmsg: '<134>1 2026-07-15T20:04:09+00:00 host app postgres.1670412 - [DATABASE] [20-2] sql_error_code = 00000 time_ms = "2026-07-15 20:04:09.562 UTC" pid="1790159" proc_start_time="2026-07-15 20:03:54 UTC" session_id="6a57e7aa.1b50cf" vtid="24/520572" tid="0" log_line="2" STATEMENT: select distinct "streams"."id", "streams"."external_id", "streams"."type", "permissionGroups"."global_perms", "projections"."projection", "streams"."id", "children:projections"."projection" as "securityReview", "children:children:projections"."projection" as "securityReviewFeedback" from "streams" inner join "permission_group_streams" as "permissionGroups_join" on "permissionGroups_join"."stream_id" = "streams"."id" inner join "permission_groups" as "permissionGroups" on "permissionGroups_join"."permission_group_id" = "permissionGroups"."id" inner join "projections" on "projections"."stream_id" = "streams"."id" left join "streams" as "children" on "children"."owner_id" = "streams"."id" left' $!:{ "metadata": { "httpheaders": { "host": "appx-staging-drain-4bd9f585e48c.herokuapp.com", "user-agent": "logfwd", "content-length": "6464", "accept-encoding": "gzip", "content-type": "application\/logplex-1", "logplex-drain-token": "d.2257363d-e289-4fca-980f-d26509782992", "logplex-frame-id": "1f88f076-bc25-40f5-9f41-34343e050b58", "logplex-msg-count": "8", "server": "Heroku", "via": "1.1 spaces-router (205a6c14d3af)", "x-forwarded-for": "52.86.193.78", "x-forwarded-port": "443", "x-forwarded-proto": "https", "x-request-id": "1dee67bb-7077-c890-262c-fdefa5b3b0b5", "x-request-start": "1784145850316" }, "queryparams": { "app": "appx-oaf-staging", "space": "appexchange-primary", "service": "appexchange", "team": "sfdc-platform-ecosystem" } }, "data": { "event": "[20-2] sql_error_code = 00000 time_ms = \"2026-07-15 20:04:09.562 UTC\" pid=\"1790159\" proc_start_time=\"2026-07-15 20:03:54 UTC\" session_id=\"6a57e7aa.1b50cf\" vtid=\"24\/520572\" tid=\"0\" log_line=\"2\" STATEMENT: select distinct \"streams\".\"id\", \"streams\".\"external_id\", \"streams\".\"type\", \"permissionGroups\".\"global_perms\", \"projections\".\"projection\", \"streams\".\"id\", \"children:projections\".\"projection\" as \"securityReview\", \"children:children:projections\".\"projection\" as \"securityReviewFeedback\" from \"streams\" inner join \"permission_group_streams\" as \"permissionGroups_join\" on \"permissionGroups_join\".\"stream_id\" = \"streams\".\"id\" inner join \"permission_groups\" as \"permissionGroups\" on \"permissionGroups_join\".\"permission_group_id\" = \"permissionGroups\".\"id\" inner join \"projections\" on \"projections\".\"stream_id\" = \"streams\".\"id\" left join \"streams\" as \"children\" on \"children\".\"owner_id\" = \"streams\".\"id\" left", "source": "heroku.app", "sourcetype": "-", "hostname": "d.2257363d-e289-4fca-980f-d26509782992", "agent_timestamp": "2026-07-15T20:04:09+00:00", "tags_schema_id": "any6:1", "tags": { "dyno": "postgres.1670412", "app": "appx-oaf-staging", "space": "appexchange-primary", "region": "-", "severity": "info", "uuid": "d2b5b31d-2db1-4389-940d-0e73e0f64b0b" }, "owner": { "service": "appexchange", "team": "sfdc-platform-ecosystem", "environment": "-", "cloud": "-" } } } $.:{ "app_id": "d.2257363d-e289-4fca-980f-d26509782992", "source": "app", "dyno": "postgres.1670412", "app": "appx-oaf-staging", "space": "appexchange-primary", "region": "-", "team": "sfdc-platform-ecosystem", "service": "appexchange", "sourcetype": "-", "environment": "-", "cloud": "-", "business_unit": "Heroku", "type": "log", "inc": 0, "format": "text", "dynadir": "debug" } $/: Debug line with all properties: FROMHOST: '', fromhost-ip: '172.17.128.1', HOSTNAME: 'host', PRI: 134, syslogtag 'app[postgres.1670412]', programname: 'app', APP-NAME: 'app', PROCID: 'postgres.1670412', MSGID: '-', TIMESTAMP: 'Jul 15 20:04:09', STRUCTURED-DATA: '[DATABASE]', msg: '[20-3] join "projections" as "children:projections" on "children:projections"."stream_id" = "children"."id" left join "streams" as "children:children" on "children:children"."owner_id" = "children"."id" left join "projections" as "children:children:projections" on "children:children:projections"."stream_id" = "children:children"."id" where "permissionGroups"."org62_account_id" = $1 and "permissionGroups"."perm_group_id" in ($2) and "projections"."version" = $3 and CAST("projections"."projection"#>>'{technology}' AS text) in ($4, $5, $6, $7, $8, $9, $10, $11, $12) and "streams"."type" = $13 and (CAST("projections"."projection"#>>'{solution,version,packageVersionId}' AS text) in ($14) or CAST("projections"."projection"#>>'{solution,version,packageVersionId}' AS text) is null) and CAST("projections"."projection"#>>'{technology}' AS text) in ($15) and' escaped msg: '[20-3] join "projections" as "children:projections" on "children:projections"."stream_id" = "children"."id" left join "streams" as "children:children" on "children:children"."owner_id" = "children"."id" left join "projections" as "children:children:projections" on "children:children:projections"."stream_id" = "children:children"."id" where "permissionGroups"."org62_account_id" = $1 and "permissionGroups"."perm_group_id" in ($2) and "projections"."version" = $3 and CAST("projections"."projection"#>>'{technology}' AS text) in ($4, $5, $6, $7, $8, $9, $10, $11, $12) and "streams"."type" = $13 and (CAST("projections"."projection"#>>'{solution,version,packageVersionId}' AS text) in ($14) or CAST("projections"."projection"#>>'{solution,version,packageVersionId}' AS text) is null) and CAST("projections"."projection"#>>'{technology}' AS text) in ($15) and' inputname: drain rawmsg: '<134>1 2026-07-15T20:04:09+00:00 host app postgres.1670412 - [DATABASE] [20-3] join "projections" as "children:projections" on "children:projections"."stream_id" = "children"."id" left join "streams" as "children:children" on "children:children"."owner_id" = "children"."id" left join "projections" as "children:children:projections" on "children:children:projections"."stream_id" = "children:children"."id" where "permissionGroups"."org62_account_id" = $1 and "permissionGroups"."perm_group_id" in ($2) and "projections"."version" = $3 and CAST("projections"."projection"#>>'{technology}' AS text) in ($4, $5, $6, $7, $8, $9, $10, $11, $12) and "streams"."type" = $13 and (CAST("projections"."projection"#>>'{solution,version,packageVersionId}' AS text) in ($14) or CAST("projections"."projection"#>>'{solution,version,packageVersionId}' AS text) is null) and CAST("projections"."projection"#>>'{technology}' AS text) in ($15) and' $!:{ "metadata": { "httpheaders": { "host": "appx-staging-drain-4bd9f585e48c.herokuapp.com", "user-agent": "logfwd", "content-length": "6464", "accept-encoding": "gzip", "content-type": "application\/logplex-1", "logplex-drain-token": "d.2257363d-e289-4fca-980f-d26509782992", "logplex-frame-id": "1f88f076-bc25-40f5-9f41-34343e050b58", "logplex-msg-count": "8", "server": "Heroku", "via": "1.1 spaces-router (205a6c14d3af)", "x-forwarded-for": "52.86.193.78", "x-forwarded-port": "443", "x-forwarded-proto": "https", "x-request-id": "1dee67bb-7077-c890-262c-fdefa5b3b0b5", "x-request-start": "1784145850316" }, "queryparams": { "app": "appx-oaf-staging", "space": "appexchange-primary", "service": "appexchange", "team": "sfdc-platform-ecosystem" } }, "data": { "event": "[20-3] join \"projections\" as \"children:projections\" on \"children:projections\".\"stream_id\" = \"children\".\"id\" left join \"streams\" as \"children:children\" on \"children:children\".\"owner_id\" = \"children\".\"id\" left join \"projections\" as \"children:children:projections\" on \"children:children:projections\".\"stream_id\" = \"children:children\".\"id\" where \"permissionGroups\".\"org62_account_id\" = $1 and \"permissionGroups\".\"perm_group_id\" in ($2) and \"projections\".\"version\" = $3 and CAST(\"projections\".\"projection\"#>>'{technology}' AS text) in ($4, $5, $6, $7, $8, $9, $10, $11, $12) and \"streams\".\"type\" = $13 and (CAST(\"projections\".\"projection\"#>>'{solution,version,packageVersionId}' AS text) in ($14) or CAST(\"projections\".\"projection\"#>>'{solution,version,packageVersionId}' AS text) is null) and CAST(\"projections\".\"projection\"#>>'{technology}' AS text) in ($15) and", "source": "heroku.app", "sourcetype": "-", "hostname": "d.2257363d-e289-4fca-980f-d26509782992", "agent_timestamp": "2026-07-15T20:04:09+00:00", "tags_schema_id": "any6:1", "tags": { "dyno": "postgres.1670412", "app": "appx-oaf-staging", "space": "appexchange-primary", "region": "-", "severity": "info", "uuid": "d2b5b31d-2db1-4389-940d-0e73e0f64b0b" }, "owner": { "service": "appexchange", "team": "sfdc-platform-ecosystem", "environment": "-", "cloud": "-" } } } $.:{ "app_id": "d.2257363d-e289-4fca-980f-d26509782992", "source": "app", "dyno": "postgres.1670412", "app": "appx-oaf-staging", "space": "appexchange-primary", "region": "-", "team": "sfdc-platform-ecosystem", "service": "appexchange", "sourcetype": "-", "environment": "-", "cloud": "-", "business_unit": "Heroku", "type": "log", "inc": 0, "format": "text", "dynadir": "debug" } $/: Debug line with all properties: FROMHOST: '', fromhost-ip: '172.17.128.1', HOSTNAME: 'host', PRI: 134, syslogtag 'app[postgres.1670412]', programname: 'app', APP-NAME: 'app', PROCID: 'postgres.1670412', MSGID: '-', TIMESTAMP: 'Jul 15 20:04:09', STRUCTURED-DATA: '[DATABASE]', msg: '[20-4] CAST("projections"."projection"#>>'{solution,name}' AS text) ilike $16 or CAST("projections"."projection"#>>'{solution,packageId}' AS text) ilike $17 or CAST("projections"."projection"#>>'{solution,version,packageVersionId}' AS text) ilike $18 or CAST("projections"."projection"#>>'{solution,version,versionName}' AS text) ilike $19 or (projections.projection->'solution'->'version'->>'majorVersion') || '.' || (projections.projection->'solution'->'version'->>'minorVersion') || '.' || (projections.projection->'solution'->'version'->>'patchVersion') LIKE $20' escaped msg: '[20-4] CAST("projections"."projection"#>>'{solution,name}' AS text) ilike $16 or CAST("projections"."projection"#>>'{solution,packageId}' AS text) ilike $17 or CAST("projections"."projection"#>>'{solution,version,packageVersionId}' AS text) ilike $18 or CAST("projections"."projection"#>>'{solution,version,versionName}' AS text) ilike $19 or (projections.projection->'solution'->'version'->>'majorVersion') || '.' || (projections.projection->'solution'->'version'->>'minorVersion') || '.' || (projections.projection->'solution'->'version'->>'patchVersion') LIKE $20' inputname: drain rawmsg: '<134>1 2026-07-15T20:04:09+00:00 host app postgres.1670412 - [DATABASE] [20-4] CAST("projections"."projection"#>>'{solution,name}' AS text) ilike $16 or CAST("projections"."projection"#>>'{solution,packageId}' AS text) ilike $17 or CAST("projections"."projection"#>>'{solution,version,packageVersionId}' AS text) ilike $18 or CAST("projections"."projection"#>>'{solution,version,versionName}' AS text) ilike $19 or (projections.projection->'solution'->'version'->>'majorVersion') || '.' || (projections.projection->'solution'->'version'->>'minorVersion') || '.' || (projections.projection->'solution'->'version'->>'patchVersion') LIKE $20' $!:{ "metadata": { "httpheaders": { "host": "appx-staging-drain-4bd9f585e48c.herokuapp.com", "user-agent": "logfwd", "content-length": "6464", "accept-encoding": "gzip", "content-type": "application\/logplex-1", "logplex-drain-token": "d.2257363d-e289-4fca-980f-d26509782992", "logplex-frame-id": "1f88f076-bc25-40f5-9f41-34343e050b58", "logplex-msg-count": "8", "server": "Heroku", "via": "1.1 spaces-router (205a6c14d3af)", "x-forwarded-for": "52.86.193.78", "x-forwarded-port": "443", "x-forwarded-proto": "https", "x-request-id": "1dee67bb-7077-c890-262c-fdefa5b3b0b5", "x-request-start": "1784145850316" }, "queryparams": { "app": "appx-oaf-staging", "space": "appexchange-primary", "service": "appexchange", "team": "sfdc-platform-ecosystem" } }, "data": { "event": "[20-4] CAST(\"projections\".\"projection\"#>>'{solution,name}' AS text) ilike $16 or CAST(\"projections\".\"projection\"#>>'{solution,packageId}' AS text) ilike $17 or CAST(\"projections\".\"projection\"#>>'{solution,version,packageVersionId}' AS text) ilike $18 or CAST(\"projections\".\"projection\"#>>'{solution,version,versionName}' AS text) ilike $19 or (projections.projection->'solution'->'version'->>'majorVersion') || '.' || (projections.projection->'solution'->'version'->>'minorVersion') || '.' || (projections.projection->'solution'->'version'->>'patchVersion') LIKE $20", "source": "heroku.app", "sourcetype": "-", "hostname": "d.2257363d-e289-4fca-980f-d26509782992", "agent_timestamp": "2026-07-15T20:04:09+00:00", "tags_schema_id": "any6:1", "tags": { "dyno": "postgres.1670412", "app": "appx-oaf-staging", "space": "appexchange-primary", "region": "-", "severity": "info", "uuid": "d2b5b31d-2db1-4389-940d-0e73e0f64b0b" }, "owner": { "service": "appexchange", "team": "sfdc-platform-ecosystem", "environment": "-", "cloud": "-" } } } $.:{ "app_id": "d.2257363d-e289-4fca-980f-d26509782992", "source": "app", "dyno": "postgres.1670412", "app": "appx-oaf-staging", "space": "appexchange-primary", "region": "-", "team": "sfdc-platform-ecosystem", "service": "appexchange", "sourcetype": "-", "environment": "-", "cloud": "-", "business_unit": "Heroku", "type": "log", "inc": 0, "format": "text", "dynadir": "debug" } $/: