Skip to main content

Questions tagged [comments]

6 votes
1 answer
966 views

When I wrote some comments before the CREATE PROCEDURE command, those comments seem to be preserved as part of procedure definition. For example, when I create procedure like this /*Comment header*/ ...
Yano_of_Queenscastle's user avatar
0 votes
1 answer
948 views

We can write comment to create a table: create database `mytest`; use `mytest`; create table `mytest` ( /* mytest mytest */ `code` varchar(15) NOT NULL, `type` varchar(20) NOT NULL ); How can ...
showkey's user avatar
  • 396
1 vote
1 answer
330 views

If I right-click a table (or any object) in pgAdmin 4 and select "Properties", it brings up a GUI window which allows me to change the name of the table and many other things. One of the ...
postgrrrsql's user avatar
0 votes
2 answers
2k views

I need to find all the stored procs that use Transactions, as I want to enable transaction abort to those procedures. However, --I didn't do this; it's inherited-- many of the stored procedures ...
Display name's user avatar
9 votes
1 answer
3k views

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 ...
Evan Carroll's user avatar
  • 65.8k
6 votes
2 answers
648 views

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,...
Evan Carroll's user avatar
  • 65.8k
3 votes
1 answer
685 views

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 ...
TtT23's user avatar
  • 275
42 votes
1 answer
39k views

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 ...
v14t's user avatar
  • 523
2 votes
1 answer
6k views

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 ...
abhisekp's user avatar
  • 123
9 votes
1 answer
11k views

Is there a way to put comments in a data pump export parameter file?
Leigh Riffel's user avatar
  • 23.9k
2 votes
2 answers
2k views

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 ...
bernd_k's user avatar
  • 12.4k