From: Jeremy Buchmann <jeremy@wellsgaming.com>
To: pgsql-admin <pgsql-admin@postgresql.org>
Subject: Error on pg_dump
Date: Mon, 18 Jun 2001 11:25:24 -0700
Message-ID: <B75395A3.3205%jeremy@wellsgaming.com> (raw)
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-admin@postgresql.org
Cc: jeremy@wellsgaming.com
Subject: Re: Error on pg_dump
In-Reply-To: <B75395A3.3205%jeremy@wellsgaming.com>
References: <B75395A3.3205%jeremy@wellsgaming.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
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