Minor code cleanup: calling FreeFile() before ereport(ERROR) is not
Neil Conway <neilc@samurai.com>
Minor code cleanup: calling FreeFile() before ereport(ERROR) is not necessary, since files opened via AllocateFile() are closed automatically as part of error recovery.
Files
| Path | Change | +/− |
|---|---|---|
| src/backend/commands/copy.c | modified | +1 −7 |