From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
---|---|
To: | Karel Zak <zakkr(at)zf(dot)jcu(dot)cz> |
Cc: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: getpid() function |
Date: | 2002-08-01 17:42:47 |
Message-ID: | 200208011742.g71HglB09334@candle.pha.pa.us |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general pgsql-hackers |
I can rename backend_pid if people want. I just made it consistent
with the other functions in that docs area. Comments?
---------------------------------------------------------------------------
Karel Zak wrote:
> On Thu, Aug 01, 2002 at 10:44:23AM -0400, Neil Conway wrote:
> > On Thu, Aug 01, 2002 at 12:01:52PM +0200, Karel Zak wrote:
> > > Is there some common convention of names?
> >
> > No, there isn't (for example, pg_stat_backend_id() versus
>
> I know -- for this I asked. IMHO for large project like PostgreSQL
> it's important. It's not good if there is possible speculate about
> name of new function. It must be unmistakable -- for this is needful
> make some convension. If somebody add new function and it's released,
> it's in the PostgreSQL almost forever.
>
> > current_schema() -- or pg_get_viewdef() versus obj_description() ).
> > Now that we have table functions, we might be using more built-in
> > functions to provide information to the user -- so there will be
> > an increasing need for some kind of naming convention for built-in
> > functions. However, establishing a naming convention without
> > breaking backwards compatibility might be tricky.
>
> Yes, but we can try be clean for new stuff.
>
> Karel
>
> --
> Karel Zak <zakkr(at)zf(dot)jcu(dot)cz>
> http://home.zf.jcu.cz/~zakkr/
>
> C, PostgreSQL, PHP, WWW, http://docs.linux.cz, http://mape.jcu.cz
>
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026
From | Date | Subject | |
---|---|---|---|
Next Message | Stephan Szabo | 2002-08-01 18:42:38 | Re: Referential integrity doesn't work? |
Previous Message | Bruce Momjian | 2002-08-01 17:41:49 | Re: getpid() function |
From | Date | Subject | |
---|---|---|---|
Next Message | Bruce Momjian | 2002-08-01 17:45:20 | Re: cvs checkout pgsql |
Previous Message | Bruce Momjian | 2002-08-01 17:41:49 | Re: getpid() function |