This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
The state() implementation is not yet perfect. Check in a new todo test
[perl5.git] / t / pod / oneline_cmds.t
CommitLineData
360aca43 1BEGIN {
9c6ed6d7
HS
2 use File::Basename;
3 my $THISDIR = dirname $0;
4 unshift @INC, $THISDIR;
360aca43
GS
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