Show notes
Nik and Michael discuss query level comments, object level comments, and another way of adding object level metadata.
Here are some links to things they mentioned:
• Object comments https://www.postgresql.org/docs/current/sql-comment.html
• Query comment syntax (from an old version of the docs) https://www.postgresql.org/docs/7.0/syntax519.htm
• SQL Comments, Please! (Post by Markus Winand) https://modern-sql.com/caniuse/comments
• “While C-style block comments are passed to the server for processing and removal, SQL-standard comments are removed by psql.” https://www.postgresql.org/docs/current/app-psql.html
• marginalia https://github.com/basecamp/marginalia
• track_activity_query_size https://www.postgresql.org/docs/current/runtime-config-statistics.html#GUC-TRACK-ACTIVITY-QUERY-SIZE
• Custom Properties for Database Objects Using SECURITY LABELS (post by Andrei Lepikhov) https://www.pgedge.com/blog/custom-properties-for-postgresql-database-objects-without-core-patches
~~~
What did you like or not like? What should we discuss next time? Let us know via a YouTube comment, on social media, or by commenting on our Google doc!
~~~
Postgres FM is produced by:
• Michael Christofides, founder of pgMustard
• Nikolay Samokhvalov, founder of Postgres.ai
With credit to:
• Jessie Draws for the elephant artwork
Website: share.transistor.fm
