is prefix pg_ reservated ? - Mailing list pgsql-hackers

From Pavel Stehule
Subject is prefix pg_ reservated ?
Date
Msg-id CAFj8pRDpR2=0ea813XoREygX5f-=tpg8x0MA+JKCE+6pTWoOJg@mail.gmail.com
Whole thread Raw
Responses Re: is prefix pg_ reservated ?
List pgsql-hackers
Hello all

I found strange behave of postgresql. I would to use name
pg_stat_get_some for custom function. Probably it is not smart from
me, because I found so functions that has prefix pg are not searched
via search_path.

postgres=# select public.pg_stat_get_creation_time('xxx'::regclass);  pg_stat_get_creation_time
-------------------------------2012-08-07 12:43:25.592137+02
(1 row)

postgres=# select pg_stat_get_creation_time('xxx'::regclass);
ERROR:  internal function "pg_stat_get_creation_time" is not in
internal lookup table

It is expected and desired behave?

Regards

Pavel Stehule


pgsql-hackers by date:

Previous
From: Craig Ringer
Date:
Subject: Re: [PATCH] Docs: Make notes on sequences and rollback more obvious
Next
From: Robert Haas
Date:
Subject: Re: [PATCH] Docs: Make notes on sequences and rollback more obvious