Обсуждение: pgsql-server/src/backend/access/common printtup.c

Поиск
Список
Период
Сортировка

pgsql-server/src/backend/access/common printtup.c

От
tgl@developer.postgresql.org (Tom Lane)
Дата:
CVSROOT:    /cvsroot
Module name:    pgsql-server
Changes by:    tgl@developer.postgresql.org    03/05/26 13:51:38

Modified files:
    src/backend/access/common: printtup.c

Log message:
    Make sure printtup() always sends the number of columns previously
    advertised in RowDescription message.  Depending on the physical tuple's
    column count is not really correct, since according to heap_getattr()
    conventions the tuple may be short some columns, which will automatically
    get read as nulls.  Problem has been latent since forever, but was only
    exposed by recent change to skip a projection step in SELECT * FROM...