public inbox for [email protected]  
help / color / mirror / Atom feed
From: Pavel Stehule <[email protected]>
To: Bruce Momjian <[email protected]>
Cc: Tom Lane <[email protected]>
Cc: pgsql-docs <[email protected]>
Subject: Re: remove undocumented assign syntax from plpgsql doc
Date: Mon, 13 Jan 2014 15:36:18 +0100
Message-ID: <CAFj8pRAz=uZx4=egdrx1i3mHLSjBGtVb8+5DUY7tnCC=GNixDA@mail.gmail.com> (raw)
In-Reply-To: <[email protected]>
References: <CAFj8pRDHJqRwZd-GO1t3WnLnS--E943xPrEUSOT_nL8xr9mE2g@mail.gmail.com>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<[email protected]>
	<CAFj8pRDukaWkUtQRZujhbLRCh6haOY-FDunVXjf2X2XNdNOKGQ@mail.gmail.com>
	<[email protected]>
	<CAFj8pRAyAOi9ZJbxMBPkW+r03n+zQm6idojWWH2n17h8NGyXBA@mail.gmail.com>
	<[email protected]>
	<CAFj8pRAPNM0__k9FsBJc1ubyHq8xoU0TxgoHdLEud7sV=OaTDA@mail.gmail.com>
	<[email protected]>
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgsql-docs>

2014/1/13 Bruce Momjian <[email protected]>

> On Mon, Jan 13, 2014 at 06:10:24AM +0100, Pavel Stehule wrote:
> >     I find the rules above so complex that I don't see how we can
> recommend
> >     a best syntax.  What I did in the patch I just posted was to put the
> >     preferred operator first, but I don't see why we want to get into
> these
> >     details in the docs.
> >
> >
> > just a note about preferred variant should be ok. Using ':=' in GET
> DIAGNOSTICS
> > statement is just bad idea.
>
> Agreed.  I added a sentence in the first mention of GET DIAGNOSTICS, and
> indicated it was generic for that command.  What I also added was your
> description of when to use := and =, but I put it in the C comments so
> we have a record of it and if we need to expand the description or
> behavior later.
>

I'll be more happy if a comment about GET DIAGNOSTICS statement will be in
user space.

Regards

Pavel


>
> --
>   Bruce Momjian  <[email protected]>        http://momjian.us
>   EnterpriseDB                             http://enterprisedb.com
>
>   + Everyone has their own god. +
>


view thread (27+ messages)  latest in thread

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 using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: remove undocumented assign syntax from plpgsql doc
  In-Reply-To: <CAFj8pRAz=uZx4=egdrx1i3mHLSjBGtVb8+5DUY7tnCC=GNixDA@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox