| 304 | |
| 305 | |
| 306 | class DataRow(_ZeroPadding): |
| 307 | name = "Data Row" |
| 308 | fields_desc = [ |
| 309 | ByteTagField(b"D"), |
| 310 | FieldLenField( |
| 311 | "len", None, fmt="I", length_of="data", adjust=lambda pkt, x: len(pkt) - 1 |
| 312 | ), |
| 313 | FieldLenField("numfields", 0), |
| 314 | PacketListField( |
| 315 | "data", |
| 316 | [], |
| 317 | SignedIntStrPair, |
| 318 | count_from=lambda pkt: pkt.numfields, |
| 319 | ), |
| 320 | ] |
| 321 | |
| 322 | |
| 323 | # See https://www.postgresql.org/docs/current/protocol-error-fields.html |
nothing calls this directly
no test coverage detected
searching dependent graphs…