forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit6178f3c
committed
pg_dump: Fix dumping of WITH OIDS tables
A table with OIDs that was the first in the dump output would not getdumped with OIDs enabled. Fix that.The reason was that the currWithOids flag was declared to be bool butactually also takes a -1 value for "don't know yet". But understdbool.h semantics, that is coerced to true, so the required SETdefault_with_oids command is not output again. Change the variabletype to char to fix that.Reported-by: Derek Nelson <derek@pipelinedb.com>1 parentb59d4d6 commit6178f3c
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
347 | 347 |
| |
348 | 348 |
| |
349 | 349 |
| |
350 |
| - | |
| 350 | + | |
| 351 | + | |
351 | 352 |
| |
352 | 353 |
| |
353 | 354 |
| |
|
0 commit comments
Comments
(0)