Thread

  1. Command for getting columns

    Jeffrey Napolitano <jnapoli@setech.com> — 1998-07-31T18:40:13Z

    I want to get the names of the columns in a table ... I know I can get
    it through "\d" in the interactive monitor, but when accessing the
    databases non-interactively, how can I get the names of the columns?
    
    
    ------------------ 
    Jeffrey Napolitano
    Lowly Intern
    Software Emancipation Technology
    
    
  2. Re: [GENERAL] Command for getting columns

    Michael <wwwadmin@wizard.ca> — 1998-08-01T16:34:03Z

    Look at the man libpq for nfield function, or in perldoc Pg for the same
    
    Jeffrey Napolitano wrote:
    
    > I want to get the names of the columns in a table ... I know I can get
    > it through "\d" in the interactive monitor, but when accessing the
    > databases non-interactively, how can I get the names of the columns?
    >
    > ------------------
    > Jeffrey Napolitano
    > Lowly Intern
    > Software Emancipation Technology
    
    
    
    --
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    
    Michael - System Administrator              Working in Cheap Canadian
    Dollars
    Unix Administration - WebSite Hosting - Network Services - Programming
    Wizard Internet Services - TechnoWizard Computers - Wizard Tower
    TechnoServices
    ------------------------------------------------------------------------------
    
    (604) 589-0037          Beautiful British Columbia, Canada
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++