DigitalChinaOpenSource / TiDB-for-PostgreSQL

PgSQL compatible on distributed database TiDB
Apache License 2.0
386 stars 21 forks source link

Correct response message to client #35

Open AmoebaProtozoa opened 3 years ago

AmoebaProtozoa commented 3 years ago

Development Task

Description

Before Postgres sends data result back to client, it will first give description about the data it’s returning, aka Row description. After sending the data row, it will send a command completion along with a tag tells user how many rows has been modified. Currently, both our row description and data row information are incomplete/ incorrect. This issue address that.

Which Module

Server

Task List

Reference

Below are our current response message when running simple select statement on TiDB for PG F8BE0240-8335-41C7-81FB-62AF0F21666F Here are the expected message captured from Postgres 12 7B1FAEC5-0D96-44D0-A9FA-F2BDA6FCB717