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

Started by Tom Laneover 23 years ago1 messagescommitters
Jump to latest
#1Tom Lane
tgl@developer.postgresql.org

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...