pg.ddx.io pgsql-admin@postgresql.org mailing list archivehelp / color / mirror / Atom feed
Error on pg_dump 2+ messages / 2 participants [nested] [flat]
* Error on pg_dump @ 2001-06-18 18:25 Jeremy Buchmann <jeremy@wellsgaming.com> 2001-06-18 20:02 ` Re: Error on pg_dump Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 1 reply; 2+ messages in thread From: Jeremy Buchmann @ 2001-06-18 18:25 UTC (permalink / raw) To: pgsql-admin Hello, When I run pg_dump from a shell script called from cron, I get the following error for each invocation of pg_dump: getAggregates(): SELECT failed. Explanation from backend: 'ERROR: Attribute 'aggtransfn1' not found '. But when I run the script from the command line, it works fine. PG version is 7.1.2, OS is Linux, and no backup happens when I get this error (the files are created bu their size is 0). If it helps, the shell script is below. Thanks, -- Jeremy [jeremy@wellsgaming.com] #!/usr/bin/bash DATE_NUM=`date +%w` sync pg_dump data1 > /foo/$DATE_NUM/data1.db sync pg_dump data2 > /foo/$DATE_NUM/data2.db sync pg_dump data3 > /foo/$DATE_NUM/data3.db sync ^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: Error on pg_dump 2001-06-18 18:25 Error on pg_dump Jeremy Buchmann <jeremy@wellsgaming.com> @ 2001-06-18 20:02 ` Tom Lane <tgl@sss.pgh.pa.us> 0 siblings, 0 replies; 2+ messages in thread From: Tom Lane @ 2001-06-18 20:02 UTC (permalink / raw) To: Jeremy Buchmann <jeremy@wellsgaming.com>; +Cc: pgsql-admin Jeremy Buchmann <jeremy@wellsgaming.com> writes: > getAggregates(): SELECT failed. Explanation from backend: 'ERROR: > Attribute 'aggtransfn1' not found > But when I run the script from the command line, it works fine. PG version > is 7.1.2, You're invoking a pre-7.1 pg_dump. Check the PATH used by your script. regards, tom lane ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2001-06-18 20:02 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2001-06-18 18:25 Error on pg_dump Jeremy Buchmann <jeremy@wellsgaming.com> 2001-06-18 20:02 ` 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