| From: | Michael Ansley <Michael(dot)Ansley(at)intec-telecom-systems(dot)com> |
|---|---|
| To: | "'Kenn Thompson'" <KThompson(at)adestagroup(dot)com> |
| Cc: | "'pgsql-sql(at)postgresql(dot)org'" <pgsql-sql(at)postgresql(dot)org> |
| Subject: | RE: Object features of pg |
| Date: | 2000-10-03 14:25:43 |
| Message-ID: | 7F124BC48D56D411812500D0B747251406144D@fileserver002.intecsystems.co.uk |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-sql |
No. I want the address attribute of the client class to be of type address,
which is defined by the address table. Perhaps I should have named things a
little more clearly ;-)
>> -----Original Message-----
>> From: Kenn Thompson [mailto:KThompson(at)adestagroup(dot)com]
>> Sent: 03 October 2000 15:15
>> To: Michael(dot)Ansley(at)intec-telecom-systems(dot)com
>> Subject: Re: [SQL] Object features of pg
>>
>>
>> Shouldn't that be
>> create table address (address varchar(50), postcode varchar(9));
>> create table client(id integer, name varchar(30), address
>> varchar(50);
>> ?
>>
>> >>> Michael Ansley
>> <Michael(dot)Ansley(at)intec-telecom-systems(dot)com> 10/03/00 08:14AM >>>
>> I've done the following:
>>
>> create table address (address varchar(50), postcode varchar(9));
>> create table client(id integer, name varchar(30), address address);
>>
>> Now, how the hell do I get information into the address
>> field of client?
>> There appears to be very little in the manual dealing with
>> PGs object
>> features. Any pointers to places in the manual, or direct
>> instructions
>> would be gratefully accepted.
>>
>> Cheers...
>>
>> MikeA
>>
>>
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Ansley | 2000-10-03 14:52:50 | RE: Object features of pg |
| Previous Message | Michael Ansley | 2000-10-03 14:21:38 | RE: Object features of pg |