add remove language chart show hidden hide
db<>fiddle
donate feedback about
By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
version
PostgreSQL 14.4 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-10), 64-bit
ERROR:  Post_id 57, with 15 references exceeds application limit of 5
CONTEXT:  PL/pgSQL function max_post_check() line 17 at RAISE

5 rows affected
post_id tag_id
57 13
57 51
57 6
57 3
57 36
ERROR:  Post_id 57, with 6 references exceeds application limit of 5
CONTEXT:  PL/pgSQL function max_post_check() line 17 at RAISE

post_id tag_id
57 13
57 51
57 6
57 3
57 36
1 rows affected
post_id tag_id
57 13
57 51
57 6
57 3
57 36
37 0
ERROR:  Post_id 57, with 6 references exceeds application limit of 5
CONTEXT:  PL/pgSQL function max_post_check() line 17 at RAISE

post_id tag_id
57 13
57 51
57 6
57 3
57 36
37 0