迹忆客 EN >

所有文章

Installing PostgreSQL client tools on Windows

发布时间:2025/04/09 作者:JIYIK 分类:PostgreSQL

Installing PostgreSQL client tools on Windows

When we develop applications, we end up hosting them with the desired cloud providers under specific monthly or annual subscriptions. Depending on your plan, these subscriptions provide us with different services like data stored in databas...

查看全文

Restart PostgreSQL in Ubuntu 18.04

发布时间:2025/04/09 作者:JIYIK 分类:PostgreSQL

This short article shows how to restart PostgreSQL in Ubuntu. Restart PostgreSQL Server in Ubuntu You can restart Postgres server in Ubuntu using the following command. Order: sudo service postgres restart Sometimes the above command does n...

查看全文

Connecting to PostgreSQL in SSL mode

发布时间:2025/04/09 作者:JIYIK 分类:PostgreSQL

When we try to connect to the database, Postgres uses SSL to verify the security of the connection. It is disabled by default in HTTP, but in HTTPS, we need the SSL mode of the connection to perform any operation in the Postgres database. I...

查看全文

Drop all tables in PostgreSQL

发布时间:2025/04/09 作者:JIYIK 分类:PostgreSQL

When developing an application, developers must understand the different ways they can use to interact with the database. This knowledge will help improve development efficiency because they will know the best way to solve a specific proble...

查看全文

JSONB in PostgreSQL

发布时间:2025/04/09 作者:JIYIK 分类:PostgreSQL

JSONB is a decomposed binary format for storing JSON data. If you follow Google Trends or do some research, you'll see that JSON is becoming increasingly popular in the development world. Nowadays, NoSQL can store JSON data by default. It i...

查看全文

Escaping single quotes in PostgreSQL

发布时间:2025/04/09 作者:JIYIK 分类:PostgreSQL

This article discusses how to escape single quotes in PostgreSQL queries. Escaping single quotes in PostgreSQL Consider a comment table that records user comments. The table has 5 fields: id , userid , postid , comments , commentdate , as s...

查看全文

Convert integer to string in PostgreSQL

发布时间:2025/04/09 作者:JIYIK 分类:PostgreSQL

This tutorial discusses how to convert an integer to a string in PostgreSQL. Convert integer to string in PostgreSQL Consider a quiz_score table that records the score of each participant in a quiz game. The scores are stored in this table...

查看全文

PostgreSQL distinct field value count

发布时间:2025/04/09 作者:JIYIK 分类:PostgreSQL

Getting the distinct values ​​in a field is an important query. This article discusses how to get the distinct count of values ​​in a field. Get distinct count of field values ​​in PostgreSQL Consider a quiz_score table that rec...

查看全文

在 PSQL 中运行 SQL 文件

发布时间:2023/03/20 作者:迹忆客 分类:数据库

本文解释了如何直接从终端/命令行或 psql shell 运行 SQL 文件。为此,你需要指定主机名、端口、用户名和数据库名称。...

查看全文

扫一扫阅读全部技术教程

社交账号
  • https://www.github.com/onmpw
  • qq:1244347461

热门文章

热门标签

扫码一下
查看教程更方便