| Summary: | pg_dump inserts data into the wrong table with the same schema. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Yaniv Lavi <ylavi> |
| Component: | postgresql | Assignee: | Tom Lane <tgl> |
| Status: | CLOSED NOTABUG | QA Contact: | qe-baseos-daemons |
| Severity: | urgent | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.2 | CC: | hhorak, sgrinber, ylavi |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-01-19 15:37:54 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Yaniv Lavi
2012-01-19 11:30:02 UTC
Please provide a concrete test case. I've never heard of such behavior and cannot duplicate it here. The test case I tried is
create schema s1;
create table s1.t1 (f1 text);
insert into s1.t1 values ('schema s1');
create schema s2;
create table s2.t1 (f1 text);
insert into s2.t1 values ('schema s2');
create schema s3;
create table s3.t1 (f1 text);
insert into s3.t1 values ('schema s3');
and this dumps and restores just fine.
Found out the difference was due to time zone difference... |