Skip to navigation Skip to content
Simon Technology Blog
  • Architecture
  • Cloud
  • Database
  • Develop
  • Hardware
  • Industry
  • Language
  • Mobile
  • Opensource
  • OS
  • Web
Main Navigation

Category: Postgresql

PostgresQL is an object-relational database management system (ORDBMS) based on version 4.2 of POSTGRES developed by the Department of Computer Science at the University of California, Berkeley. It has now been renamed to PostgreSQL. PostgreSQL supports most SQL standards and provides many other modern features: complex queries, foreign keys, triggers, views, transaction integrity, MVCC. Similarly, PostgreSQL can be extended in many ways, for example, by adding new data types, functions, operators, aggregate functions, and indexes. Use, modify, and distribute PostgreSQL for free, whether it is for private, commercial, or academic research.

PostgreSQL – Postgres hierarchy – counting of sub-level, sorted by subkey or grandson

I want to know how to write a postgres subquery so that the following example will output what I need.

id parent_id postdate
1   -1 2015-03-10
2     1 2015-03-11 (child level 1)
3     1 2015

September 21, 2021By Simo Postgresql Child, Count, Date, Grandson, Hierarchy, Level, Postgres, PostgreSQL, SORT, structure, SubLeave a Comment

PostgreSQL arrangement by query optimization order

I encountered a small problem here.

SELECT DISTINCT ON (“reporting_processedamazonsnapshot”.”offer_id”) *
FROM “reporting_processedamazonsnapshot” INNER JOIN
“offers_boooffer”
ON (“report

September 21, 2021By Simo Postgresql arrangement, Optimization, order, pass, PostgreSQL, queryLeave a Comment

PostgreSQL – Error in top level: flunt.entityError.Nodatabase

I am trying to fix an error I recently encountered while running the Vapor project.

It builds well, but when it runs, it crashes. This is my log:

fatal error: Error raised at top level:

September 21, 2021By Simo PostgresqlLeave a Comment

PostgreSQL – Database exception in Slick 3.0 when insertion insertion

By batch inserting thousands of records every 5 seconds in Smooth 3, I got

org.postgresql .util.PSQLException: FATAL: sorry, too many clients already My data access layer looks like:

va

September 21, 2021By Simo Postgresql 3.0, Batch, database, exception, insertion, Medium, PostgreSQL, slick, timeLeave a Comment

Mono a function for each updated row in PostgreSQL

I have a sql UPDATE statement in the plpgsql function. I now want to call the pg_notify function for each updated row, and am not sure if my solution is the best possibility.

I don’t know whe

September 21, 2021By Simo Postgresql call, each, function, in, one, PostgreSQL, Row, updatedLeave a Comment

Receive the postgreSQL backend behavior after “Termination” (‘x’) after “Commit”

We run postgres server v9.2.8 and use epgsql (erlang) as the client library. In some cases, we produce in a production environment but cannot reproduce it in a development environment , We are losi

September 21, 2021By Simo Postgresql after, backend, behavior, Commit, end, PostgreSQLLeave a Comment

PostgreSQL Change Configuration Question

Supplement: How to determine the path of the psql configuration file

①Switch to the psql user, here is thunisoft.

② There are many ways to determine the path, here are some commonly use

September 21, 2021By Simo Postgresql change, configuration, effectiveness, PostgreSQL, problemLeave a Comment

Find loop references in the PostgreSQL table?

I have a property sheet (ID int,SourceID int,TargetID int,TargetType int)

ID SourceID TargetID< br />———————
1 123 456
2 456 789
3 1 123
4 456 1
5 2 1
I want to find all circular references. I want to write a PL/pgsql function for this.

here ID 4 = 456 1 123 456 circular reference

September 21, 2021By Simo Postgresql Circulation, Find, PostgreSQL, reference, tableLeave a Comment

Recursive JSON in PostgreSQL

I have the following table in PostgreSQL 9.5 server:

It is worth noting that the position is theoretically infinitely recursive. I need to generate a JSON message from the root position and r

September 21, 2021By Simo Postgresql generated, JSON, middle, PostgreSQL, recursionLeave a Comment

PostgreSQL – HIVE flow does not work

I try to follow https://cwiki.apache.org/confluence/display/Hive/Streaming+Data+Ingest#StreamingDataIngest-StreamingRequirements to enable hive streaming I have changed all configuration properties

September 21, 2021By Simo Postgresql Flow, hive, PostgreSQL, WorkLeave a Comment

Posts navigation

Page 1 … Page 6 Page 7 Page 8 … Page 10
Recent Posts
  • Sencha-Touch-2 – Sencha Touch 2, Nested XML Analysis NodeValue
  • Add a separation line and format XML content
  • Is there a norm of simplified XML subsets?
  • Look at it when you write React
  • ReactJS – Present React Redux React-Router App to add the server to the Firebase hosted by the Firebase
Categories
  • Android
  • Apache
  • Apache Kafka
  • Asp
  • Auto-Test
  • Automated Build
  • Aws
  • Bitcoin
  • Browser
  • C & C++
  • C#
  • Centos
  • Cgi
  • Character
  • Cloud Service
  • Cocos2dx
  • Cordova
  • CSS
  • Data Structure
  • Delphi
  • Design Pattern
  • Dojo
  • Dubbo
  • ELK
  • Flex
  • football
  • Game
  • Hadoop
  • Hibernate
  • HTML
  • Hybrid
  • Intel
  • IOS
  • Ipad
  • iPhone
  • Java
  • Javascript
  • Jetty
  • JQuery
  • Jsp
  • Linux
  • Load Balance
  • Lua
  • Macbook
  • Macos
  • Mathematics
  • Micro Services
  • Monitoring
  • Motherboard
  • Mysql
  • Network Hardware
  • Network Marketing
  • Nginx
  • NodeJs
  • Nosql
  • Oracle
  • Os Theory
  • Performance
  • PHP
  • Postgresql
  • Power Designer
  • React
  • Redis
  • Regexp
  • Rom
  • Rss
  • Ruby
  • Search Engines
  • Shell Script
  • Silicon Valley
  • Silverlight
  • Software Design
  • Spring
  • Sql
  • Sqlite
  • Sqlserver
  • Storage
  • Storm
  • Surface
  • SVN
  • Swift
  • System Architecture
  • Tablet
  • Uncategorized
  • Unix
  • Visual Basic
  • Visual Studio
  • Web Crawler
  • WebService
  • Windows
  • Wireless
  • XML
  • ZooKeeper
Archives
  • October 2021
  • September 2021
  • August 2021
  • May 2021
  • April 2021
  • September 2020
  • September 2019
  • August 2019
  • June 2019
  • May 2019
  • April 2019
  • March 2019
© Simon Technology Blog 2025 • ThemeCountry Powered by WordPress