- PostgreSQL Server Programming(Second Edition)
- Usama Dar Hannu Krosing Jim Mlodgenski Kirk Roybal
- 259字
- 2021-07-23 20:36:45
Conventions
In this book, you will find a number of text styles that distinguish between different kinds of information. Here are some examples of these styles and an explanation of their meaning.
Code words in text, database table names, folder names, filenames, file extensions, pathnames, dummy URLs, user input, and Twitter handles are shown as follows: "If any of the checks fail, you should do ROLLBACK
instead of COMMIT
."
A block of code is set as follows:
CREATE TABLE accounts(owner text, balance numeric, amount numeric); INSERT INTO accounts VALUES ('Bob',100); INSERT INTO accounts VALUES ('Mary',200);
When we wish to draw your attention to a particular part of a code block, the relevant lines or items are set in bold:
CREATE OR REPLACE FUNCTION fibonacci_seq(num integer) RETURNS SETOF integer AS $$ DECLARE a int := 0; b int := 1; BEGIN IF (num <= 0) THEN RETURN; END IF; RETURN NEXT a; LOOP EXIT WHEN num <= 1; RETURN NEXT b; num = num - 1; SELECT b, a + b INTO a, b; END LOOP; END; $$ LANGUAGE plpgsql;
Any command-line input or output is written as follows:
$ psql -c "SELECT 1 AS test"
New terms and important words are shown in bold. Words that you see on the screen, for example, in menus or dialog boxes, appear in the text like this: "Enter some values into the columns, as seen in the preceding screenshot, and click on the Debug button."
- Windows系統管理與服務配置
- C++面向對象程序設計(微課版)
- Mastering phpMyAdmin 3.4 for Effective MySQL Management
- Swift 3 New Features
- 零基礎學Python網絡爬蟲案例實戰全流程詳解(高級進階篇)
- Flutter跨平臺開發入門與實戰
- Kotlin從基礎到實戰
- C#程序設計教程(第3版)
- SQL 經典實例
- Visual Foxpro 9.0數據庫程序設計教程
- AutoCAD 2009實訓指導
- STM8實戰
- Drupal 8 Development Cookbook(Second Edition)
- Spark技術內幕:深入解析Spark內核架構設計與實現原理
- C++17 By Example