Thread

  1. pg_encoding not needed anymore

    Bruce Momjian <pgman@candle.pha.pa.us> — 2004-04-20T00:41:18Z

    With initdb written now in C, we don't need a pg_encoding binary
    anymore.
    
    I have removed it from CVS.  There were no mentions of it in the docs.
    
    -- 
      Bruce Momjian                        |  http://candle.pha.pa.us
      pgman@candle.pha.pa.us               |  (610) 359-1001
      +  If your life is a hard drive,     |  13 Roberts Road
      +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073
    
    
  2. Re: pg_encoding not needed anymore

    Karel Zak <zakkr@zf.jcu.cz> — 2004-04-20T08:25:58Z

    On Mon, Apr 19, 2004 at 08:41:18PM -0400, Bruce Momjian wrote:
    > With initdb written now in C, we don't need a pg_encoding binary
    > anymore.
    
     By  the way,  what  change  the name  of  "initdb" to  "pg_initdb". The
     current  name  is  really  too  common  (like  some  others  things  in
     pgsql/src/bin)
    
        Karel
    
    -- 
     Karel Zak  <zakkr@zf.jcu.cz>
     http://home.zf.jcu.cz/~zakkr/
    
    
  3. Re: pg_encoding not needed anymore

    Bruce Momjian <pgman@candle.pha.pa.us> — 2004-04-20T12:59:20Z

    Karel Zak wrote:
    > On Mon, Apr 19, 2004 at 08:41:18PM -0400, Bruce Momjian wrote:
    > > With initdb written now in C, we don't need a pg_encoding binary
    > > anymore.
    > 
    >  By  the way,  what  change  the name  of  "initdb" to  "pg_initdb". The
    >  current  name  is  really  too  common  (like  some  others  things  in
    >  pgsql/src/bin)
    
    Uh, that would be pretty major.  No one has complained about it in the
    past.  I think createuser is much worse.  :-)
    
    -- 
      Bruce Momjian                        |  http://candle.pha.pa.us
      pgman@candle.pha.pa.us               |  (610) 359-1001
      +  If your life is a hard drive,     |  13 Roberts Road
      +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073
    
    
  4. Re: pg_encoding not needed anymore

    Karel Zak <zakkr@zf.jcu.cz> — 2004-04-20T13:15:00Z

    On Tue, Apr 20, 2004 at 08:59:20AM -0400, Bruce Momjian wrote:
    > Karel Zak wrote:
    > > On Mon, Apr 19, 2004 at 08:41:18PM -0400, Bruce Momjian wrote:
    > > > With initdb written now in C, we don't need a pg_encoding binary
    > > > anymore.
    > > 
    > >  By  the way,  what  change  the name  of  "initdb" to  "pg_initdb". The
    > >  current  name  is  really  too  common  (like  some  others  things  in
    > >  pgsql/src/bin)
    > 
    > Uh, that would be pretty major.  No one has complained about it in the
    > past.  I think createuser is much worse.  :-)
    
     Sure. Maybe is needful wait for some other project like PostgreSQL that
     will use  same clever names... But maybe  we will never see  a problem,
     because the others are less ignorant...
    
        Karel
    
    -- 
     Karel Zak  <zakkr@zf.jcu.cz>
     http://home.zf.jcu.cz/~zakkr/
    
    
  5. Re: pg_encoding not needed anymore

    Andrew Dunstan <andrew@dunslane.net> — 2004-04-20T13:57:10Z

    Bruce Momjian wrote:
    
    >Karel Zak wrote:
    >  
    >
    >>On Mon, Apr 19, 2004 at 08:41:18PM -0400, Bruce Momjian wrote:
    >>    
    >>
    >>>With initdb written now in C, we don't need a pg_encoding binary
    >>>anymore.
    >>>      
    >>>
    >> By  the way,  what  change  the name  of  "initdb" to  "pg_initdb". The
    >> current  name  is  really  too  common  (like  some  others  things  in
    >> pgsql/src/bin)
    >>    
    >>
    >
    >Uh, that would be pretty major.  No one has complained about it in the
    >past.  I think createuser is much worse.  :-)
    >
    >  
    >
    Agreed. Actually, the big problem with the name "initdb" is that the 
    name is misleading, and newbies often get confused by it. You are 
    preparing a data store for many databases, not a single database.  But I 
    think it is far too sanctified by history to change now, just as Ken 
    Thompson now wishes he had put an 'e' on the end of 'creat' but can't go 
    back and fix it. Maybe we should think about a symlink/hardlink to use a 
    better name.
    
    cheers
    
    andrew
    
    
  6. Re: pg_encoding not needed anymore

    Bruce Momjian <pgman@candle.pha.pa.us> — 2004-04-20T14:32:10Z

    Andrew Dunstan wrote:
    > >past.  I think createuser is much worse.  :-)
    > >
    > >  
    > >
    > Agreed. Actually, the big problem with the name "initdb" is that the 
    > name is misleading, and newbies often get confused by it. You are 
    > preparing a data store for many databases, not a single database.  But I 
    > think it is far too sanctified by history to change now, just as Ken 
    > Thompson now wishes he had put an 'e' on the end of 'creat' but can't go 
    > back and fix it. Maybe we should think about a symlink/hardlink to use a 
    > better name.
    
    Yea, initcluster would have been better, but cluster confuses with
    CLUSTER, just like database schema confuses with CREATE SCHEMA.
    
    -- 
      Bruce Momjian                        |  http://candle.pha.pa.us
      pgman@candle.pha.pa.us               |  (610) 359-1001
      +  If your life is a hard drive,     |  13 Roberts Road
      +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073
    
    
  7. Re: pg_encoding not needed anymore

    scott.marlowe <scott.marlowe@ihs.com> — 2004-04-20T17:37:58Z

    On Tue, 20 Apr 2004, Bruce Momjian wrote:
    
    > Andrew Dunstan wrote:
    > > >past.  I think createuser is much worse.  :-)
    > > >
    > > >  
    > > >
    > > Agreed. Actually, the big problem with the name "initdb" is that the 
    > > name is misleading, and newbies often get confused by it. You are 
    > > preparing a data store for many databases, not a single database.  But I 
    > > think it is far too sanctified by history to change now, just as Ken 
    > > Thompson now wishes he had put an 'e' on the end of 'creat' but can't go 
    > > back and fix it. Maybe we should think about a symlink/hardlink to use a 
    > > better name.
    > 
    > Yea, initcluster would have been better, but cluster confuses with
    > CLUSTER, just like database schema confuses with CREATE SCHEMA.
    
    Maybe initpg or pg_init or something like that?
    
    
    
  8. Re: pg_encoding not needed anymore

    Joshua D. Drake <jd@commandprompt.com> — 2004-04-20T20:46:32Z

    > g a data store for many databases, not a single database.  But I think 
    > it is far too sanctified by history to change now, just as Ken 
    > Thompson now wishes he had put an 'e' on the end of 'creat' but can't 
    > go back and fix it. Maybe we should think about a symlink/hardlink to 
    > use a better name.
    
    
    initcatalog?
    
    >
    > cheers
    >
    > andrew
    >
    > ---------------------------(end of broadcast)---------------------------
    > TIP 5: Have you checked our extensive FAQ?
    >
    >               http://www.postgresql.org/docs/faqs/FAQ.html
    
    
    
    -- 
    Command Prompt, Inc., home of Mammoth PostgreSQL - S/ODBC and S/JDBC
    Postgresql support, programming shared hosting and dedicated hosting.
    +1-503-667-4564 - jd@commandprompt.com - http://www.commandprompt.com
    PostgreSQL Replicator -- production quality replication for PostgreSQL
    
    
    
  9. Re: pg_encoding not needed anymore

    Andrew Dunstan <andrew@dunslane.net> — 2004-04-20T20:54:25Z

    Joshua D. Drake wrote:
    
    >
    >> g a data store for many databases, not a single database.  But I 
    >> think it is far too sanctified by history to change now, just as Ken 
    >> Thompson now wishes he had put an 'e' on the end of 'creat' but can't 
    >> go back and fix it. Maybe we should think about a symlink/hardlink to 
    >> use a better name.
    >
    >
    >
    > initcatalog?
    >
    
    initpgstore ... we can play the name game if people are serious :-)
    
    cheers
    
    andrew
    
    
  10. Re: pg_encoding not needed anymore

    Robert Treat <xzilla@users.sourceforge.net> — 2004-04-23T03:50:13Z

    On Tuesday 20 April 2004 16:54, Andrew Dunstan wrote:
    > Joshua D. Drake wrote:
    > >> g a data store for many databases, not a single database.  But I
    > >> think it is far too sanctified by history to change now, just as Ken
    > >> Thompson now wishes he had put an 'e' on the end of 'creat' but can't
    > >> go back and fix it. Maybe we should think about a symlink/hardlink to
    > >> use a better name.
    > >
    > > initcatalog?
    >
    > initpgstore ... we can play the name game if people are serious :-)
    >
    
    ooh... we havent done this is a while.... hows about....
    
    initpgdata? 
    
    dovetails nicely with PGDATA... at least until that gets deprecated ;-)
    
    Robert Treat
    -- 
    Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL