About 3,540,000 results
Open links in new tab
  1. How can I comment special \ commands in PostgreSQL's psql …

    He asks how to comment in psql interactive console scripts (i.e. include commenting its backslashed meta-commands, which is the trick), not how comment the regular Postgres SQL.

  2. Adding comment to column when I create table in PostgreSQL?

    Nov 21, 2018 · How can I add comment to column in PostgreSQL? create table session_log ( UserId int index not null, PhoneNumber int index);

  3. How to retrieve the comment of a PostgreSQL database?

    COMMENT ON DATABASE mydatabase IS 'DB Comment'; However, what is the opposite statement, to get the comment of mydatabase? From the psql command line, I can see the …

  4. Getting list of table comments in PostgreSQL - Stack Overflow

    Postgresql allows adding comments to objects such as tables. For example I've added a comment to table "mytable" by using this SQL command: COMMENT ON TABLE mytable IS 'This is my …

  5. How to open a block of comments on PgAdmin query editor?

    There are 2 ways to mark comment in pgAdmin - PostgreSQL: the -- bla bla and the: /* bla bla bla bla*/ for the first one i use ctrl+k as short hot key. is there a hot key for the 2nd one? i know c...

  6. Retrieving Comments from a PostgreSQL DB - Stack Overflow

    Jan 23, 2017 · 1 I asked a similar question about Postgresql comments last month. If you dig through that, you'll come across some Perl code over on my blog that automates the process …

  7. postgresql - Create view in postgres sql with comments - Stack …

    Jun 14, 2017 · I create a view in postgres sql with sql statement CREATE OR REPLACE VIEW {ViewName} as Select ..... I am asking is there any way to create comments for columns in the …

  8. postgresql - Adding comment to query in PSQL - Stack Overflow

    Oct 24, 2013 · 2 I have an audit trigger on several tables in a PostgreSQL 9.2 db. For reference, it is based on this wiki page. It logs the client_query that was run as part of it. When I'm …

  9. How to keep comments inside a view definition with PostgreSQL?

    Jun 6, 2017 · I need to keep the comments I add inside a SQL query when I create views from complex queries, in order to come back to views definition more easily. Within pgAdminIII, …

  10. postgresql - Adding description of columns - Stack Overflow

    Mar 11, 2021 · comment on column the_table.ao_1 is 'This refers to a temperature sensor that is at the beginning of the outlet'; comment on column the_table.ao_2 is 'This refers to a …