Liao Bowen PostgreSQL listen/notify Push message

Using PostgreSQL to push messages to the client#listen Message_channel;Notify Message_channel, ' Hello Todd ';Jdbc:Statement stmt = Conn.createstatement ();Stmt.execute ("LISTEN message_channel");Stmt.close ();notifications = Conn.getnotifications ()

PostgreSQL (Linux) Install, start, stop, restart

If we don ' t already has PostgreSQL installed, we must install it.$ sudo apt-get install PostgreSQLThis command installs the PostgreSQL server and various other packages.$ sudo update-rc.d-f postgresql removeremoving any system startup links

postgresql-user, library, mode, table

Because do not understand PostgreSQL psql tool, after the database is installed directly with the Pgadmin or navicat to connect the operation, in the confirmation of the initialization of the library after the default some things have been nowhere

The Nulls first/last function in PostgreSQL

Nulls First/last Function IntroductionThe Nulls first/last feature is primarily used in order by sort clauses, affecting the position of null values in the sort results. In simple terms, Nulls first means that the null value is always sorted before

PostgreSQL Synchronous replication Failure test

One, Standby synchronous replication node downpostgres=# select * from pg_stat_replication ;  pid  |  Usesysid | usename  | application_name | client_addr | client_ Hostname | client_port |         backend_start          | backend_xmin |   state    |

PostgreSQL Installation Guide on Ubuntu

Original address: http://www.cnblogs.com/bluesfeng/archive/2010/09/01/1815417.htmlInstallation Environment:Ubuntu 10.04-desktop-i386PostgreSQL 8.41. Installing PostgreSQLEnter the following commandsudo apt-get install PostgreSQLYou will be prompted

Installation and use of PostgreSQL under Windows

First, downloadSelect the version you want to download from Http://www.enterprisedb.com/products-services-training/pgdownload#windows, I am operating under the Win7 64 bit, The download is 9.4.4 version

The fifth chapter of PostgreSQL replication set up synchronous replication (2)

5.2 Understanding actual impact and performanceIn this chapter, we have discussed the actual impact as well as the performance impact. But is there any good theoretical example? Let's do a simple benchmark test to see how replication is done. We do

PostgreSQL master-slave diff view

1. Size differenceExecuting on the main librarySelect Application_name, Pg_size_pretty (Pg_xlog_location_diff (Pg_current_xlog_location (), replay_location)) As Difffrom pg_stat_replication;Or:selectapplication_name,client_addr,cur_xlog | |   '/'  |

PostgreSQL Configuration Optimization

Hardware and System Configuration Operating system Ubuntu13.04 Number of system bits 64 Cpu Intel (R) Core (TM) 2 Duo CPU Memory 4G Hard disk

PostgreSQL Stream Mode Setup

650) this.width=650; "alt=" postgresql-9.2.1.tar.bz2 "class=" editor-attachment "src="/e/u261/themes/default/images/ Spacer.gif "style=" Background:url ("/e/u261/lang/zh-cn/images/localimage.png") no-repeat center;border:1px solid # ddd; "/>1.

postgresql+postgis+pgrouting implementation of Shortest Path query (1)---line data processing and building topology

Prepare a line SHP data and import it into the postgres inside, postgres install PostGIS and pgrouting two plugins (see http://www.cnblogs.com/nidaye/p/4553522.html for a method). The fields of the line data are as follows: note the name of the

PostgreSQL backup script deleted 3 days ago Backup while compressing yesterday backup

Scripting Features:System environment: SUSE Linux Server 11.3 X641. Delete compressed files (. bak.tar.gz) 3 days ago2. Back up the database (uncompressed file. bak)3. Compress yesterday database backup file (. bak.tar.gz), delete yesterday database

Problems and Solutions for installing postgresql-8.4.4-1-windows-binaries in Windows

1. 'initdb' is not recognized as an internal or external command, operableprogram or batch file appears. Cause: a problem occurred when configuring the PATH environment variable. My problem is that the semicolon is entered in Chinese mode. Remember

PostgreSQL learning Manual (10) Roles and permissions

PostgreSQL manages database access permissions through roles. we can regard a role as a database user or a group of database users. Roles can have database objects, such as tables and indexes, or grant permissions on these objects to other roles to

Connecting ASP. net2.0 to the PostgreSQL database

  PostgreSQL is a very advanced object-relational database management system (ordbms). Currently, it has the most powerful features and the most advanced free software database system. Some features are not even available in commercial databases.

PostgreSQL learning Manual (11) Database Management

I. Overview: A database can be considered as a name set of an SQL object (database object). Generally, each database object (table, function, etc.) belongs to only one database. However, for some system tables, such as pg_database, it belongs to

Gforge for PostgreSQL Installation Guide (RH Linux 4.4 32 bits)

Preface: As an excellent collaborative development software in the Open Source world, gforge provides a complete software development platform for open source software development, developers are encouraged to make full use of this open platform to

Migration and backup of PostgreSQL databases in Windows

Backup: Pg_dumpall-u Postgres> backup_file Recovery: Psql-u Postgres Upgrade (of course, migrate the previous data to the new system ): The PostgreSQL version I used on Windows XP is 8.1. Now that the new version 8.3.4 is available, I want

Postgresql basic commands

After postgresql is installed, you cannot use other accounts to execute the following commands. By default, you can use the postgres account.   Createdb dbname Create a new database. If no database name is added, create a database name with the

Total Pages: 77 1 .... 43 44 45 46 47 .... 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.