Re: table design

From: "Phillip Smith" <phillip(dot)smith(at)weatherbeeta(dot)com(dot)au>
To: <pgsql-novice(at)postgresql(dot)org>
Subject: Re: table design
Date: 2007-04-30 07:16:39
Message-ID: 00bb01c78af7$7eceb660$9b0014ac@wbaus090
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

Understand now. If the Bookings table is just a combination of Reservations
and Paid Guests, then could you use a View?

If not, maybe Table Inheritance would be something you're after. I'm not up
to speed on that aspect of things. Someone smarter than me may be able to
help, or the docs.

-----Original Message-----
From: pgsql-novice-owner(at)postgresql(dot)org
[mailto:pgsql-novice-owner(at)postgresql(dot)org] On Behalf Of hostel Nate
Sent: Monday, 30 April 2007 16:58
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: [NOVICE] table design

A reservation would be when someone is going to come but has yet not. Paid
guests would be people that are already here and paid. The booking table
would be either paid guests or reservations. It says that the room is taken
by either a reservation or a paid guest.

*******************Confidentiality and Privilege Notice*******************

The material contained in this message is privileged and confidential to
the addressee. If you are not the addressee indicated in this message or
responsible for delivery of the message to such person, you may not copy
or deliver this message to anyone, and you should destroy it and kindly
notify the sender by reply email.

Information in this message that does not relate to the official business
of Weatherbeeta must be treated as neither given nor endorsed by Weatherbeeta.
Weatherbeeta, its employees, contractors or associates shall not be liable
for direct, indirect or consequential loss arising from transmission of this
message or any attachments

In response to

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message hostel Nate 2007-04-30 08:11:21 Re: table design
Previous Message hostel Nate 2007-04-30 06:57:36 Re: table design