On Tue, 2004-01-06 at 22:06, Adam Ruth wrote:
> > 1. Modifying the applications to use schemas instead of connecting to
> >    specific databases.  Getting the authors to use schemas so I do it
> >    once.
> 
> One thing I'd suggest would be to modify the application to issue a 
> "set search_path = yourschema;" at the beginning, then the rest of the 
> application wouldn't need to change.  That's what I did when I did 
> something similar.

You can use ALTER DATABASE to set that up permanently, without touching
the application.

-- 
Oliver Elphick                                [EMAIL PROTECTED]
Isle of Wight, UK                             http://www.lfix.co.uk/oliver
GPG: 1024D/3E1D0C1C: CA12 09E0 E8D5 8870 5839  932A 614D 4C34 3E1D 0C1C
                 ========================================
     "Thou shalt not avenge, nor bear any grudge against the
      children of thy people, but thou shalt love thy  
      neighbour as thyself. I am the LORD."             
                                 Leviticus 19:18 


---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to [EMAIL PROTECTED]

Reply via email to