pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Thomas Kellerer <shammat@gmx.net>
To: pgsql-general@lists.postgresql.org
Subject: Re: Suggestion: provide a "TRUNCATE PARTITION" command
Date: Fri, 8 Jan 2021 15:40:07 +0100
Message-ID: <4a12ff21-a1b5-bc5c-bcfa-44f62b368121@gmx.net> (raw)
In-Reply-To: <1610114268071-0.post@n3.nabble.com>
References: <99277f39-f1a1-6da5-176c-3def058cf568@gmx.net>
	<1610114268071-0.post@n3.nabble.com>

legrand legrand schrieb am 08.01.2021 um 14:57:> maybe a naïve plpgsql as proposed in
> https://www.postgresql-archive.org/Partitionning-support-for-Truncate-Table-WHERE-td5933642.html
> may be an answer

Yes I am aware of that (and that's what I have used so far) - I just thought it would make life easier if it didn't require dynamic SQL

Thomas






view thread (10+ messages)  latest in thread

Message-ID: <4a12ff21-a1b5-bc5c-bcfa-44f62b368121@gmx.net>
Permalink:  ../4a12ff21-a1b5-bc5c-bcfa-44f62b368121@gmx.net/
Also on:    postgresql.org/message-id/4a12ff21-a1b5-bc5c-bcfa-44f62b368121@gmx.net

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: shammat@gmx.net
  Subject: Re: Suggestion: provide a "TRUNCATE PARTITION" command
  In-Reply-To: <4a12ff21-a1b5-bc5c-bcfa-44f62b368121@gmx.net>
  References: <99277f39-f1a1-6da5-176c-3def058cf568@gmx.net> <1610114268071-0.post@n3.nabble.com> <4a12ff21-a1b5-bc5c-bcfa-44f62b368121@gmx.net>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox