| From: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
|---|---|
| To: | PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | is prefix pg_ reservated ? |
| Date: | 2012-08-07 11:16:19 |
| Message-ID: | CAFj8pRDpR2=0ea813XoREygX5f-=tpg8x0MA+JKCE+6pTWoOJg@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | 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
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Robert Haas | 2012-08-07 12:39:09 | Re: [PATCH] Docs: Make notes on sequences and rollback more obvious |
| Previous Message | Craig Ringer | 2012-08-07 07:59:42 | Re: [PATCH] Docs: Make notes on sequences and rollback more obvious |