Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
Greenplum
Gpdb
提交
234776db
G
Gpdb
项目概览
Greenplum
/
Gpdb
通知
7
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
Gpdb
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
234776db
编写于
6月 02, 1997
作者:
E
Edmund Mergl
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
*** empty log message ***
上级
09e41a03
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
59 addition
and
21 deletion
+59
-21
src/interfaces/perl5/ApachePg.pl
src/interfaces/perl5/ApachePg.pl
+4
-4
src/interfaces/perl5/Changes
src/interfaces/perl5/Changes
+1
-1
src/interfaces/perl5/Makefile.PL
src/interfaces/perl5/Makefile.PL
+1
-1
src/interfaces/perl5/Pg.pm
src/interfaces/perl5/Pg.pm
+2
-2
src/interfaces/perl5/Pg.xs
src/interfaces/perl5/Pg.xs
+25
-1
src/interfaces/perl5/README
src/interfaces/perl5/README
+19
-8
src/interfaces/perl5/test.pl
src/interfaces/perl5/test.pl
+2
-1
src/interfaces/perl5/test.pl.newstyle
src/interfaces/perl5/test.pl.newstyle
+2
-1
src/interfaces/perl5/test.pl.oldstyle
src/interfaces/perl5/test.pl.oldstyle
+2
-1
src/interfaces/perl5/typemap
src/interfaces/perl5/typemap
+1
-1
未找到文件。
src/interfaces/perl5/ApachePg.pl
浏览文件 @
234776db
...
...
@@ -2,11 +2,11 @@
# demo script, has been tested with:
# - Postgres-6.1
# - apache_1.2
b8
# - mod_perl-
0.97
# - perl5.00
3_93
# - apache_1.2
# - mod_perl-
1.0
# - perl5.00
4
use
CGI
::
Apache
;
use
CGI
;
use
Pg
;
use
strict
;
...
...
src/interfaces/perl5/Changes
浏览文件 @
234776db
...
...
@@ -51,7 +51,7 @@ Revision history for Perl extension Pg.
- changed test.pl for large objects:
test only lo_import and lo_export
1.6.
0 Apr 29,
1997
1.6.
1 Jun 02
1997
- renamed to pgsql_perl5
- adapted to PostgreSQL-6.1
- test only functions, which are also
...
...
src/interfaces/perl5/Makefile.PL
浏览文件 @
234776db
#-------------------------------------------------------
#
# $Id: Makefile.PL,v 1.
1.1.1 1997/04/29 19:37:0
9 mergl Exp $
# $Id: Makefile.PL,v 1.
2 1997/06/02 19:41:5
9 mergl Exp $
#
# Copyright (c) 1997 Edmund Mergl
#
...
...
src/interfaces/perl5/Pg.pm
浏览文件 @
234776db
#-------------------------------------------------------
#
# $Id: Pg.pm,v 1.
1.1.1 1997/04/29 19:37:10
mergl Exp $
# $Id: Pg.pm,v 1.
2 1997/06/02 19:42:01
mergl Exp $
#
# Copyright (c) 1997 Edmund Mergl
#
...
...
@@ -83,7 +83,7 @@ require 5.003;
PGRES_InvalidOid
)
;
$VERSION
=
'
1.6.
0
';
$VERSION
=
'
1.6.
1
';
sub
AUTOLOAD
{
# This AUTOLOAD is used to 'autoload' constants from the constant()
...
...
src/interfaces/perl5/Pg.xs
浏览文件 @
234776db
/*-------------------------------------------------------
*
* $Id: Pg.xs,v 1.
1.1.1 1997/04/29 19:37:10
mergl Exp $
* $Id: Pg.xs,v 1.
2 1997/06/02 19:42:03
mergl Exp $
*
* Copyright (c) 1997 Edmund Mergl
*
...
...
@@ -424,6 +424,18 @@ PQclear(res)
PGresult * res
void
PQdisplayTuples(res, fp, fillAlign, fieldSep, printHeader, quiet)
PGresult * res
FILE * fp
int fillAlign
char * fieldSep
int printHeader
int quiet
CODE:
PQdisplayTuples(res, fp, fillAlign, (const char *)fieldSep, printHeader, quiet);
void
PQprintTuples(res, fout, printAttName, terseOutput, width)
PGresult * res
...
...
@@ -904,6 +916,18 @@ PQgetisnull(res, tup_num, field_num)
int field_num
void
PQdisplayTuples(res, fp, fillAlign, fieldSep, printHeader, quiet)
PGresult * res
FILE * fp
int fillAlign
char * fieldSep
int printHeader
int quiet
CODE:
PQdisplayTuples(res, fp, fillAlign, (const char *)fieldSep, printHeader, quiet);
void
PQprintTuples(res, fout, printAttName, terseOutput, width)
PG_result res
...
...
src/interfaces/perl5/README
浏览文件 @
234776db
#-------------------------------------------------------
#
# $Id: README,v 1.
1.1.1 1997/04/29 19:37:10
mergl Exp $
# $Id: README,v 1.
2 1997/06/02 19:42:05
mergl Exp $
#
# Copyright (c) 1997 Edmund Mergl
#
...
...
@@ -25,13 +25,17 @@ programmers.
COPYRIGHT INFO
--------------
COPYRIGHT:
----------
This program is free software; you can redistribute it and/or modify
it under the terms of either:
a) the GNU General Public License as published by the Free
Software Foundation; or
b) the "Artistic License", as specified in the Perl README file.
This Postgres-Perl interface is copyright 1996, 1997 Edmund Mergl. You are
free to use it for any purpose, commercial or noncommercial, provided
that if you redistribute the source code, this statement of copyright
remains attached.
IF YOU HAVE PROBLEMS:
...
...
@@ -98,8 +102,15 @@ If you have compile errors like "XS_VERSION_BOOTCHECK undeclared", make a
If this file is not present, you need to recompile and reinstall perl.
DOCUMENTATION:
--------------
Detailed documentation can be found in Pg.pm. Use 'perldoc Pg' after
installation to read the documentation.
---------------------------------------------------------------------------
Edmund Mergl <E.Mergl@bawue.de>
April 29
, 1997
Edmund Mergl <E.Mergl@bawue.de>
June 02
, 1997
---------------------------------------------------------------------------
src/interfaces/perl5/test.pl
浏览文件 @
234776db
#-------------------------------------------------------
#
# $Id: test.pl,v 1.
1.1.1 1997/04/29 19:37:10
mergl Exp $
# $Id: test.pl,v 1.
2 1997/06/02 19:42:07
mergl Exp $
#
# Copyright (c) 1997 Edmund Mergl
#
...
...
@@ -65,6 +65,7 @@ $| = 1;
# getisnull
# print
# notifies
# displayTuples
# printTuples
# lo_import
# lo_export
...
...
src/interfaces/perl5/test.pl.newstyle
浏览文件 @
234776db
#-------------------------------------------------------
#
# $Id: test.pl.newstyle,v 1.
1.1.1 1997/04/29 19:37:10
mergl Exp $
# $Id: test.pl.newstyle,v 1.
2 1997/06/02 19:42:11
mergl Exp $
#
# Copyright (c) 1997 Edmund Mergl
#
...
...
@@ -68,6 +68,7 @@ $| = 1;
# tty
# getlength
# getisnull
# displayTuples
# printTuples
# lo_open
# lo_close
...
...
src/interfaces/perl5/test.pl.oldstyle
浏览文件 @
234776db
#-------------------------------------------------------
#
# $Id: test.pl.oldstyle,v 1.
1.1.1 1997/04/29 19:37:10
mergl Exp $
# $Id: test.pl.oldstyle,v 1.
2 1997/06/02 19:42:13
mergl Exp $
#
# Copyright (c) 1997 Edmund Mergl
#
...
...
@@ -68,6 +68,7 @@ $| = 1;
# PQtty()
# PQgetlength()
# PQgetisnull()
# PQdisplayTuples()
# PQprintTuples()
# PQlo_open()
# PQlo_close()
...
...
src/interfaces/perl5/typemap
浏览文件 @
234776db
#-------------------------------------------------------
#
# $Id: typemap,v 1.
1.1.1 1997/04/29 19:37:10
mergl Exp $
# $Id: typemap,v 1.
2 1997/06/02 19:42:14
mergl Exp $
#
# Copyright (c) 1997 Edmund Mergl
#
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录