Re: [SQL] Constraint->function dependency and dump in 7.3

2004-07-13 Thread SZŰCS Gábor
Dear Rod, That sounds as good as simple ;) As for as patching, we do something like that. Developed a PHP script that compares schema files (not dumps, but source codes instead) to the actual. Say, it creates a temp table and compares it to the existing one, examining pg_attributes, pg_indexes, pg

Re: [SQL] Constraint->function dependency and dump in 7.3

2004-07-13 Thread Rod Taylor
On Tue, 2004-07-13 at 13:42, SZŰCS Gábor wrote: > Dear Rod, > > Thanks. It'll be a pain to have two versions between the prod and devel > servers, but I'll forward this info to the chief. You can make this part easier on yourself. Dump the structure from production and migrate it to devel (fix t

Re: [SQL] Constraint->function dependency and dump in 7.3

2004-07-13 Thread SZŰCS Gábor
Dear Rod, Thanks. It'll be a pain to have two versions between the prod and devel servers, but I'll forward this info to the chief. Thanks again, G. %--- cut here ---% \end - Original Message - From: "Rod Taylor" <[EMAIL PROTECTED]> Sent: Tuesday,

Re: [SQL] Constraint->function dependency and dump in 7.3

2004-07-13 Thread Rod Taylor
> Checked, and So do you say, this problem persists in dbs dumped from 7.4 to > 7.4 too? i.e. upgrading to 7.4 (which we tested for quite some time now) > won't help? There may have been some minor fiddling to make it easier, but I wouldn't call it fixed by any means. > trying dump confirmed thi

Re: [SQL] Constraint->function dependency and dump in 7.3

2004-07-13 Thread SZŰCS Gábor
ything. G. %--- cut here ---% \end - Original Message - From: "Rod Taylor" <[EMAIL PROTECTED]> Sent: Monday, July 12, 2004 2:51 PM Subject: Re: [SQL] Constraint->function dependency and dump in 7.3 > On Mon, 2004-07-12 at 08:29, SZ

Re: [SQL] Constraint->function dependency and dump in 7.3

2004-07-12 Thread Együd Csaba
Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of SZŰCS Gábor > Sent: 2004. július 12. 14:30 > To: [EMAIL PROTECTED] > Subject: Re: [SQL] Constraint->function dependency and dump in 7.3 > > > Dear Fellow Countymen, > > I fear none of your

Re: [SQL] Constraint->function dependency and dump in 7.3

2004-07-12 Thread Rod Taylor
On Mon, 2004-07-12 at 08:29, SZŰCS Gábor wrote: > Dear Fellow Countymen, > > I fear none of your answers are acceptable for me. Also, from Csaba's > answer, this sounds to me more like a bug in pg_dump v7.3. It is a bug (or a missing feature) that should be solved with v7.5 for restoring to 7.5 o

Re: [SQL] Constraint->function dependency and dump in 7.3

2004-07-12 Thread SZŰCS Gábor
Dear Fellow Countymen, I fear none of your answers are acceptable for me. Also, from Csaba's answer, this sounds to me more like a bug in pg_dump v7.3. (1) I wish to transfer the full dump for daily mirroring. Thus, data-only isn't an option. (2) Dumping functions first won't work for SQL functi

Re: [SQL] Constraint->function dependency and dump in 7.3

2004-07-09 Thread Verebes Gabor
L PROTECTED] Subject: Re: [SQL] Constraint->function dependency and dump in 7.3 Hi Gábor! I had the same problem and someone pointed me the right direction. I tried to define a table default clause refering a function. Reloading the dump file an error messaged raised up saying that the referred

Re: [SQL] Constraint->function dependency and dump in 7.3

2004-07-08 Thread Együd Csaba
Hi Gábor! I had the same problem and someone pointed me the right direction. I tried to define a table default clause refering a function. Reloading the dump file an error messaged raised up saying that the referred function doesn't exist. This is because dumping out the schema pg_dump pushes out