pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Adrian Klaver <adrian.klaver@aklaver.com>
To: Rob Sargent <robjsargent@gmail.com>
To: stan <stanb@panix.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Syntax question about returning value from an insert
Date: Wed, 25 Dec 2019 21:17:22 -0800
Message-ID: <c831f120-b3a4-4996-75c1-0517ceef5424@aklaver.com> (raw)
In-Reply-To: <0BC9EA4D-B1F0-4354-BE2C-80BA8E12097B@gmail.com>
References: <20191225230955.GB18451@panix.com>
	<0BC9EA4D-B1F0-4354-BE2C-80BA8E12097B@gmail.com>

On 12/25/19 4:48 PM, Rob Sargent wrote:
> 
> 
>> On Dec 25, 2019, at 3:10 PM, stan <stanb@panix.com> wrote:
>> There is more that that. There is a project number, so the actuall key
>> represents the combination of project number, and cost category, Thire is a
>> constraint on T2 that assures that these combinations will be unique.
>>
>> When the 1st record for a project, that gets charged to the misc. cost
>> category is entered, I need to assure that combination gets inserted into
>> T2
> 
> Is mine the only nose reacting to this? Cost categories aren’t specific to projects are they? Do you need more than a definition of cost categories and then project specific 

No, my nose is twitching also.

expenditures use the category id?
>>
>>
> 


-- 
Adrian Klaver
adrian.klaver@aklaver.com





view thread (14+ messages)  latest in thread

Message-ID: <c831f120-b3a4-4996-75c1-0517ceef5424@aklaver.com>
Permalink:  ../c831f120-b3a4-4996-75c1-0517ceef5424@aklaver.com/
Also on:    postgresql.org/message-id/c831f120-b3a4-4996-75c1-0517ceef5424@aklaver.com

 · 

reply

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-general@postgresql.org
  Cc: adrian.klaver@aklaver.com, robjsargent@gmail.com, stanb@panix.com
  Subject: Re: Syntax question about returning value from an insert
  In-Reply-To: <c831f120-b3a4-4996-75c1-0517ceef5424@aklaver.com>
  References: <20191225230955.GB18451@panix.com> <0BC9EA4D-B1F0-4354-BE2C-80BA8E12097B@gmail.com> <c831f120-b3a4-4996-75c1-0517ceef5424@aklaver.com>

* 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