From: | Ertan Küçükoğlu <ertan(dot)kucukoglu(at)1nar(dot)com(dot)tr> |
---|---|
To: | <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Advise on primary key for detail tables (OS: Raspberry Pi) |
Date: | 2017-04-06 13:40:29 |
Message-ID: | 026c01d2aedb$5af5ba50$10e12ef0$@1nar.com.tr |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
-----Original Message-----
From: Adrian Klaver [mailto:adrian(dot)klaver(at)aklaver(dot)com]
Sent: Thursday, April 6, 2017 4:18 PM
To: Ertan Küçükoğlu <ertan(dot)kucukoglu(at)1nar(dot)com(dot)tr>;
pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] Advise on primary key for detail tables (OS:
Raspberry Pi)
> On 04/06/2017 03:27 AM, Ertan Küçükoğlu wrote:
> > Sorry for top posting.
> >
> > I have a serial in master table because I need to know data insertion
order.
> > DateTime on Raspberry Pi is not accurate due to power loss and lack of
> > internet access to fetch correct time from.
>
> Understand, though it does beg the question, why have the uuid column?
>
> --
> Adrian Klaver
> adrian(dot)klaver(at)aklaver(dot)com
Programmatically it is easier as I can start saving from very bottom detail
table instead of having to save first the master table record. Users will
directly work on detail tables. Master table will be saved & updated by
software automatically as last piece of information.
From | Date | Subject | |
---|---|---|---|
Next Message | Stephen Frost | 2017-04-06 13:46:29 | Re: A change in the Debian install |
Previous Message | Adrian Klaver | 2017-04-06 13:17:56 | Re: Advise on primary key for detail tables (OS: Raspberry Pi) |