Skip to main content

parse_regproc

Function parse_regproc 

Source
fn parse_regproc(s: &str) -> Result<u32, Box<dyn Error + Sync + Send>>
Expand description

Parses the text format of a regproc, matching PostgreSQL’s regprocin.

Accepting names is what keeps a COPY ... TO rendering loadable by COPY ... FROM, since the text encoding emits names. An overloaded name renders schema-qualified and names every one of its impls, so it does not round trip, which is true of PostgreSQL as well.