
Episode 171
Comments and metadata
Postgres FM · Nikolay Samokhvalov and Michael Christofides
February 13, 202636m 9s
Audio is streamed directly from the publisher (media.transistor.fm) as published in their RSS feed. Play Podcasts does not host this file. Rights-holders can request removal through the copyright & takedown page.
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
Topics
PostgresPostgreSQLDatabasesSQLtechnology