Re: Function PostgreSQL 9.2

From: "drum(dot)lucas(at)gmail(dot)com" <drum(dot)lucas(at)gmail(dot)com>
To: Adrian Klaver <adrian(dot)klaver(at)aklaver(dot)com>
Cc: Postgres General <pgsql-general(at)postgresql(dot)org>
Subject: Re: Function PostgreSQL 9.2
Date: 2016-04-20 02:40:24
Message-ID: CAE_gQfUSvYHVP+FxTs8n+rkj7pip6NA_VoNz1yXuoRa5eBVbGA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Just forgot to say:

[...]

>
>
>>
>> Does increment_client_code relate to users or some other table, say
>> clients?
>>
>>
> nope.. there is no link between them
>
>

If the users.code is empty/null, then the trigger has to get the last
number from client_code_increment and put on the users.code column

>
>
[...]

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Mike Sofen 2016-04-20 02:50:27 Re: Function PostgreSQL 9.2
Previous Message drum.lucas@gmail.com 2016-04-20 02:34:19 Re: Function PostgreSQL 9.2