From: | jian he <jian(dot)universality(at)gmail(dot)com> |
---|---|
To: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | contrib/spi/insert_username.c comment typo? |
Date: | 2023-05-29 04:31:37 |
Message-ID: | CACJufxFRj2-x38-MN8eypmTZc6-zdUTsXWzyNm-5Vi663Fru9A@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
hi.
reading through contrib/spi/insert_username.c
https://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=contrib/spi/insert_username.c;h=a2e1747ff74c7667665dcc334f54ad368885d83c;hb=HEAD
36
<https://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=contrib/spi/insert_username.c;h=a2e1747ff74c7667665dcc334f54ad368885d83c;hb=HEAD#l36>
/* sanity checks from autoinc.c */
37
<https://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=contrib/spi/insert_username.c;h=a2e1747ff74c7667665dcc334f54ad368885d83c;hb=HEAD#l37>
if (!CALLED_AS_TRIGGER(fcinfo))
38
<https://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=contrib/spi/insert_username.c;h=a2e1747ff74c7667665dcc334f54ad368885d83c;hb=HEAD#l38>
/* internal error */
39
<https://git.postgresql.org/gitweb/?p=postgresql.git;a=blob;f=contrib/spi/insert_username.c;h=a2e1747ff74c7667665dcc334f54ad368885d83c;hb=HEAD#l39>
elog(ERROR, "insert_username: not fired by trigger manager");
should it be /* sanity checks from insert_username.c */ ?
From | Date | Subject | |
---|---|---|---|
Next Message | John Naylor | 2023-05-29 04:43:13 | Re: contrib/spi/insert_username.c comment typo? |
Previous Message | Heikki Linnakangas | 2023-05-29 02:49:52 | Re: Cleaning up nbtree after logical decoding on standby work |