Practical solutions

PostgreSQL Howtos How-To Guides

Solve the problem. Keep building. Collection of PostgreSQL how-to articles

Find the answer you need

Browse practical solutions, grouped by the task you're working on.

__COUNT__ entries on this page

PostgreSQL Naming ConventionsThis article teaches the reader how to name different components in a database such as the tables, sequences, primary keys, constraints, and indexes. PostgreSQL string_agg FunctionThis article discusses using the string_agg() function to concatenate strings of a string field in a PostgreSQL group by query. NEXTVAL Function in PostgreSQLThis article teaches about the functionality of the NEXTVAL() function in PostgreSQL. Differences Between the IN and ANY Operators in PostgreSQLThis article talks about the differences between the IN and the ANY operators in PostgreSQL. Foreign Key ON DELETE CASCADE in PostgreSQLThis article explains how to perform ON DELETE/CASCADE in PostgreSQL. Default Username/Password for PostgreSQL Server in Rails 4This article explains the default settings for the user in PostgreSQL Server in Rails 4. Difference Between Timestamp With and Without Time Zone in PostgreSQLThis article discusses the types of timestamps in PostgreSQL and demonstrates their differences. We can create two types of timestamps in Postgres - with and without a time zone. If you save the timestamp with time zone, you can convert the time into another time zone. Foreign Key Syntax in PostgreSQLThis article describes how to correctly make a foreign key relationship in PostgreSQL. The if Statement in PostgreSQLThis tutorial shows the reader how to write queries that contain if statements to execute different operations.