The cl-postgres-plus-uuid Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The cl-postgres-plus-uuid Reference Manual

This is the cl-postgres-plus-uuid Reference Manual, version 0.0.1, generated automatically by Declt version 2.4 "Will Decker" on Wed Jun 20 11:19:27 2018 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

cl-postgres-plus-uuid

cl-postgres-plus-uuid is a Common Lisp library that defines a cl-postgres SQL reader for the PostgreSQL UUID type.

cl-postgres-plus-uuid depends on cl-postgres and UUID.

cl-postgres-plus-uuid is being developed with SBCL, CCL, and LispWorks on OS X. cl-postgres-plus-uuid is being deployed with SBCL on FreeBSD/AMD64 and Linux/AMD64.

Installation

(ql:quickload "cl-postgres-plus-uuid")

Example

(defvar *connection* (cl-postgres:open-database *dbname* *dbuser* *dbpassword* *dbhost*))

(cl-postgres:exec-query *connection* "SELECT uuid_generate_v4();" 'cl-postgres:list-row-reader)
=> (("ce29603b-59b8-4354-9e3c-3798a10451de"))

(cl-postgres-plus-uuid:set-uuid-sql-reader)

(cl-postgres:exec-query *connection* "SELECT uuid_generate_v4();" 'cl-postgres:list-row-reader)
=> ((C526D222-9A51-4453-99D1-FCC691826020))

(type-of (caar *))
=> UUID:UUID

(cl-postgres:close-database *connection*)

License

cl-postgres-plus-uuid is distributed under the MIT license. See LICENSE.


Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 cl-postgres-plus-uuid

Author

Michael J. Forster <mike@forsterfamily.ca>

License

MIT

Description

Common Lisp library providing a cl-postgres SQL reader for the PostgreSQL UUID type.

Version

0.0.1

Dependencies
Source

cl-postgres-plus-uuid.asd (file)

Components

Next: , Previous: , Up: Top   [Contents][Index]

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

3.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.1 cl-postgres-plus-uuid.asd

Location

cl-postgres-plus-uuid.asd

Systems

cl-postgres-plus-uuid (system)


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.2 cl-postgres-plus-uuid/package.lisp

Parent

cl-postgres-plus-uuid (system)

Location

package.lisp

Packages

cl-postgres-plus-uuid


Previous: , Up: Lisp files   [Contents][Index]

3.1.3 cl-postgres-plus-uuid/cl-postgres-plus-uuid.lisp

Dependency

package.lisp (file)

Parent

cl-postgres-plus-uuid (system)

Location

cl-postgres-plus-uuid.lisp

Exported Definitions

set-uuid-sql-reader (function)

Internal Definitions

+uuid-oid+ (constant)


Next: , Previous: , Up: Top   [Contents][Index]

4 Packages

Packages are listed by definition order.


Previous: , Up: Packages   [Contents][Index]

4.1 cl-postgres-plus-uuid

Source

package.lisp (file)

Use List

common-lisp

Exported Definitions

set-uuid-sql-reader (function)

Internal Definitions

+uuid-oid+ (constant)


Next: , Previous: , Up: Top   [Contents][Index]

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

5.1 Exported definitions


Previous: , Up: Exported definitions   [Contents][Index]

5.1.1 Functions

Function: set-uuid-sql-reader &optional TABLE
Package

cl-postgres-plus-uuid

Source

cl-postgres-plus-uuid.lisp (file)


Previous: , Up: Definitions   [Contents][Index]

5.2 Internal definitions


Previous: , Up: Internal definitions   [Contents][Index]

5.2.1 Constants

Constant: +uuid-oid+

The value of the PostgreSQL Object Identifier (OID) for the UUID data type.

Obtained from the PostgreSQL pg_type system catalogue via the
following query:

SELECT oid FROM pg_type WHERE typname = ’uuid’;

See https://www.postgresql.org/docs/current/static/datatype-oid.html, https://www.postgresql.org/docs/current/static/datatype-uuid.html, and https://www.postgresql.org/docs/current/static/catalog-pg-type.html.

Package

cl-postgres-plus-uuid

Source

cl-postgres-plus-uuid.lisp (file)


Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   C   F   L  
Index Entry  Section

C
cl-postgres-plus-uuid.asd: The cl-postgres-plus-uuid<dot>asd file
cl-postgres-plus-uuid/cl-postgres-plus-uuid.lisp: The cl-postgres-plus-uuid/cl-postgres-plus-uuid<dot>lisp file
cl-postgres-plus-uuid/package.lisp: The cl-postgres-plus-uuid/package<dot>lisp file

F
File, Lisp, cl-postgres-plus-uuid.asd: The cl-postgres-plus-uuid<dot>asd file
File, Lisp, cl-postgres-plus-uuid/cl-postgres-plus-uuid.lisp: The cl-postgres-plus-uuid/cl-postgres-plus-uuid<dot>lisp file
File, Lisp, cl-postgres-plus-uuid/package.lisp: The cl-postgres-plus-uuid/package<dot>lisp file

L
Lisp File, cl-postgres-plus-uuid.asd: The cl-postgres-plus-uuid<dot>asd file
Lisp File, cl-postgres-plus-uuid/cl-postgres-plus-uuid.lisp: The cl-postgres-plus-uuid/cl-postgres-plus-uuid<dot>lisp file
Lisp File, cl-postgres-plus-uuid/package.lisp: The cl-postgres-plus-uuid/package<dot>lisp file

Jump to:   C   F   L  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   F   S  
Index Entry  Section

F
Function, set-uuid-sql-reader: Exported functions

S
set-uuid-sql-reader: Exported functions

Jump to:   F   S  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables

Jump to:   +  
C  
Index Entry  Section

+
+uuid-oid+: Internal constants

C
Constant, +uuid-oid+: Internal constants

Jump to:   +  
C  

Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   C   P   S  
Index Entry  Section

C
cl-postgres-plus-uuid: The cl-postgres-plus-uuid system
cl-postgres-plus-uuid: The cl-postgres-plus-uuid package

P
Package, cl-postgres-plus-uuid: The cl-postgres-plus-uuid package

S
System, cl-postgres-plus-uuid: The cl-postgres-plus-uuid system

Jump to:   C   P   S