Thread: RE: PGA2 : rule on view and depending

RE: PGA2 : rule on view and depending

From
"frank_lupo"
Date:
> > 
> > 
> > > -----Original Message-----
> > > From: frank_lupo [mailto:frank_lupo@email.it] 
> > > Sent: 14 April 2003 16:09
> > > To: Dave Page
> > > Cc: pgadmin-hackers
> > > Subject: RE: [pgadmin-hackers] PGA2 : rule on view and depending
> > > 
> > > 
> > > > Hi Frank,
> > > > 
> > > > This seems to have upset my mailer - can you send the file again 
> > > > please?
> > > > 
> > > > Regards, Dave.
> > > > 
> > > 
> > 
> > Hi Frank,
> > 
> > The files have arrived OK this time, but I don't think your code will
> > work with PostgreSQL 7.2 will it? The pg_depends table wasn't there then
> > so we need some other method for backwards compatibility, or at least
> > something that will provide the original behaviour on 7.2 and the new
> > behaviour on 7.3.
> > 
> > Regards, Dave.
> > 
> > 
> 
> The error is in the schema.
  In pgad

m
in2 the sub tvDepend filter the version of postgresql. 0D
> 
> 
> 0A
> Bye !!
> Frank Lupo (Wolf) !!
> 
> /\_ _/\
> \ o o /
> --ooo-----ooo---
> 
> 
> 
> --
> Email.it, the professional e-mail, gratis per te: http://www.email.it/f
> 
> Sponsor:
> Sconti fino al 20% per i magnifici bouquet di Artefiori! Clicca qui!
> Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=750&d=14-4
> 
> 
> ---------------------------(end of broadcast)---------------------------
> TIP 4: Don't 'kill -9' the postmaster
> 

Change the DepRef function in basDepend.

Add filter version

If objVersion.VersionNum < 7.3 Then
    Set DepRef = colDep
    Exit Function
End If


Bye !!
Frank Lupo (Wolf) !!

/\_ _/\
\ o o /
--ooo-----ooo---


--
Email.it, the professional e-mail, gratis per te: http://www.email.it/f

Sponsor:
La lavatrice ti ha abbandonato? Cerca chi ti serve su QxService e potrai vincere un Nec e606 UMTS! Clicca qui!
Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=1412&d=14-4