没有合适的资源?快使用搜索试试~ 我知道了~
首页postgre SQL pdf
资源详情
资源评论
资源推荐
Beginning Databases
with PostgreSQL
From Novice to Professional, Second Edition
NEIL MATTHEW AND RICHARD STONES
MatthewStones_4789Front.fm Page i Wednesday, March 9, 2005 9:28 AM
Beginning Databases with PostgreSQL: From Novice to Professional, Second Edition
Copyright © 2005 by Neil Matthew and Richard Stones
All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means,
electronic or mechanical, including photocopying, recording, or by any information storage or retrieval
system, without the prior written permission of the copyright owner and the publisher.
ISBN (pbk): 1-59059-478-9
Printed and bound in the United States of America 9 8 7 6 5 4 3 2 1
Trademarked names may appear in this book. Rather than use a trademark symbol with every occurrence
of a trademarked name, we use the names only in an editorial fashion and to the benefit of the trademark
owner, with no intention of infringement of the trademark.
Lead Editor: Jason Gilmore
Contributing Author: Jon Parise
Technical Reviewer: Robert Treat
Editorial Board: Steve Anglin, Dan Appleman, Ewan Buckingham, Gary Cornell, Tony Davis, Jason Gilmore,
Jonathan Hassell, Chris Mills, Dominic Shakeshaft, Jim Sumser
Assistant Publisher: Grace Wong
Project Manager: Sofia Marchant
Copy Manager: Nicole LeClerc
Copy Editor: Marilyn Smith
Production Manager: Kari Brooks-Copony
Production Editor: Katie Stence
Compositor: Susan Glinert
Proofreader: Elizabeth Berry
Indexer: John Collin
Artist: Kinetic Publishing Services, LLC
Cover Designer: Kurt Krames
Manufacturing Manager: Tom Debolski
Distributed to the book trade in the United States by Springer-Verlag New York, Inc., 233 Spring Street,
6th Floor, New York, NY 10013, and outside the United States by Springer-Verlag GmbH & Co. KG, Tiergar-
tenstr. 17, 69112 Heidelberg, Germany.
In the United States: phone 1-800-SPRINGER, fax 201-348-4505, e-mail orders@springer-ny.com, or visit
http://www.springer-ny.com. Outside the United States: fax +49 6221 345229, e-mail orders@springer.de,
or visit http://www.springer.de.
For information on translations, please contact Apress directly at 2560 Ninth Street, Suite 219, Berkeley, CA
94710. Phone 510-549-5930, fax 510-549-5939, e-mail info@apress.com, or visit http://www.apress.com.
The information in this book is distributed on an “as is” basis, without warranty. Although every precaution
has been taken in the preparation of this work, neither the author(s) nor Apress shall have any liability to
any person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectly
by the information contained in this work.
The source code for this book is available to readers at http://www.apress.com in the Downloads section.
MatthewStones_4789Front.fm Page ii Wednesday, March 9, 2005 9:28 AM
iii
Contents at a Glance
About the Authors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xvii
About the Technical Reviewer . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xix
Acknowledgments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxi
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xxiii
CHAPTER 1 Introduction to PostgreSQL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1
CHAPTER 2 Relational Database Principles . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
CHAPTER 3 Getting Started with PostgreSQL . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
CHAPTER 4 Accessing Your Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 73
CHAPTER 5 PostgreSQL Command-Line and Graphical Tools . . . . . . . . . . . . . . 113
CHAPTER 6 Data Interfacing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 149
CHAPTER 7 Advanced Data Selection . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 173
CHAPTER 8 Data Definition and Manipulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 201
CHAPTER 9 Transactions and Locking . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 243
CHAPTER 10 Functions, Stored Procedures, and Triggers . . . . . . . . . . . . . . . . . . 267
CHAPTER 11 PostgreSQL Administration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 309
CHAPTER 12 Database Design . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 357
CHAPTER 13 Accessing PostgreSQL from C Using libpq . . . . . . . . . . . . . . . . . . . . 385
CHAPTER 14 Accessing PostgreSQL from C Using Embedded SQL . . . . . . . . . . 419
CHAPTER 15 Accessing PostgreSQL from PHP . . . . . . . . . . . . . . . . . . . . . . . . . . . . 445
CHAPTER 16 Accessing PostgreSQL from Perl . . . . . . . . . . . . . . . . . . . . . . . . . . . . 465
CHAPTER 17 Accessing PostgreSQL from Java . . . . . . . . . . . . . . . . . . . . . . . . . . . . 491
CHAPTER 18 Accessing PostgreSQL from C# . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 517
APPENDIX A PostgreSQL Database Limits . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 543
APPENDIX B PostgreSQL Data Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 545
MatthewStones_4789Front.fm Page iii Wednesday, March 9, 2005 9:28 AM
iv
■CONTENTS AT A GLANCE
APPENDIX C PostgreSQL SQL Syntax Reference . . . . . . . . . . . . . . . . . . . . . . . . . . 551
APPENDIX D psql Reference . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 573
APPENDIX E Database Schema and Tables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 577
APPENDIX F Large Objects Support in PostgreSQL . . . . . . . . . . . . . . . . . . . . . . . . 581
INDEX . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 589
MatthewStones_4789Front.fm Page iv Wednesday, March 9, 2005 9:28 AM
剩余664页未读,继续阅读
publicany
- 粉丝: 0
- 资源: 5
上传资源 快速赚钱
- 我的内容管理 收起
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
会员权益专享
最新资源
- zigbee-cluster-library-specification
- JSBSim Reference Manual
- c++校园超市商品信息管理系统课程设计说明书(含源代码) (2).pdf
- 建筑供配电系统相关课件.pptx
- 企业管理规章制度及管理模式.doc
- vb打开摄像头.doc
- 云计算-可信计算中认证协议改进方案.pdf
- [详细完整版]单片机编程4.ppt
- c语言常用算法.pdf
- c++经典程序代码大全.pdf
- 单片机数字时钟资料.doc
- 11项目管理前沿1.0.pptx
- 基于ssm的“魅力”繁峙宣传网站的设计与实现论文.doc
- 智慧交通综合解决方案.pptx
- 建筑防潮设计-PowerPointPresentati.pptx
- SPC统计过程控制程序.pptx
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0