Re: Add CREATE SCHEMA ... LIKE support

From: Marcos Pegoraro <marcos(at)f10(dot)com(dot)br>
To: Jim Jones <jim(dot)jones(at)uni-muenster(dot)de>
Cc: Matheus Alcantara <matheusssilv97(at)gmail(dot)com>, "David G(dot) Johnston" <david(dot)g(dot)johnston(at)gmail(dot)com>, "pgsql-hackers(at)lists(dot)postgresql(dot)org" <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: Add CREATE SCHEMA ... LIKE support
Date: 2026-02-12 20:27:31
Message-ID: CAB-JLwY4-Mv097XRMd=FQXqQQcap_Lo=LFTUWDbny4pp+t5w4g@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Em qui., 12 de fev. de 2026 às 13:40, Jim Jones <jim(dot)jones(at)uni-muenster(dot)de>
escreveu:

> What do you think about introducing a clause similar to COPY .

A schema can have thousands of objects, and that schema will be ok only if
all objects are copied.
It will be very difficult for the user to see which ones were not copied.

I think the whole process should be done or raise an exception. Ignoring
items I don't think is fine.

regards
Marcos

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jacob Champion 2026-02-12 20:30:12 Re: Improve OAuth discovery logging
Previous Message Zsolt Parragi 2026-02-12 20:25:19 Re: Odd usage of errmsg_internal in bufmgr.c