Questions tagged [comments]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
91 views

What is the maximum length of a comment in PostgreSQL?

PostgreSQL has a special piece of a functionality called COMMENT which attaches metadata to an identifier or any type (schema, table, column, function, type, domain, etc). It looks like this, COMMENT ...
5
votes
2answers
172 views

SQL Comments disappear with psql and `\e`

Is there anyway at all, ever to change the behavior of comments in psql. Take the query below. Execute it. CREATE TABLE foo AS SELECT x AS id, -- x AS id2, x AS id3 FROM generate_series(1,...
3
votes
1answer
562 views

Can comments in stored procedures cause problems

We're running a webserver that calls stored procedures to compute complex queries. Using sp_who2, we've discovered a peculiar issue where an abnormal number of processes would be stuck on SELECT state ...
28
votes
1answer
22k views

Changing mysql table comment

I know that mysql table comment can be defined at the creation with: create table (...)comment='table_comment'; And you can display comments by: show table status where name='table_name'; How do ...
0
votes
1answer
3k views

Line Comment in MongoDB config file

How to mark a line comment in mongodb configuration file? cpu=true #temporary for dev env Is this the right way? There is no clue about it in their website page about setting the configuration ...
7
votes
1answer
6k views

Comments in EXPDB parameter file

Is there a way to put comments in a data pump export parameter file?
2
votes
2answers
2k views

How can can I get object definitions stripped of all comments?

When I want to know if a stored procedure or views references a given name (table, view or column), I need a version of the object definition stripped of all comments. Is this possible by a SQL ...