Re: pg_dump in 7.4

From: Philip Warner <pjw(at)rhyme(dot)com(dot)au>
To: Neil Conway <neilc(at)samurai(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: "Christopher Kings-Lynne" <chriskl(at)familyhealth(dot)com(dot)au>, "Hackers" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: pg_dump in 7.4
Date: 2002-11-14 05:43:46
Message-ID: 5.1.0.14.0.20021114164121.062a18b8@mail.rhyme.com.au
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

At 12:39 AM 14/11/2002 -0500, Neil Conway wrote:
>Perhaps when the function is defined, we run all the SQL queries in
>the function body through the parser/analyzer/rewriter, and then
>generate dependencies on the Query trees we get back?

Won't work for functions that build dynamic queries. But it might be
interesting/worthwhile to allow user-specified dependencies; that way if a
user has problems with database dumps etc, they could manually add
dependencies for C functions, dynamic query functions (where possible) etc.
It's probably more trouble than it's worth, but worth considering.

----------------------------------------------------------------
Philip Warner | __---_____
Albatross Consulting Pty. Ltd. |----/ - \
(A.B.N. 75 008 659 498) | /(@) ______---_
Tel: (+61) 0500 83 82 81 | _________ \
Fax: (+61) 03 5330 3172 | ___________ |
Http://www.rhyme.com.au | / \|
| --________--
PGP key available upon request, | /
and from pgp5.ai.mit.edu:11371 |/

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2002-11-14 05:46:55 Re: RC1?
Previous Message Neil Conway 2002-11-14 05:43:32 Re: RC1?