Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1ZP767-0005ee-Ig for pgsql-docs@arkaria.postgresql.org; Tue, 11 Aug 2015 10:47:59 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1ZP767-0005V2-4d for pgsql-docs@arkaria.postgresql.org; Tue, 11 Aug 2015 10:47:59 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1ZP75Z-000435-Lz for pgsql-docs@postgresql.org; Tue, 11 Aug 2015 10:47:25 +0000 Received: from mail-ig0-x22c.google.com ([2607:f8b0:4001:c05::22c]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1ZP75X-0006eB-3b for pgsql-docs@postgresql.org; Tue, 11 Aug 2015 10:47:24 +0000 Received: by igfj19 with SMTP id j19so68891038igf.1 for ; Tue, 11 Aug 2015 03:47:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=nuZZWyAMWeekgUcxHFfJJhoYJMnqOyTQnzIEy0XJ+oU=; b=bqUxUS1c2Ksl+1HqwAllyQ9wkv8zWscnQ5IHNH7TmqhL0/HnMJ1y2MZloJCbwCw5QD 8art405+eu1SaLXc8yfdqZHSj66Gre1t/mNGakz/maJd/PPCWVP98OycZXupINdPgFR8 lahHSbHawJrKv3eK0mhyMqJ85GY4NI1hQm0SkCG2jI0xud/RGTOmEmopJCcHYonoPf7x aQb1Dy7xOvUOfN8dpPgfNRhUHIlYRYgcGX2lMYLoZ9t24OBhr3tdYrbY7cGyCxR0Q+ch gjzj4HYIuWgoQf0NUmZ8LTHwQyzvVt/GxC6Ziz+sEDYszYLkSH+kIIYuphdsAB1RFx8W lyNA== MIME-Version: 1.0 X-Received: by 10.50.73.170 with SMTP id m10mr17569770igv.60.1439290042229; Tue, 11 Aug 2015 03:47:22 -0700 (PDT) Received: by 10.79.111.196 with HTTP; Tue, 11 Aug 2015 03:47:22 -0700 (PDT) Date: Tue, 11 Aug 2015 13:47:22 +0300 Message-ID: Subject: 36.3 Writing Tigger Functions in C From: Dmitry Igrishin To: pgsql-docs Content-Type: multipart/alternative; boundary=089e01183996b22a56051d06d3ab X-Pg-Spam-Score: -2.7 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org --089e01183996b22a56051d06d3ab Content-Type: text/plain; charset=UTF-8 Subparagparh 3: I suggest to replace: "but it is passed a "context" pointer pointing to a TriggerData structure" with "but it is passed a "context" pointer to a structure of type TriggerData" tg_trigtuple: I'm not sure why "skip the operation" is here: "if you don't want to replace the row with a different one (in the case of INSERT) or skip the operation" tg_newtuple: I'm not sure why "skip the operation" is here: "and you don't want to replace this row by a different one or skip the operation" and I suggest to replace: "and you don't want to replace this row by a different one" with "and you don't want to replace the row with a different one" anyway. -- // Dmitry. --089e01183996b22a56051d06d3ab Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Subparagparh 3:
I suggest to replace:
"= but it is passed a "context" pointer pointing to a TriggerData
structure"
with
"but it is passed a &= quot;context" pointer to a structure of type
TriggerData&quo= t;

tg_trigtuple:
I'm not sure why &q= uot;skip the operation" is here:
"if you don't want= to replace the row with a different one (in the
case of INSERT) = or skip the operation"

tg_newtuple:
I'm not sure why "skip the operation" is here:
"and you don't want to replace this row by a different one or
skip the operation"

and I sugge= st to replace:
"and you don't want to replace this row b= y a different one"
with
"and you don'= ;t want to replace the row with a different one"
anyway.=

--
// Dmitry.

--089e01183996b22a56051d06d3ab--