pgsql-server/doc/src/sgml/ref alter_user.sgml

Поиск
Список
Период
Сортировка
Искать

pgsql-server/doc/src/sgml/ref alter_user.sgml

От:
momjian@postgresql.org (Bruce Momjian - CVS)
Дата:
CVSROOT:	/cvsroot
Module name:	pgsql-server
Changes by:	momjian@postgresql.org	03/03/20 15:05:32

Modified files:
	doc/src/sgml/ref: alter_user.sgml 

Log message:
	This is not the only place in the system catalogs where NULL is
	effectively used to mean a default value that could also be spelled
	out explicitly.  (ACLs behave that way, and useconfig/datconfig
	do too IIRC.)
	
	It's a bit of a hack, but it saves table space and backend code ---
	without this convention the default would have to be inserted "manually"
	since we have no mechanism to supply defaults when C code is forming a
	new catalog tuple.
	
	I'm inclined to leave the code alone.  But Alvaro is right that it'd be
	good to point out the 'infinity' option in the CREATE USER and ALTER
	USER man pages.  (Doc patch please?)
	
	Alvaro Herrera

FAQ