From: | Allan Kelly <allan(dot)kelly(at)buildstore(dot)co(dot)uk> |
---|---|
To: | "pgsql-sql(at)postgresql(dot)org" <pgsql-sql(at)postgresql(dot)org> |
Subject: | cron job INSERT appears to bail. |
Date: | 2000-06-05 12:35:53 |
Message-ID: | 393B9EA9.EDBD54CA@buildstore.co.uk |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-sql |
Hi, I have mirrored our Web site to a client's intranet, using tried and tested
techniques. Every day I generate a new file containing some table drops, some
table creates and about 7000 insert statements. This is ftp'd up to our ISP,
where a cronjob uses 'psql -f' to update the Website data. Great, all is well.
The intranet mirror for the client later grabs the file from the ISP and
attempts the same 'psql -f' but appears to stop after a few inserts. Running the
'psql -f' from the command line works just fine.
So.. what is it about the cron job that is limiting? I know this is probably a
systems issue, rather than a PostgreSQL issue per se, but I am completely
stumped. And this is all a little embarassing!
Linux Mandrake 7.0, Intel platform, postgres 6.5.2
--
# Allan Kelly http://www.plotsearch.co.uk
# (+44) (0)1506 417130 x 229
# allan(dot)kelly(at)buildstore(dot)co(dot)uk(dot)(dot)(dot) ..
# /Software Engineer/i . . . . .
# ------------------------------ * . . . . .
# "If you are a Visual Basic programmer, * . . .
# these details are none of your business." * . . .
# Mr Bunny's Guide to Active X, by Carlton Egremont III * . .
# ------------------------------ vi: set noet tw=80 sts=4 ts=8 : .
From | Date | Subject | |
---|---|---|---|
Next Message | Poet/Joshua Drake | 2000-06-05 13:25:23 | [OT] Book on Postgres (Not a question) |
Previous Message | Jean-Marc Libs | 2000-06-05 10:47:34 | Problem with joins |