---
title: "Discussion on \"(PL/pg)SQL patterns I use\" | Hashnode"
description: "Discussion on \"(PL/pg)SQL patterns I use\". This is supposed to be the addition to the other patterns post \"Bash patterns I use\" but for SQL and/or PL/pgSQL.\nCreate partitions with a function (hacky variant)\nThis comes in handy when you need a bunch of partitions on a PostgreSQL table. Sure, t..."
url: "https://hashnode.com/posts/plpgsql-patterns-i-use/5f7af63f9c3b6e4101218364"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [(PL/pg)SQL patterns I use](https://fatstacks.hashnode.dev/plpgsql-patterns-i-use?utm_source=hashnode&utm_medium=feed)

This is supposed to be the addition to the other patterns post "Bash patterns I use" but for SQL and/or PL/pgSQL. Create partitions with a function (hacky variant) This comes in handy when you need a bunch of partitions on a PostgreSQL table. Sure, t...

Oct 5, 2020 · 3 min read · fatstacks.hashnode.dev  
Read the article

-   [#patterns](https://hashnode.com/tag/patterns)
-   [#basics](https://hashnode.com/tag/basics)
-   [#sql](https://hashnode.com/tag/sql)
-   [#postgresql](https://hashnode.com/tag/postgresql)

## Written by

[Sebastian Dressler](https://hashnode.com/@theDressler)

@theDressler · Berlin, Germany

  
[View profile](https://hashnode.com/@theDressler)

Building fat stacks

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
