{"record":{"id":"557f6c89abdc8c04","repo":"risingwavelabs/risingwave","slug":"postgres-error-0","errorCode":null,"errorMessage":"Postgres error: {0}","messagePattern":"Postgres error: (.+?)","errorType":"exception","errorClass":"SinkError","httpStatus":null,"severity":"error","filePath":"src/connector/src/sink/mod.rs","lineNumber":1214,"sourceCode":"    #[error(\"BigQuery error: {0}\")]\n    BigQuery(\n        #[source]\n        #[backtrace]\n        anyhow::Error,\n    ),\n    #[error(\"DynamoDB error: {0}\")]\n    DynamoDb(\n        #[source]\n        #[backtrace]\n        anyhow::Error,\n    ),\n    #[error(\"SQL Server error: {0}\")]\n    SqlServer(\n        #[source]\n        #[backtrace]\n        anyhow::Error,\n    ),\n    #[error(\"Postgres error: {0}\")]\n    Postgres(\n        #[source]\n        #[backtrace]\n        anyhow::Error,\n    ),\n    #[error(transparent)]\n    Connector(\n        #[from]\n        #[backtrace]\n        ConnectorError,\n    ),\n    #[error(\"Secret error: {0}\")]\n    Secret(\n        #[from]\n        #[backtrace]\n        SecretError,\n    ),\n    #[error(\"Mongodb error: {0}\")]","sourceCodeStart":1196,"sourceCodeEnd":1232,"githubUrl":"https://github.com/risingwavelabs/risingwave/blob/6469eb736d691e8e9b8a419a57edd6429ca77417/src/connector/src/sink/mod.rs#L1196-L1232","documentation":"Sentinel variant of the SinkError enum wrapping anyhow errors from the Postgres sink connector. Raised for any failure in Postgres sink operations such as connection establishment, COPY/INSERT execution, or type conversion; the wrapped error contains the root cause.","triggerScenarios":"Thrown at src/connector/src/sink/mod.rs:1214 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Inspect the wrapped anyhow error for the underlying Postgres failure (connection, protocol, constraint violation).","Verify connection parameters, credentials, and that the target table/schema exists.","Retry transient connection errors; fix constraint or schema mismatches permanently."],"exampleFix":null,"handlingStrategy":"retry","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"6469eb736d691e8e9b8a419a57edd6429ca77417","analyzedAt":"2026-09-11T21:06:21.487Z","contentChangedAt":"2026-09-11T21:06:21.487Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}