Skip to content

function pgmq.send(unknown, unknown, unknown) is not unique #8

@kulame

Description

@kulame
    const data = JSON.stringify(event, null, 2);

    console.log("Sending event...");
    console.log("Event data:", data);

    const msgId = await pgmq.msg.send(queueName, data);
Error details: {
  message: "function pgmq.send(unknown, unknown, unknown) is not unique",
  stack: "error: function pgmq.send(unknown, unknown, unknown) is not unique\n    at <anonymous> (/srv/vv4g/platform/node_modules/.pnpm/pg@8.13.3/node_modules/pg/lib/client.js:535:17)\n    at processTicksAndRejections (native:7:39)",
  error: 530 |         result = new this._Promise((resolve, reject) => {
531 |           query.callback = (err, res) => (err ? reject(err) : resolve(res))
532 |         }).catch((err) => {
533 |           // replace the stack trace that leads to `TCP.onStreamRead` with one that leads back to the
534 |           // application that created the query
535 |           Error.captureStackTrace(err)
                      ^
error: function pgmq.send(unknown, unknown, unknown) is not unique
 code: "42725"

      at /srv/vv4g/platform/node_modules/.pnpm/pg@8.13.3/node_modules/pg/lib/client.js:535:17
      at processTicksAndRejections (native:7:39)
,
}
Fatal error: 530 |         result = new this._Promise((resolve, reject) => {
531 |           query.callback = (err, res) => (err ? reject(err) : resolve(res))
532 |         }).catch((err) => {
533 |           // replace the stack trace that leads to `TCP.onStreamRead` with one that leads back to the
534 |           // application that created the query
535 |           Error.captureStackTrace(err)
                      ^
error: function pgmq.send(unknown, unknown, unknown) is not unique
 code: "42725"

      at /srv/vv4g/platform/node_modules/.pnpm/pg@8.13.3/node_modules/pg/lib/client.js:535:17
      at processTicksAndRejections (native:7:39)

What is the problem?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions