Thread: pgsql: Add pgindent typedefs file to CVS.

pgsql: Add pgindent typedefs file to CVS.

From
momjian@postgresql.org (Bruce Momjian)
Date:
Log Message:
-----------
Add pgindent typedefs file to CVS.

Added Files:
-----------
    pgsql/src/tools/pgindent:
        typedefs.pl (r1.1)

(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/tools/pgindent/typedefs.pl?rev=1.1&content-type=text/x-cvsweb-markup)

Re: pgsql: Add pgindent typedefs file to CVS.

From
Andrew Dunstan
Date:

Bruce Momjian wrote:
> Log Message:
> -----------
> Add pgindent typedefs file to CVS.
>
> Added Files:
> -----------
>     pgsql/src/tools/pgindent:
>         typedefs.pl (r1.1)
>
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/tools/pgindent/typedefs.pl?rev=1.1&content-type=text/x-cvsweb-markup)
>
>


Calling this file "typedefs.pl" seems more than odd. ".pl" is usually
the extension for a perl script, which this file is not.

cheers

andew

Re: pgsql: Add pgindent typedefs file to CVS.

From
Bruce Momjian
Date:
Andrew Dunstan wrote:
>
>
> Bruce Momjian wrote:
> > Log Message:
> > -----------
> > Add pgindent typedefs file to CVS.
> >
> > Added Files:
> > -----------
> >     pgsql/src/tools/pgindent:
> >         typedefs.pl (r1.1)
> >
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/tools/pgindent/typedefs.pl?rev=1.1&content-type=text/x-cvsweb-markup)
> >
> >
>
>
> Calling this file "typedefs.pl" seems more than odd. ".pl" is usually
> the extension for a perl script, which this file is not.

Sure does, but when I use 'wget' that is the file name I get.  Should I
be renaming it?

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com
  PG East:  http://www.enterprisedb.com/community/nav-pg-east-2010.do
  + If your life is a hard drive, Christ can be your backup. +

Re: pgsql: Add pgindent typedefs file to CVS.

From
Andrew Dunstan
Date:

Bruce Momjian wrote:
> Andrew Dunstan wrote:
>
>> Bruce Momjian wrote:
>>
>>> Log Message:
>>> -----------
>>> Add pgindent typedefs file to CVS.
>>>
>>> Added Files:
>>> -----------
>>>     pgsql/src/tools/pgindent:
>>>         typedefs.pl (r1.1)
>>>
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/tools/pgindent/typedefs.pl?rev=1.1&content-type=text/x-cvsweb-markup)
>>>
>>>
>>>
>> Calling this file "typedefs.pl" seems more than odd. ".pl" is usually
>> the extension for a perl script, which this file is not.
>>
>
> Sure does, but when I use 'wget' that is the file name I get.  Should I
> be renaming it?
>
>

Yes. The output is produced by a perl script on the web server, but you
should use wget's -O option to name that output appropriately.

cheers

andrew

Re: pgsql: Add pgindent typedefs file to CVS.

From
Bruce Momjian
Date:
Andrew Dunstan wrote:
>
>
> Bruce Momjian wrote:
> > Andrew Dunstan wrote:
> >
> >> Bruce Momjian wrote:
> >>
> >>> Log Message:
> >>> -----------
> >>> Add pgindent typedefs file to CVS.
> >>>
> >>> Added Files:
> >>> -----------
> >>>     pgsql/src/tools/pgindent:
> >>>         typedefs.pl (r1.1)
> >>>
(http://anoncvs.postgresql.org/cvsweb.cgi/pgsql/src/tools/pgindent/typedefs.pl?rev=1.1&content-type=text/x-cvsweb-markup)
> >>>
> >>>
> >>>
> >> Calling this file "typedefs.pl" seems more than odd. ".pl" is usually
> >> the extension for a perl script, which this file is not.
> >>
> >
> > Sure does, but when I use 'wget' that is the file name I get.  Should I
> > be renaming it?
> >
> >
>
> Yes. The output is produced by a perl script on the web server, but you
> should use wget's -O option to name that output appropriately.

OK, I called it typedefs.list and updated the README.

--
  Bruce Momjian  <bruce@momjian.us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com
  PG East:  http://www.enterprisedb.com/community/nav-pg-east-2010.do
  + If your life is a hard drive, Christ can be your backup. +