Re: What is the benefit of schemas?

From: Mikael Carneholm <carniz(at)spray(dot)se>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: What is the benefit of schemas?
Date: 2003-02-03 20:06:44
Message-ID: 1044302804007375@lycos-europe.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Pre-7.3 schemas:

\c appfoo appfoouser
select customerID
from appfootable
where appfootable.barcolumn = 'some value';

\c customers customersuser
select *
from customer
where ID = customerID;

Post-7.3 schemas:

\c companydb companydbuser
select c.*
from customers.customer c, appfoo.appfootable a
where a.barcolumn = 'some value' and a.customerID = c.ID;

'nough said? :)

_____________________________________________________________
Här börjar internet!
Skaffa gratis e-mail och gratis internet på http://www.spray.se

Träffa folk från hela Sverige på ett och samma ställe - http://chat.spray.se/

Browse pgsql-general by date

  From Date Subject
Next Message Mikael Carneholm 2003-02-03 20:13:54 Re: 335 times faster (!)
Previous Message Nigel J. Andrews 2003-02-03 20:00:32 Re: 335 times faster (!)