source: trunk/third/perl/t/pod/oneline_cmds.t @ 20075

Revision 20075, 1.4 KB checked in by zacheiss, 21 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r20074, which included commits to RCS files with non-trunk default branches.
  • Property svn:executable set to *
Line 
1BEGIN {
2   use File::Basename;
3   my $THISDIR = dirname $0;
4   unshift @INC, $THISDIR;
5   require "testp2pt.pl";
6   import TestPodIncPlainText;
7}
8
9my %options = map { $_ => 1 } @ARGV;  ## convert cmdline to options-hash
10my $passed  = testpodplaintext \%options, $0;
11exit( ($passed == 1) ? 0 : -1 )  unless $ENV{HARNESS_ACTIVE};
12
13
14__END__
15
16
17==head1 NAME
18B<rdb2pg> - insert an rdb table into a PostgreSQL database
19
20==head1 SYNOPSIS
21B<rdb2pg>  [I<param>=I<value> ...]
22
23==head1 PARAMETERS
24B<rdb2pg> uses an IRAF-compatible parameter interface. 
25A template parameter file is in F</proj/axaf/simul/lib/uparm/rdb2pg.par>.
26
27==over 4
28==item B<input> I<file>
29The B<RDB> file to insert into the database. If the given name
30is the string C<stdin>, it reads from the UNIX standard input stream.
31
32==back
33
34==head1 DESCRIPTION
35B<rdb2pg> will enter the data from an B<RDB> database into a
36PostgreSQL database table, optionally creating the database and the
37table if they do not exist.  It automatically determines the
38PostgreSQL data type from the column definition in the B<RDB> file,
39but may be overriden via a series of definition files or directly
40via one of its parameters.
41
42The target database and table are specified by the C<db> and C<table>
43parameters.  If they do not exist, and the C<createdb> parameter is
44set, they will be created.  Table field definitions are determined
45in the following order:
46
Note: See TracBrowser for help on using the repository browser.