| From: | steve <steve(at)jlajla(dot)com> | 
|---|---|
| To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> | 
| Cc: | pgsql-hackers(at)postgresql(dot)org | 
| Subject: | Re: pg_dump oid problems | 
| Date: | 2001-10-12 08:24:37 | 
| Message-ID: | 3BC6A8C5.37F42FF4@jlajla.com | 
| Views: | Whole Thread | Raw Message | Download mbox | Resend email | 
| Thread: | |
| Lists: | pgsql-hackers | 
Problem solved, 3GB dumped OK -- Thanks Tom
Steve
Tom Lane wrote:
> steve <steve(at)jlajla(dot)com> writes:
> > DEBUG:  query: SELECT c.relname FROM pg_index i LEFT OUTER JOIN pg_class c
> > ON c.oid = i.indexrelid WHERE i.indrelid = 3527162388AND   i.indisprimary
> > ERROR:  dtoi4: integer out of range
>
> > The 3527162388AND is exactly as shown in the log, with no space between the
> > value and the AND, I guess this is the problem, wherever it's being
> > generated in the code.
>
> That's evidently coming from line 2346 of src/bin/pg_dump/pg_dump.c:
>
>                               "WHERE i.indrelid = %s"
>
> Try changing it to
>
>                               "WHERE i.indrelid = '%s'::oid "
>
> (Problem seems to be solved already in 7.2devel)
>
>                         regards, tom lane
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
>     (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Meskes | 2001-10-12 08:31:00 | Re: Deadlock? idle in transaction | 
| Previous Message | Tatsuo Ishii | 2001-10-12 06:07:08 | Re: Unicode combining characters |