]> granicus.if.org Git - postgresql/commit
Make sure printtup() always sends the number of columns previously
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 26 May 2003 17:51:38 +0000 (17:51 +0000)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 26 May 2003 17:51:38 +0000 (17:51 +0000)
commit8c43300cccb626bae3ca84f4ae89c051f81190bb
tree3078ccc0f70aab150eddc547ca9dc637b50d55cc
parentb71a48990a57647025780363e01b66c0ef8198b5
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...
src/backend/access/common/printtup.c