Re: Add small detail to RAISE statement descripton

jian he <jian.universality@gmail.com>

From: jian he <jian.universality@gmail.com>
To: Igor Gnatyuk <ig953or@gmail.com>
Cc: pgsql-docs@lists.postgresql.org
Date: 2024-05-22T11:13:14Z
Lists: pgsql-docs

Attachments

On Wed, May 22, 2024 at 4:18 PM Igor Gnatyuk <ig953or@gmail.com> wrote:
>
> Hi.
>
> Thanks for the comments. I fixed my mistakes by specifying sqlcode
> instead of sqlstate and changed the phrase
> with an explicit listing of options in USING. In addition, I moved the
> paragraph with it below.
> Please check out the new patch version in the attachment.
>

after git apply

jian@jian:~/Desktop/pg_src/src7/postgres$ git apply
$PATCHES/fix_doc_raise_v3.patch
jian@jian:~/Desktop/pg_src/src7/postgres$ git diff
diff --git a/doc/src/sgml/plpgsql.sgml b/doc/src/sgml/plpgsql.sgml
old mode 100644
new mode 100755

-----------------
i guess, that means your patch (fix_doc_raise_v3) has some structural problem.

so I wrote it based on fix_doc_raise_v2.patch.
please check attached.


Feel free to change it.

Commits

  1. Doc: improve description of plpgsql's RAISE command.