pg.ddx.io  pgsql-es-ayuda@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Anthony Sotolongo <asotolongo@gmail.com>
To: kernel <jucabapa@gmail.com>
To: Ayuda <pgsql-es-ayuda@postgresql.org>
Subject: Re: pg_dumpall o pg_dump sin funciones
Date: Fri, 20 Dec 2024 16:30:59 -0300
Message-ID: <babe9a0d-6cdb-4238-84fe-0f61708dddb6@gmail.com> (raw)
In-Reply-To: <a9294024-d822-4dd3-bf2a-34d20b00ae65@gmail.com>
References: <a9294024-d822-4dd3-bf2a-34d20b00ae65@gmail.com>

Hola, si estas usando la version 17, creo que agregaron algo en el 
pg_dump/pg_restore para eso, un parametro llamado --filter


https://www.postgresql.org/docs/17/app-pgdump.html

https://www.postgresql.org/docs/17/app-pgrestore.html


de lo contrario puede que tengas que jugar con los parametris -l y -L de 
pg_restore si vas a restaurar



Saludos

On 20-12-24 06:53, kernel wrote:
> Hola,
>
> No se si es posible ; me gustarĂ­a sacar una copia de la base de datos 
> que no incluya ninguna de las funciones de plpsql que tengo 
> desarrolladas, todas tienen un mismo patron , todas empiezan igual
>
> Gracias
>
>
>
>





view thread (3+ messages)

Message-ID: <babe9a0d-6cdb-4238-84fe-0f61708dddb6@gmail.com>
Permalink:  ../babe9a0d-6cdb-4238-84fe-0f61708dddb6@gmail.com/
Also on:    postgresql.org/message-id/babe9a0d-6cdb-4238-84fe-0f61708dddb6@gmail.com

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-es-ayuda@postgresql.org
  Cc: asotolongo@gmail.com, jucabapa@gmail.com
  Subject: Re: pg_dumpall o pg_dump sin funciones
  In-Reply-To: <babe9a0d-6cdb-4238-84fe-0f61708dddb6@gmail.com>

* 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