PostgreSQL Tutorial (19): SQL language function _postgresql

First, the basic concept: SQL functions can contain any number of queries, but the function only returns the result of the last query (which must be a select). In simple cases, returns the first row of the last query result. If the last query does

OSS Loading data to PostgreSQL

Oss_fdw On the Ali cloud, supports loading data into PostgreSQL and PPAs by OSS_FDW parallel OSS_FDW parameters Like other FDW interfaces, OSS_FDW provides data encapsulation of OSS for external data sources, and users can use OSS_FDW to read

Common commands for PostgreSQL command-line tools Psql

1. Connect to the server:Psql-h 192.168.1.88-u username-d DatabaseName2. Switch the database:\c dbname3. List all databases:\l4. List all current database tables:\d5. List all the fields of the table:\d TableName6. List the basic conditions of the

SSIS Configuration connect PostgreSQL Database

Professional noun Explanation:1, Odbc:open Database connectivity open Databases interconnection.Simply say he is an intermediary, you develop the software to connect him, he connected to the data source (that is, the database). This database is

Free to install PostgreSQL startup service and CREATE database

Installation Environment Windows7 64-bit systemFree Install version postgresql-10.3-1-windows-x64-binaries=======================================Decompression after unable to connect to the database, PGADMIN4 can not start, online to find a variety

PostgreSQL Operation-psql Basic commands

I. Description of the orderPsql is the interactive terminal of PostgreSQL, which is equivalent to Sqlplus in Oracle. When the command is executed to connect to the database, the default user and database are Postgressecond, the command parameters-C

PostgreSQL Disk usage Size monitoring

Table size Informationpostgres=# SELECT *, Pg_size_pretty (total_bytes) as Totalpostgres-#, Pg_size_pretty (index_bytes) as Indexpostgres-#, Pg_size_pretty (toast_bytes) as Toastpostgres-#, Pg_size_pretty (table_bytes) as tablepostgres-# from

Accessing the PostgreSQL database

Once you have created the database, you can access it: Terminal program psql , which runs PostgreSQL interaction, allows you to interactively enter, edit, and execute SQL commands. Create and manage databases using our existing

PostgreSQL function Demo

Create or Replace function refresh_product_usage () returns void as $ $declarerec record;sub_rec record;init_pro_id integer ;p arent_product_id integer;now_bom_id integer;total_product_qty float;cinsider_efficiency boolean:=true;begin TRUNC ATE

PostgreSQL-Three Ways to install

Recently contacted the installation of PostgreSQL, and share with you.First, IntroductionPostgreSQL is a very complex object-relational database management system (ORDBMS), and is currently the most powerful, feature richest and most complex free

PowerDesigner Reverse Engineering PostgreSQL Database

1. Environment Preparation:A) Install PowerDesigner, take PowerDesigner15.1 as an exampleb) Install Java JDK, take jdk-7-windows-i586 as an examplec) Download the Postgressql JDBC driver jar package, taking Postgresql-8.1-415.jdbc2.jar as an

Problem calling PostgreSQL stored procedure, unable to find function name

PostgreSQL tables, function names are strictly case-sensitive, so when used without notice that the case of the problem is easy to find the function name error, but in the last two days we found that if the function parameters use a custom data type,

Ubuntu under PostgreSQL installation configuration

One, install and configure, and set the remote login user name and password1. Installing PostgreSQLsudo apt-get updatesudo apt-get install postgresql-9.4 After installing PostgreSQL under Ubuntu, it is automatically registered as a service

Use of using when changing data types in PostgreSQL ALTER TABLE < go >

The type of transformation used to display when modifying table field types.Original Description:SET DATA TYPEThis form changes the type of a column of a table. Indexes and simple table constraints involving the column Willbe automatically converted

PostgreSQL User Guide

The CentOS series installation is divided into: Yum Installation SOURCE Installation One, yum installationFollow the official installation documentation. Install PostgreSQL official Yum repositoryYum Install

The first chapter of PostgreSQL Replication Understanding Replication Concepts (2)

1.2 Different types of replicationNow that you have completely understood the limitations of physics and theory, you can start learning different types of replication.1.2.1 Synchronous and asynchronous replicationThe first distinction we can make is

The fourth chapter of PostgreSQL replication set up asynchronous replication (7)

4.7 Conflict ManagementIn PostgreSQL, stream replication data flows in only one direction. Xlog is provided by master to several slave that consume transaction logs and provide you with a better backup of your data. You may wonder how this can lead

Ubuntu12.04 under postgresql-9.3.4 compile source error, no ReadLine library not found

1. Problem phenomenon:Download Link: http://www.postgresql.org/ftp/source/Compile and install after decompression (requires root permission)1 [email protected]:/opt/postgresql-9.3.4# tar-zxvf postgresql-9.3.4.tar.gz 2 [email

VMWare Hyperic and Dell foglight have built-in databases as PostgreSQL

The newly released Dell Foglight 5.8.5 Application Performance Management (APM) product, which has migrated the built-in database from MySQL to PostgreSQL, can be analyzed for several reasons: one is a license issue, and after MySQL was acquired by

PostgreSQL database cluster and PL/proxy configuration Installation Guide

  Author: icyriverSource: http://icyriver.net /? P = 176     PL/ProxyAndPostgreSQLThe structure relationship of the cluster can be clearly expressed. If you are not familiar with pL/proxy and PostgreSQL clusters, you can seeSkype plans for

Total Pages: 77 1 .... 17 18 19 20 21 .... 77 Go to: GO

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.