PostgreSQL 8.0 DocumentationA double dash (--) starts a comment that extends to the end of the line. A /* starts a block comment that extends to the next occurrence of */. Block comments cannot be nested, but double dash comments comments can be enclosed into a block comment and a double dash can hide the block comment delimiters /* and */. Any statement in the statement section of a block can be a subblock. Subblocks can be used for system-wide psqlrc file and the user’s ~/.psqlrc file can be made version-specific by appending a dash and the PostgreSQL release number, for example ~/.psqlrc-8.0.0. A matching version-specific file will0 码力 | 1422 页 | 9.92 MB | 1 年前3
PostgreSQL 8.0 DocumentationA double dash (--) starts a comment that extends to the end of the line. A /* starts a block comment that extends to the next occurrence of */. Block comments cannot be nested, but double dash comments comments can be enclosed into a block comment and a double dash can hide the block comment delimiters /* and */. Any statement in the statement section of a block can be a subblock. Subblocks can be used for system-wide psqlrc file and the user’s ~/.psqlrc file can be made version-specific by appending a dash and the PostgreSQL release number, for example ~/.psqlrc-8.0.0. A matching version-specific file will0 码力 | 1332 页 | 9.76 MB | 1 年前3
PostgreSQL 8.1.11 DocumentationA double dash (--) starts a comment that extends to the end of the line. A /* starts a block comment that extends to the next occurrence of */. Block comments cannot be nested, but double dash comments comments can be enclosed into a block comment and a double dash can hide the block comment delimiters /* and */. Any statement in the statement section of a block can be a subblock. Subblocks can be used for system-wide psqlrc file and the user’s ~/.psqlrc file can be made version-specific by appending a dash and the PostgreSQL release number, for example ~/.psqlrc-8.1.11. A matching version-specific file0 码力 | 1582 页 | 12.19 MB | 1 年前3
PostgreSQL 8.1 DocumentationA double dash (--) starts a comment that extends to the end of the line. A /* starts a block comment that extends to the next occurrence of */. Block comments cannot be nested, but double dash comments comments can be enclosed into a block comment and a double dash can hide the block comment delimiters /* and */. 604 Chapter 36. PL/pgSQL - SQL Procedural Language Any statement in the statement section of system-wide psqlrc file and the user’s ~/.psqlrc file can be made version-specific by appending a dash and the PostgreSQL release number, for example ~/.psqlrc-8.1.0. A matching version-specific file will0 码力 | 1548 页 | 11.54 MB | 1 年前3
PostgreSQL 14.10 Documentationthe table INSERT INTO passwd VALUES ('admin','xxx',0,0,'Admin','111-222-3333',null,'/root','/bin/dash'); INSERT INTO passwd VALUES ('bob','xxx',1,1,'Bob','123-456-7890',null,'/home/bob','/bin/zsh'); user_name) WITH CHECK ( current_user = user_name AND shell IN ('/bin/bash','/bin/sh','/bin/dash','/bin/zsh','/bin/ tcsh') ); -- Allow admin all normal rights GRANT SELECT, INSERT, UPDATE, DELETE --- admin | xxx | 0 | 0 | Admin | 111-222-3333 | | /root | /bin/dash bob | xxx | 1 | 1 | Bob | 123-456-7890 | | /home/bob | /bin/zsh0 码力 | 3032 页 | 13.27 MB | 1 年前3
PostgreSQL 14.10 Documentationthe table INSERT INTO passwd VALUES ('admin','xxx',0,0,'Admin','111-222-3333',null,'/root','/bin/ dash'); INSERT INTO passwd VALUES ('bob','xxx',1,1,'Bob','123-456-7890',null,'/home/bob','/bin/ zsh'); user_name) WITH CHECK ( current_user = user_name AND shell IN ('/bin/bash','/bin/sh','/bin/dash','/bin/zsh','/bin/ tcsh') 79 Data Definition ); -- Allow admin all normal rights GRANT SELECT --- admin | xxx | 0 | 0 | Admin | 111-222-3333 | | /root | /bin/dash bob | xxx | 1 | 1 | Bob | 123-456-7890 | | /home/bob | /bin/zsh0 码力 | 2871 页 | 13.38 MB | 1 年前3
PostgreSQL 8.2 DocumentationA double dash (--) starts a comment that extends to the end of the line. A /* starts a block comment that extends to the next occurrence of */. Block comments cannot be nested, but double dash comments comments can be enclosed into a block comment and a double dash can hide the block comment delimiters /* and */. Any statement in the statement section of a block can be a subblock. Subblocks can be used for system-wide psqlrc file and the user’s ~/.psqlrc file can be made version-specific by appending a dash and the PostgreSQL release number, for example ~/.psqlrc-8.2.22. A matching version-specific file0 码力 | 1762 页 | 5.43 MB | 1 年前3
PostgreSQL 8.2 DocumentationA double dash (--) starts a comment that extends to the end of the line. A /* starts a block comment that extends to the next occurrence of */. Block comments cannot be nested, but double dash comments comments can be enclosed into a block comment and a double dash can hide the block comment delimiters /* and */. Any statement in the statement section of a block can be a subblock. Subblocks can be used for system-wide psqlrc file and the user’s ~/.psqlrc file can be made version-specific by appending a dash and the PostgreSQL release number, for example ~/.psqlrc-8.2.13. A matching version-specific file0 码力 | 1748 页 | 13.12 MB | 1 年前3
PostgreSQL 9.5.25 Documentation
Populate the table INSERT INTO passwd VALUES (’admin’,’xxx’,0,0,’Admin’,’111-222-3333’,null,’/root’,’/bin/dash’); INSERT INTO passwd VALUES (’bob’,’xxx’,1,1,’Bob’,’123-456-7890’,null,’/home/bob’,’/bin/zsh’); INSERT (current_user = user_name) WITH CHECK ( current_user = user_name AND shell IN (’/bin/bash’,’/bin/sh’,’/bin/dash’,’/bin/zsh’,’/bin/tcsh’) ); -- Allow admin all normal rights GRANT SELECT, INSERT, UPDATE, DELETE -----------+-------------+----------- admin | xxx | 0 | 0 | Admin | 111-222-3333 | | /root | /bin/dash bob | xxx | 1 | 1 | Bob | 123-456-7890 | | /home/bob | /bin/zsh alice | xxx | 2 | 1 | Alice | 098-765-43210 码力 | 2558 页 | 6.27 MB | 1 年前3
PostgreSQL 9.5 DocumentationPopulate the table INSERT INTO passwd VALUES (’admin’,’xxx’,0,0,’Admin’,’111-222-3333’,null,’/root’,’/bin/dash’); INSERT INTO passwd VALUES (’bob’,’xxx’,1,1,’Bob’,’123-456-7890’,null,’/home/bob’,’/bin/zsh’); INSERT (current_user = user_name) WITH CHECK ( current_user = user_name AND shell IN (’/bin/bash’,’/bin/sh’,’/bin/dash’,’/bin/zsh’,’/bin/tcsh’) ); -- Allow admin all normal rights GRANT SELECT, INSERT, UPDATE, DELETE -----------+-------------+----------- admin | xxx | 0 | 0 | Admin | 111-222-3333 | | /root | /bin/dash bob | xxx | 1 | 1 | Bob | 123-456-7890 | | /home/bob | /bin/zsh alice | xxx | 2 | 1 | Alice | 098-765-43210 码力 | 2714 页 | 6.33 MB | 1 年前3
共 40 条
- 1
- 2
- 3
- 4













