Re: generating function default settings from pg_proc.dat

From: Álvaro Herrera <alvherre(at)kurilemu(dot)de>
To: Andres Freund <andres(at)anarazel(dot)de>
Cc: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Andrew Dunstan <andrew(at)dunslane(dot)net>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: generating function default settings from pg_proc.dat
Date: 2026-02-16 23:39:11
Message-ID: 202602162337.7ye33z25b2jv@alvherre.pgsql
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2026-Feb-16, Andres Freund wrote:

> could be
>
> { oid => '3786', descr => 'set up a logical replication slot',
> proname => 'pg_create_logical_replication_slot', provolatile => 'v',
> proparallel => 'u',
> proargs => [
> {type => 'name', name => 'slot_name'},
> {type => 'name', name => 'plugin'},
> {type => 'bool', name => 'temporary', default => 'false'},
> {type => 'bool', name => 'twophase', default => 'false'},
> {type => 'bool', name => 'failover', default => 'false'},
> ],
> prorettype => [
> {type => 'name', name => 'slot_name'},
> {type => 'pg_lsn', name => 'lsn'},
> ]
> }

This is pretty much the sort of thing I was imagining when I read
Corey's argumentation. +1 for something along these lines.

--
Álvaro Herrera Breisgau, Deutschland — https://www.EnterpriseDB.com/
"Pero la cosa no es muy grave ..." (le petit Nicolas -- René Goscinny)

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Munro 2026-02-17 00:05:28 Re: AIX support
Previous Message Tomas Vondra 2026-02-16 23:33:21 Re: index prefetching