{"record":{"id":"77b3067cc6aaed8b","repo":"sqlmapproject/sqlmap","slug":"parameter-binding-is-not-supported-pass-a-fully-f-77b306","errorCode":null,"errorMessage":"parameter binding is not supported; pass a fully-formed query string","messagePattern":"parameter binding is not supported; pass a fully-formed query string","errorType":"exception","errorClass":"NotSupportedError","httpStatus":null,"severity":"error","filePath":"extra/dbwire/postgres.py","lineNumber":114,"sourceCode":"            break\n        fields[code] = payload[off + 1:end].decode(\"utf-8\", \"replace\")\n        off = end + 1\n    return fields.get(b\"M\", \"unknown error\"), fields.get(b\"C\", \"\")\n\ndef _raise_server_error(message, sqlstate):\n    raise _SQLSTATE_CLASS.get((sqlstate or \"\")[:2], ProgrammingError)(\"(remote) %s\" % message)\n\nclass Cursor(object):\n    def __init__(self, connection):\n        self.connection = connection\n        self.description = None\n        self.rowcount = -1\n        self._rows = []\n        self._pos = 0\n\n    def execute(self, query, params=None):\n        if params is not None:\n            raise NotSupportedError(\"parameter binding is not supported; pass a fully-formed query string\")\n        self.description, self.rowcount, self._rows, self._pos = None, -1, [], 0  # reset before (a failed) query\n        self.description, self._rows, self._pos, self.rowcount = self.connection._simple_query(query)\n        return self\n\n    def fetchall(self):\n        retVal = self._rows[self._pos:]\n        self._pos = len(self._rows)\n        return retVal\n\n    def fetchone(self):\n        if self._pos >= len(self._rows):\n            return None\n        retVal = self._rows[self._pos]\n        self._pos += 1\n        return retVal\n\n    def close(self):\n        self._rows = []","sourceCodeStart":96,"sourceCodeEnd":132,"githubUrl":"https://github.com/sqlmapproject/sqlmap/blob/0a35b20e3953d341be6c7ac75ccb0b3362540c8d/extra/dbwire/postgres.py#L96-L132","documentation":"Error \"parameter binding is not supported; pass a fully-formed query string\" thrown in sqlmapproject/sqlmap.","triggerScenarios":"Thrown at extra/dbwire/postgres.py:114 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":[],"exampleFix":null,"handlingStrategy":null,"validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"0a35b20e3953d341be6c7ac75ccb0b3362540c8d","analyzedAt":"2026-08-26T23:02:52.002Z","schemaVersion":2},"datasetVersion":"2026-08-27T03:17:27.898Z"}