From: Nathan Gelbard <gelbardn@intus.net>
To: pgsql-sql@postgresql.org
Subject: searching time arrays
Date: Thu, 19 Aug 1999 11:37:37 -0700 (PDT)
Message-ID: <Pine.GSO.3.96.990819113459.5869A-100000@floyd> (raw)
Greetings SQLians;
given the table below, how would i determine which name is
avail on a givin day at a givin time? the time arrays
contain an a list of hours a support person is available;
'{09:00:00,10:00:00,11:00:00,12:00:00}' etc.
any thoughts?
thanx
natez
CREATE TABLE support_sched
(
name varchar(30),
monday time[],
tuesday time[],
wednesday time[],
thursday time[],
friday time[],
saturday time[],
sunday time[]
);
Nate Gelbard office: 503.284.0369
Straylight Research fax : 516.828.8533
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-sql@postgresql.org
Cc: gelbardn@intus.net
Subject: Re: searching time arrays
In-Reply-To: <Pine.GSO.3.96.990819113459.5869A-100000@floyd>
References: <Pine.GSO.3.96.990819113459.5869A-100000@floyd>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox