Skip to content
Snippets Groups Projects
Select Git revision
  • benchmark-tools
  • postgres-lambda
  • master default
  • REL9_4_25
  • REL9_5_20
  • REL9_6_16
  • REL_10_11
  • REL_11_6
  • REL_12_1
  • REL_12_0
  • REL_12_RC1
  • REL_12_BETA4
  • REL9_4_24
  • REL9_5_19
  • REL9_6_15
  • REL_10_10
  • REL_11_5
  • REL_12_BETA3
  • REL9_4_23
  • REL9_5_18
  • REL9_6_14
  • REL_10_9
  • REL_11_4
23 results

proclang.h

  • Tom Lane's avatar
    55a7cf80
    Allow non-superuser database owners to create procedural languages. · 55a7cf80
    Tom Lane authored
    A DBA is allowed to create a language in his database if it's marked
    "tmpldbacreate" in pg_pltemplate.  The factory default is that this is set
    for all standard trusted languages, but of course a superuser may adjust
    the settings.  In service of this, add the long-foreseen owner column to
    pg_language; renaming, dropping, and altering owner of a PL now follow
    normal ownership rules instead of being superuser-only.
    Jeremy Drake, with some editorialization by Tom Lane.
    55a7cf80
    History
    Allow non-superuser database owners to create procedural languages.
    Tom Lane authored
    A DBA is allowed to create a language in his database if it's marked
    "tmpldbacreate" in pg_pltemplate.  The factory default is that this is set
    for all standard trusted languages, but of course a superuser may adjust
    the settings.  In service of this, add the long-foreseen owner column to
    pg_language; renaming, dropping, and altering owner of a PL now follow
    normal ownership rules instead of being superuser-only.
    Jeremy Drake, with some editorialization by Tom Lane.