proposal - reglanguage type - Mailing list pgsql-hackers

From Pavel Stehule
Subject proposal - reglanguage type
Date
Msg-id CAFj8pRCWNEcd3LtJuYZ=wyGOSTRe3KEcdJ40XY3QcxYrhp65eQ@mail.gmail.com
Whole thread Raw
Responses Re: proposal - reglanguage type
List pgsql-hackers
Hi

I miss a reglanguage type from our set of reg* types.

It reduce a mental overhead for queries over pg_proc table

With this type I can easy filter only plpgsql functions

select *
  from pg_proc
where prolang = 'plpgsql'::reglanguage
   and pronamespace <> 'pg_catalog'::regnamespace;

Regards

Pavel
Attachment

pgsql-hackers by date:

Previous
From: Andres Freund
Date:
Subject: Re: Improving connection scalability: GetSnapshotData()
Next
From: Darafei "Komяpa" Praliaskouski
Date:
Subject: Re: Yet another fast GiST build