pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pg_dump get error
2+ messages / 2 participants
[nested] [flat]

* pg_dump get error
@ 2003-04-12 07:46  Dorothy Yung <yungkaki@so-net.com.hk>
  0 siblings, 1 reply; 2+ messages in thread

From: Dorothy Yung @ 2003-04-12 07:46 UTC (permalink / raw)
  To: pgsql-admin

Hi,

    Got the following error when using pg_dump "getTables(): SELECT 
(funcname) for trigger returned 0 tuples. Expected 1.

    Having searched the archive and found somebody got similar problem 
(http://archives.postgresql.org/pgsql-admin/2001-12/msg00126.php), but 
my problem now is that pg_dump doesn't show on which trigger the error 
occurs.

    Any hint?

MK Tam




^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: pg_dump get error
@ 2003-04-14 20:00  Tom Lane <tgl@sss.pgh.pa.us>
  parent: Dorothy Yung <yungkaki@so-net.com.hk>
  0 siblings, 0 replies; 2+ messages in thread

From: Tom Lane @ 2003-04-14 20:00 UTC (permalink / raw)
  To: Dorothy Yung <yungkaki@so-net.com.hk>; +Cc: pgsql-admin

Dorothy Yung <yungkaki@so-net.com.hk> writes:
>     Having searched the archive and found somebody got similar problem 
> (http://archives.postgresql.org/pgsql-admin/2001-12/msg00126.php), but 
> my problem now is that pg_dump doesn't show on which trigger the error 
> occurs.

Best bet is to run pg_dump with query logging turned on, and look in the
postmaster log to see the query that fails.

			regards, tom lane




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2003-04-14 20:00 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2003-04-12 07:46 pg_dump get error Dorothy Yung <yungkaki@so-net.com.hk>
2003-04-14 20:00 ` Tom Lane <tgl@sss.pgh.pa.us>

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox