Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 67 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
67
Dung lượng
3,31 MB
Nội dung
[...]... programming with data: • Beginning Linux Programming, Third Edition (ISBN 0-7645-4497-7) covers the DBM library and the MySQL database system • Professional Linux Programming (ISBN 1- 8 610 03- 01- 3) contains chapters on the PostgreSQL and MySQL database systems • Beginning Databases with MySQL (ISBN 1- 8 610 06-92-6) covers the MySQL database system 1 MatthewStones_4789C 01. fm Page 2 Tuesday, February 1, 2005... SQL: 2003 At present, most RDBMSs comply with the SQL9 2 version of the standard, or sometimes ANSI X3 .13 5 -19 92, which is an identical United States standard differing only in some cover pages There are three levels of conformance to SQL9 2: Entry SQL, Intermediate SQL, and Full SQL By far, the most common conformance level is Entry SQL ■Note PostgreSQL is very close to SQL9 2: Entry SQL conformance, with. .. Types 548 Miscellaneous PostgreSQL Types 548 ■APPENDIX C PostgreSQL SQL Syntax Reference 5 51 PostgreSQL SQL Commands 5 51 PostgreSQL SQL Syntax 552 ■APPENDIX D psql Reference 573 Command-Line... in 20 01 Since then, every chapter has been updated with material to cover the latest version of PostgreSQL, version 8 We have taken the opportunity in this edition to add a new chapter on accessing PostgreSQL from the C# language to complement revised chapters covering C, Perl, PHP, and Java MatthewStones_4789C 01. fm Page 1 Tuesday, February 1, 2005 7:25 AM CHAPTER 1 ■■■ Introduction to PostgreSQL T... S ■CHAPTER 11 PostgreSQL Administration 309 System Configuration 309 The bin Directory 310 The data Directory 311 Other PostgreSQL Subdirectories 316 Database Initialization 317 Server... 512 Summary 516 ■CHAPTER 18 Accessing PostgreSQL from C# 517 Using the ODBC NET Data Provider on Windows 517 Setting Up the ODBC NET Data Provider 517 Connecting to the Database 518 Retrieving Data into a Dataset 519 Using... PostgreSQL in your own programs These chapters cover connecting to a database, executing queries, and dealing with the results using a wide range of programming languages Whether you are developing a dynamic web site with PHP or Perl, an enterprise application in Java or C#, or a client program in C, you will find a chapter to help you This is the second edition of Beginning Databases with PostgreSQL;... Asynchronous Mode 412 Canceling an Asynchronous Query 415 Making an Asynchronous Database Connection 415 Summary 417 MatthewStones_4789Front.fm Page xiii Wednesday, March 9, 2005 9:28 AM ■C O N T E N T S ■CHAPTER 14 Accessing PostgreSQL from C Using Embedded SQL 419 Using ecpg ... times, a relational database called PostgreSQL PostgreSQL is finding an eager audience among database aficionados and open-source developers alike Anyone who is creating an application with nontrivial amounts of data can benefit from using a database PostgreSQL is an excellent implementation of a relational database, fully featured, open source, and free to use PostgreSQL can be used from just about any... 439 Implementing Cursors in Embedded SQL 4 41 Debugging ecpg Code 443 Summary 444 ■CHAPTER 15 Accessing PostgreSQL from PHP 445 Adding PostgreSQL Support to PHP 445 Using the PHP API for PostgreSQL 446 Making . 13 Accessing PostgreSQL from C Using libpq . . . . . . . . . . . . . . . . . . . . 385 CHAPTER 14 Accessing PostgreSQL from C Using Embedded SQL . . . . . . . . . . 419 CHAPTER 15 Accessing PostgreSQL. 548 Miscellaneous PostgreSQL Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 548 ■APPENDIX C PostgreSQL SQL Syntax Reference . . . . . . . . . . . . . . . . . . . . . . 5 51 PostgreSQL SQL. . 11 0 Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 2 ■CHAPTER 5 PostgreSQL Command-Line and Graphical Tools . . . . . . . 11 3 psql