Don't try to open visibilitymap when analyzing a foreign table
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Don't try to open visibilitymap when analyzing a foreign table It's harmless, visibilitymap_count() returns 0 if the file doesn't exist. But it's also very pointless. I noticed this when I added an assertion in smgropen() that the relnumber is valid. Discussion: https://www.postgresql.org/message-id/621a52fd-3cd8-4f5d-a561-d510b853bbaf@iki.fi
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/analyze.c | modified | +4 −1 |
| src/backend/storage/smgr/smgr.c | modified | +2 −0 |
Discussion
- Extending SMgrRelation lifetimes 10 messages · 2023-08-14 → 2024-01-31