public inbox for [email protected]  
help / color / mirror / Atom feed
From: Peter Eisentraut <[email protected]>
To: pgsql-hackers <[email protected]>
Subject: What object types should be in schemas?
Date: Wed, 11 Jan 2023 16:32:57 +0100
Message-ID: <[email protected]> (raw)

The current hierarchy of object types is like this:

database
	access method
	event trigger
	extension
	foreign data wrapper
	foreign server
	language
	publication
	schema
		aggregate
		collation
		conversion
		domain
		function/procedure
		index
		operator
		operator class
		operator family
		sequence
		statistics
		table/view
			policy
			rule
			trigger
		text search configuration
		text search dictionary
		text search parser
		text search template
		type
	subscription
role
tablespace

special:
- cast
- transform
- user mapping


How does one decide whether something should be in a schema or not?  The 
current state feels intuitively correct, but I can't determine any firm 
way to decide.

Over in the column encryption thread, the patch proposes to add various 
key types as new object types.  For simplicity, I just stuck them 
directly under database, but I don't know whether that is correct.

Thoughts?






view thread (3+ messages)  latest in thread

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: [email protected]
  Cc: [email protected]
  Subject: Re: What object types should be in schemas?
  In-Reply-To: <[email protected]>

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

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