Skip to main content
tinlyx's user avatar
tinlyx's user avatar
tinlyx's user avatar
tinlyx
  • Member for 9 years, 7 months
  • Last seen this week
68 votes
5 answers
172k views

How to create a temporary table using VALUES in PostgreSQL

14 votes
2 answers
22k views

How to get the schema name of a table of type regclass in PostgreSQL?

11 votes
1 answer
15k views

How to add a PostgreSQL 10 identity column to an existing table?

11 votes
2 answers
3k views

Are there standard SQL functions with side effects?

11 votes
1 answer
6k views

Understanding Set Returning Function (SRF) in the SELECT List

10 votes
2 answers
3k views

self-joins in recursive CTE: `recursive reference must not appear more than once`?

10 votes
2 answers
19k views

How to use RETURNS TABLE with an existing table in PostgreSQL?

8 votes
2 answers
3k views

list of PostgreSQL trusted languages?

8 votes
1 answer
5k views

merging many jsonb objects using aggregate functions in PostgreSQL?

6 votes
1 answer
13k views

How to change array_agg() to return empty array on empty input in PostgreSQL?

6 votes
1 answer
5k views

postgresql 10 for Ubuntu 17.10 artful?

6 votes
1 answer
4k views

disable warning from `drop table if exists`

5 votes
1 answer
1k views

When is the AS keyword required?

5 votes
2 answers
4k views

How to quote qualified table name with format() function?

5 votes
1 answer
226 views

the verbosity of "(SELECT * FROM A)"?

4 votes
1 answer
2k views

Why is the sum() of zero numbers not zero? [duplicate]

4 votes
5 answers
7k views

Check if two tables have the same structure (are compatible)

4 votes
2 answers
11k views

Testing if an element in a PostgreSQL array?

3 votes
1 answer
1k views

How to get the function name of a regprocedure in PostgreSQL?

3 votes
1 answer
6k views

how to automatically create the associated schema when I `pg_restore` a table?

3 votes
1 answer
215 views

How can I specify the last parameters in a function call and let the others default to the DEFAULT in the declaration?

3 votes
1 answer
677 views

Test if a string is a valid, unquoted identifier?

3 votes
0 answers
2k views

PostgreSQL DROP DATABASE privilege?

3 votes
0 answers
1k views

Unable to locate package postgresql-server-dev-15 while installing PostgreSQL 15 using pdpg?

2 votes
1 answer
376 views

Can the citus data coordiator and worker node be on the same machine?

2 votes
0 answers
150 views

How to get the name of a variable instead of its value in plpgsql?

2 votes
2 answers
985 views

Inconsistent behavior of aggregate functions about whether to return NULL on empty input?

2 votes
1 answer
221 views

How to write a wrapper for a heterogeneous VARIADIC function like jsonb_build_object()?

2 votes
1 answer
2k views

How to output string values in single quotes?

2 votes
2 answers
3k views

Do PostgreSQL LATERAL joins require or allow an ON clause?