The pgloader Reference Manual

This is the pgloader Reference Manual, generated automatically by Declt version 4.0 beta 2 "William Riker" on Mon Feb 26 17:33:35 2024 GMT+0.

Table of Contents


1 Introduction


2 Systems

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


2.1 pgloader

Load data into PostgreSQL

Author

Dimitri Fontaine <>

License

The PostgreSQL Licence

Dependencies
  • uiop (system).
  • cl-log (system).
  • postmodern (system).
  • cl-postgres (system).
  • simple-date (system).
  • qmynd (system).
  • split-sequence (system).
  • cl-csv (system).
  • cl-fad (system).
  • lparallel (system).
  • esrap (system).
  • alexandria (system).
  • drakma (system).
  • flexi-streams (system).
  • usocket (system).
  • local-time (system).
  • command-line-arguments (system).
  • db3 (system).
  • ixf (system).
  • py-configparser (system).
  • sqlite (system).
  • cl-base64 (system).
  • trivial-backtrace (system).
  • cl-markdown (system).
  • metabang-bind (system).
  • mssql (system).
  • uuid (system).
  • quri (system).
  • cl-ppcre (system).
  • cl-mustache (system).
  • yason (system).
  • closer-mop (system).
  • zs3 (system).
Source

pgloader.asd.

Child Component

src (module).


3 Modules

Modules are listed depth-first from the system components tree.


3.1 pgloader/src

Source

pgloader.asd.

Parent Component

pgloader (system).

Child Components

3.2 pgloader/src/monkey

Source

pgloader.asd.

Parent Component

src (module).

Child Components

3.3 pgloader/src/utils

Dependencies
Source

pgloader.asd.

Parent Component

src (module).

Child Components

3.4 pgloader/src/pgsql

Dependencies
Source

pgloader.asd.

Parent Component

src (module).

Child Components

3.5 pgloader/src/sources

Dependencies
Source

pgloader.asd.

Parent Component

src (module).

Child Components

3.6 pgloader/src/sources/common

Source

pgloader.asd.

Parent Component

sources (module).

Child Components

3.7 pgloader/src/sources/csv

Dependency

common (module).

Source

pgloader.asd.

Parent Component

sources (module).

Child Components

3.8 pgloader/src/sources/fixed

Dependency

common (module).

Source

pgloader.asd.

Parent Component

sources (module).

Child Components

3.9 pgloader/src/sources/db3

Dependencies
Source

pgloader.asd.

Parent Component

sources (module).

Child Components

3.10 pgloader/src/sources/ixf

Dependency

common (module).

Source

pgloader.asd.

Parent Component

sources (module).

Child Components

3.11 pgloader/src/sources/sqlite

Dependency

common (module).

Source

pgloader.asd.

Parent Component

sources (module).

Child Components

3.12 pgloader/src/sources/mssql

Dependency

common (module).

Source

pgloader.asd.

Parent Component

sources (module).

Child Components

3.13 pgloader/src/sources/mysql

Dependency

common (module).

Source

pgloader.asd.

Parent Component

sources (module).

Child Components

3.14 pgloader/src/sources/pgsql

Dependency

common (module).

Source

pgloader.asd.

Parent Component

sources (module).

Child Components

3.15 pgloader/src/pg-copy

Dependencies
Source

pgloader.asd.

Parent Component

src (module).

Child Components

3.16 pgloader/src/load

Dependencies
Source

pgloader.asd.

Parent Component

src (module).

Child Components

3.18 pgloader/src/regress

Dependencies
Source

pgloader.asd.

Parent Component

src (module).

Child Component

regress.lisp (file).


4 Files

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


4.1 Lisp


4.1.1 pgloader/pgloader.asd

Source

pgloader.asd.

Parent Component

pgloader (system).

ASDF Systems

pgloader.


4.1.2 pgloader/src/params.lisp

Source

pgloader.asd.

Parent Component

src (module).

Packages

pgloader.params.

Public Interface
Internals

4.1.4 pgloader/src/monkey/bind.lisp

Source

pgloader.asd.

Parent Component

monkey (module).


4.1.5 pgloader/src/monkey/mssql.lisp

Source

pgloader.asd.

Parent Component

monkey (module).


4.1.6 pgloader/src/utils/charsets.lisp

Source

pgloader.asd.

Parent Component

utils (module).

Public Interface
Internals

4.1.7 pgloader/src/utils/logs.lisp

Source

pgloader.asd.

Parent Component

utils (module).

Public Interface
Internals

4.1.8 pgloader/src/utils/utils.lisp

Source

pgloader.asd.

Parent Component

utils (module).

Public Interface

4.1.9 pgloader/src/utils/state.lisp

Source

pgloader.asd.

Parent Component

utils (module).

Public Interface
Internals

4.1.10 pgloader/src/utils/transforms.lisp

Source

pgloader.asd.

Parent Component

utils (module).

Packages

pgloader.user-symbols.

Public Interface
Internals

4.1.11 pgloader/src/utils/read-sql-files.lisp

Source

pgloader.asd.

Parent Component

utils (module).

Public Interface
Internals

4.1.12 pgloader/src/utils/queries.lisp

Source

pgloader.asd.

Parent Component

utils (module).

Public Interface
Internals

4.1.13 pgloader/src/utils/quoting.lisp

Dependency

utils.lisp (file).

Source

pgloader.asd.

Parent Component

utils (module).

Public Interface

4.1.14 pgloader/src/utils/catalog.lisp

Dependency

quoting.lisp (file).

Source

pgloader.asd.

Parent Component

utils (module).

Public Interface
Internals

4.1.15 pgloader/src/utils/alter-table.lisp

Dependency

catalog.lisp (file).

Source

pgloader.asd.

Parent Component

utils (module).

Public Interface
Internals

4.1.16 pgloader/src/utils/citus.lisp

Dependency

catalog.lisp (file).

Source

pgloader.asd.

Parent Component

utils (module).

Public Interface
Internals

4.1.17 pgloader/src/utils/reject.lisp

Dependency

state.lisp (file).

Source

pgloader.asd.

Parent Component

utils (module).

Internals

%process-bad-row (function).


4.1.18 pgloader/src/utils/pretty-print-state.lisp

Dependency

state.lisp (file).

Source

pgloader.asd.

Parent Component

utils (module).

Public Interface
Internals

4.1.19 pgloader/src/utils/report.lisp

Dependencies
Source

pgloader.asd.

Parent Component

utils (module).

Public Interface

report-full-summary (function).

Internals

4.1.20 pgloader/src/utils/monitor.lisp

Dependencies
Source

pgloader.asd.

Parent Component

utils (module).

Public Interface
Internals

4.1.21 pgloader/src/utils/threads.lisp

Dependency

monitor.lisp (file).

Source

pgloader.asd.

Parent Component

utils (module).

Public Interface

make-kernel (function).


4.1.22 pgloader/src/utils/archive.lisp

Dependency

monitor.lisp (file).

Source

pgloader.asd.

Parent Component

utils (module).

Public Interface
Internals

4.1.23 pgloader/src/utils/connection.lisp

Dependencies
Source

pgloader.asd.

Parent Component

utils (module).

Public Interface
Internals

4.1.24 pgloader/src/pgsql/connection.lisp

Source

pgloader.asd.

Parent Component

pgsql (module).

Public Interface
Internals

4.1.25 pgloader/src/pgsql/pgsql-ddl.lisp

Dependency

connection.lisp (file).

Source

pgloader.asd.

Parent Component

pgsql (module).

Public Interface
Internals

4.1.26 pgloader/src/pgsql/pgsql-ddl-citus.lisp

Dependency

pgsql-ddl.lisp (file).

Source

pgloader.asd.

Parent Component

pgsql (module).

Public Interface

4.1.27 pgloader/src/pgsql/pgsql-schema.lisp

Dependency

pgsql-ddl-citus.lisp (file).

Source

pgloader.asd.

Parent Component

pgsql (module).

Public Interface
Internals

4.1.28 pgloader/src/pgsql/merge-catalogs.lisp

Dependency

pgsql-schema.lisp (file).

Source

pgloader.asd.

Parent Component

pgsql (module).

Public Interface

merge-catalogs (function).

Internals

4.1.29 pgloader/src/pgsql/pgsql-trigger.lisp

Dependency

merge-catalogs.lisp (file).

Source

pgloader.asd.

Parent Component

pgsql (module).

Internals

4.1.30 pgloader/src/pgsql/pgsql-index-filter.lisp

Dependency

pgsql-trigger.lisp (file).

Source

pgloader.asd.

Parent Component

pgsql (module).

Public Interface

4.1.31 pgloader/src/pgsql/pgsql-finalize-catalogs.lisp

Dependency

pgsql-index-filter.lisp (file).

Source

pgloader.asd.

Parent Component

pgsql (module).

Public Interface
Internals

4.1.32 pgloader/src/pgsql/pgsql-create-schema.lisp

Dependencies
Source

pgloader.asd.

Parent Component

pgsql (module).

Public Interface
Internals

4.1.33 pgloader/src/sources/common/api.lisp

Source

pgloader.asd.

Parent Component

common (module).

Public Interface
Internals

4.1.34 pgloader/src/sources/common/methods.lisp

Dependency

api.lisp (file).

Source

pgloader.asd.

Parent Component

common (module).

Public Interface

4.1.35 pgloader/src/sources/common/md-methods.lisp

Dependency

methods.lisp (file).

Source

pgloader.asd.

Parent Component

common (module).

Public Interface

4.1.36 pgloader/src/sources/common/matviews.lisp

Dependency

md-methods.lisp (file).

Source

pgloader.asd.

Parent Component

common (module).

Public Interface

4.1.37 pgloader/src/sources/common/casting-rules.lisp

Dependency

matviews.lisp (file).

Source

pgloader.asd.

Parent Component

common (module).

Public Interface
Internals

4.1.38 pgloader/src/sources/common/files-and-pathnames.lisp

Dependency

casting-rules.lisp (file).

Source

pgloader.asd.

Parent Component

common (module).

Public Interface
Internals

filter-directory (function).


4.1.39 pgloader/src/sources/common/project-fields.lisp

Dependency

files-and-pathnames.lisp (file).

Source

pgloader.asd.

Parent Component

common (module).

Public Interface

4.1.40 pgloader/src/sources/csv/csv-guess.lisp

Source

pgloader.asd.

Parent Component

csv (module).

Public Interface

guess-csv-params (function).

Internals

4.1.41 pgloader/src/sources/csv/csv.lisp

Source

pgloader.asd.

Parent Component

csv (module).

Public Interface
Internals

4.1.42 pgloader/src/sources/fixed/fixed-guess.lisp

Source

pgloader.asd.

Parent Component

fixed (module).

Internals

4.1.43 pgloader/src/sources/fixed/fixed.lisp

Dependency

fixed-guess.lisp (file).

Source

pgloader.asd.

Parent Component

fixed (module).

Public Interface
Internals

parse-row (function).


4.1.44 pgloader/src/sources/copy.lisp

Dependencies
Source

pgloader.asd.

Parent Component

sources (module).

Public Interface
Internals

4.1.45 pgloader/src/sources/db3/db3-cast-rules.lisp

Source

pgloader.asd.

Parent Component

db3 (module).

Public Interface
Internals

4.1.46 pgloader/src/sources/db3/db3-connection.lisp

Dependency

db3-cast-rules.lisp (file).

Source

pgloader.asd.

Parent Component

db3 (module).

Public Interface
Internals

4.1.47 pgloader/src/sources/db3/db3-schema.lisp

Dependency

db3-connection.lisp (file).

Source

pgloader.asd.

Parent Component

db3 (module).

Public Interface

4.1.48 pgloader/src/sources/db3/db3.lisp

Dependency

db3-schema.lisp (file).

Source

pgloader.asd.

Parent Component

db3 (module).

Public Interface

4.1.49 pgloader/src/sources/ixf/ixf-cast-rules.lisp

Source

pgloader.asd.

Parent Component

ixf (module).

Public Interface

cast (method).

Internals

4.1.50 pgloader/src/sources/ixf/ixf-connection.lisp

Dependency

ixf-cast-rules.lisp (file).

Source

pgloader.asd.

Parent Component

ixf (module).

Public Interface

4.1.51 pgloader/src/sources/ixf/ixf-schema.lisp

Dependency

ixf-connection.lisp (file).

Source

pgloader.asd.

Parent Component

ixf (module).

Public Interface
Internals

4.1.52 pgloader/src/sources/ixf/ixf.lisp

Dependency

ixf-schema.lisp (file).

Source

pgloader.asd.

Parent Component

ixf (module).

Public Interface

4.1.53 pgloader/src/sources/sqlite/sqlite-cast-rules.lisp

Source

pgloader.asd.

Parent Component

sqlite (module).

Public Interface
Internals

4.1.54 pgloader/src/sources/sqlite/sqlite-connection.lisp

Dependency

sqlite-cast-rules.lisp (file).

Source

pgloader.asd.

Parent Component

sqlite (module).

Public Interface
Internals

4.1.55 pgloader/src/sources/sqlite/sqlite-schema.lisp

Dependency

sqlite-connection.lisp (file).

Source

pgloader.asd.

Parent Component

sqlite (module).

Public Interface
Internals

4.1.56 pgloader/src/sources/sqlite/sqlite.lisp

Dependency

sqlite-schema.lisp (file).

Source

pgloader.asd.

Parent Component

sqlite (module).

Public Interface
Internals

parse-value (function).


4.1.57 pgloader/src/sources/mssql/mssql-cast-rules.lisp

Source

pgloader.asd.

Parent Component

mssql (module).

Public Interface
Internals

4.1.58 pgloader/src/sources/mssql/mssql-connection.lisp

Dependency

mssql-cast-rules.lisp (file).

Source

pgloader.asd.

Parent Component

mssql (module).

Public Interface
Internals

4.1.59 pgloader/src/sources/mssql/mssql-schema.lisp

Dependency

mssql-connection.lisp (file).

Source

pgloader.asd.

Parent Component

mssql (module).

Public Interface
Internals

*table-type* (special variable).


4.1.60 pgloader/src/sources/mssql/mssql.lisp

Dependency

mssql-schema.lisp (file).

Source

pgloader.asd.

Parent Component

mssql (module).

Public Interface

4.1.61 pgloader/src/sources/mssql/mssql-index-filters.lisp

Dependency

mssql.lisp (file).

Source

pgloader.asd.

Parent Component

mssql (module).

Public Interface

translate-index-filter (method).

Internals

parse-index-filter-clause (function).


4.1.62 pgloader/src/sources/mysql/mysql-cast-rules.lisp

Source

pgloader.asd.

Parent Component

mysql (module).

Public Interface
Internals

4.1.63 pgloader/src/sources/mysql/mysql-connection.lisp

Dependency

mysql-cast-rules.lisp (file).

Source

pgloader.asd.

Parent Component

mysql (module).

Public Interface
Internals

4.1.64 pgloader/src/sources/mysql/mysql-schema.lisp

Dependency

mysql-connection.lisp (file).

Source

pgloader.asd.

Parent Component

mysql (module).

Public Interface
Internals

4.1.65 pgloader/src/sources/mysql/mysql.lisp

Dependency

mysql-schema.lisp (file).

Source

pgloader.asd.

Parent Component

mysql (module).

Public Interface
Internals

4.1.66 pgloader/src/sources/pgsql/pgsql-cast-rules.lisp

Source

pgloader.asd.

Parent Component

pgsql (module).

Public Interface
Internals

pgsql-column-ctype (method).


4.1.67 pgloader/src/sources/pgsql/pgsql.lisp

Dependency

pgsql-cast-rules.lisp (file).

Source

pgloader.asd.

Parent Component

pgsql (module).

Public Interface

4.1.68 pgloader/src/pg-copy/copy-batch.lisp

Source

pgloader.asd.

Parent Component

pg-copy (module).

Internals

4.1.69 pgloader/src/pg-copy/copy-format.lisp

Dependency

copy-batch.lisp (file).

Source

pgloader.asd.

Parent Component

pg-copy (module).

Public Interface

format-vector-row (function).

Internals

4.1.70 pgloader/src/pg-copy/copy-db-write.lisp

Dependency

copy-format.lisp (file).

Source

pgloader.asd.

Parent Component

pg-copy (module).

Public Interface

copy-init-error (condition).

Internals

4.1.71 pgloader/src/pg-copy/copy-rows-in-stream.lisp

Dependency

copy-db-write.lisp (file).

Source

pgloader.asd.

Parent Component

pg-copy (module).

Internals

4.1.72 pgloader/src/pg-copy/copy-rows-in-batch.lisp

Dependency

copy-rows-in-stream.lisp (file).

Source

pgloader.asd.

Parent Component

pg-copy (module).

Internals

4.1.73 pgloader/src/pg-copy/copy-rows-in-batch-through-s3.lisp

Dependency

copy-rows-in-batch.lisp (file).

Source

pgloader.asd.

Parent Component

pg-copy (module).

Internals

4.1.74 pgloader/src/pg-copy/copy-retry-batch.lisp

Dependency

copy-rows-in-batch-through-s3.lisp (file).

Source

pgloader.asd.

Parent Component

pg-copy (module).

Internals

4.1.75 pgloader/src/pg-copy/copy-from-queue.lisp

Dependency

copy-retry-batch.lisp (file).

Source

pgloader.asd.

Parent Component

pg-copy (module).

Public Interface

copy-rows-from-queue (function).

Internals

prepare-copy-parameters (function).


4.1.76 pgloader/src/load/api.lisp

Source

pgloader.asd.

Parent Component

load (module).

Public Interface

4.1.77 pgloader/src/load/copy-data.lisp

Dependency

api.lisp (file).

Source

pgloader.asd.

Parent Component

load (module).

Public Interface

4.1.78 pgloader/src/load/load-file.lisp

Dependency

copy-data.lisp (file).

Source

pgloader.asd.

Parent Component

load (module).

Public Interface

copy-database (method).


4.1.79 pgloader/src/load/migrate-database.lisp

Dependency

load-file.lisp (file).

Source

pgloader.asd.

Parent Component

load (module).

Public Interface
Internals

4.1.80 pgloader/src/parsers/parse-ini.lisp

Source

pgloader.asd.

Parent Component

parsers (module).

Public Interface
Internals

4.1.81 pgloader/src/parsers/template.lisp

Dependency

parse-ini.lisp (file).

Source

pgloader.asd.

Parent Component

parsers (module).

Public Interface

initialize-context (function).

Internals

4.1.82 pgloader/src/parsers/command-utils.lisp

Dependency

template.lisp (file).

Source

pgloader.asd.

Parent Component

parsers (module).

Internals

4.1.83 pgloader/src/parsers/command-keywords.lisp

Dependency

command-utils.lisp (file).

Source

pgloader.asd.

Parent Component

parsers (module).

Internals

def-keyword-rule (macro).


4.1.84 pgloader/src/parsers/command-regexp.lisp

Dependency

command-keywords.lisp (file).

Source

pgloader.asd.

Parent Component

parsers (module).

Internals

process-quoted-regex (function).


4.1.85 pgloader/src/parsers/parse-pgpass.lisp

Dependency

command-regexp.lisp (file).

Source

pgloader.asd.

Parent Component

parsers (module).

Internals

4.1.86 pgloader/src/parsers/command-db-uri.lisp

Dependency

parse-pgpass.lisp (file).

Source

pgloader.asd.

Parent Component

parsers (module).

Internals

4.1.87 pgloader/src/parsers/command-source.lisp

Dependency

command-db-uri.lisp (file).

Source

pgloader.asd.

Parent Component

parsers (module).

Internals

filename-character-p (function).


4.1.88 pgloader/src/parsers/command-options.lisp

Dependency

command-source.lisp (file).

Source

pgloader.asd.

Parent Component

parsers (module).

Internals

4.1.89 pgloader/src/parsers/command-sql-block.lisp

Dependency

command-options.lisp (file).

Source

pgloader.asd.

Parent Component

parsers (module).

Public Interface

execute-sql-code-block (function).

Internals

sql-code-block (function).


4.1.90 pgloader/src/parsers/command-sexp.lisp

Dependency

command-sql-block.lisp (file).

Source

pgloader.asd.

Parent Component

parsers (module).

Internals

4.1.91 pgloader/src/parsers/command-csv.lisp

Dependency

command-sexp.lisp (file).

Source

pgloader.asd.

Parent Component

parsers (module).

Public Interface

lisp-code-for-loading-from-csv (function).

Internals

4.1.92 pgloader/src/parsers/command-ixf.lisp

Dependency

command-csv.lisp (file).

Source

pgloader.asd.

Parent Component

parsers (module).

Public Interface

lisp-code-for-loading-from-ixf (function).


4.1.93 pgloader/src/parsers/command-fixed.lisp

Dependency

command-ixf.lisp (file).

Source

pgloader.asd.

Parent Component

parsers (module).

Public Interface

lisp-code-for-loading-from-fixed (function).


4.1.94 pgloader/src/parsers/command-copy.lisp

Dependency

command-fixed.lisp (file).

Source

pgloader.asd.

Parent Component

parsers (module).

Public Interface

lisp-code-for-loading-from-copy (function).


4.1.95 pgloader/src/parsers/command-dbf.lisp

Dependency

command-copy.lisp (file).

Source

pgloader.asd.

Parent Component

parsers (module).

Public Interface

lisp-code-for-loading-from-dbf (function).

Internals

lisp-code-for-dbf-dry-run (function).


4.1.96 pgloader/src/parsers/command-cast-rules.lisp

Dependency

command-dbf.lisp (file).

Source

pgloader.asd.

Parent Component

parsers (module).

Internals

4.1.97 pgloader/src/parsers/command-materialize-views.lisp

Dependency

command-cast-rules.lisp (file).

Source

pgloader.asd.

Parent Component

parsers (module).


4.1.98 pgloader/src/parsers/command-alter-table.lisp

Dependency

command-materialize-views.lisp (file).

Source

pgloader.asd.

Parent Component

parsers (module).


4.1.99 pgloader/src/parsers/command-distribute.lisp

Dependency

command-alter-table.lisp (file).

Source

pgloader.asd.

Parent Component

parsers (module).

Internals

create-table-from-dsn-table-name (function).


4.1.100 pgloader/src/parsers/command-mysql.lisp

Dependency

command-distribute.lisp (file).

Source

pgloader.asd.

Parent Component

parsers (module).

Public Interface

lisp-code-for-loading-from-mysql (function).

Internals

lisp-code-for-mysql-dry-run (function).


4.1.101 pgloader/src/parsers/command-including-like.lisp

Dependency

command-mysql.lisp (file).

Source

pgloader.asd.

Parent Component

parsers (module).


4.1.102 pgloader/src/parsers/command-mssql.lisp

Dependency

command-including-like.lisp (file).

Source

pgloader.asd.

Parent Component

parsers (module).

Public Interface

lisp-code-for-loading-from-mssql (function).

Internals

lisp-code-for-mssql-dry-run (function).


4.1.103 pgloader/src/parsers/command-sqlite.lisp

Dependency

command-mssql.lisp (file).

Source

pgloader.asd.

Parent Component

parsers (module).

Public Interface

lisp-code-for-loading-from-sqlite (function).

Internals

lisp-code-for-sqlite-dry-run (function).


4.1.104 pgloader/src/parsers/command-pgsql.lisp

Dependency

command-sqlite.lisp (file).

Source

pgloader.asd.

Parent Component

parsers (module).

Public Interface

lisp-code-for-loading-from-pgsql (function).

Internals

lisp-code-for-pgsql-dry-run (function).


4.1.105 pgloader/src/parsers/command-archive.lisp

Dependency

command-pgsql.lisp (file).

Source

pgloader.asd.

Parent Component

parsers (module).


4.1.106 pgloader/src/parsers/command-parser.lisp

Dependency

command-archive.lisp (file).

Source

pgloader.asd.

Parent Component

parsers (module).

Public Interface
Internals

4.1.107 pgloader/src/parsers/parse-sqlite-type-name.lisp

Dependency

command-parser.lisp (file).

Source

pgloader.asd.

Parent Component

parsers (module).

Public Interface

parse-sqlite-type-name (function).


4.1.108 pgloader/src/parsers/date-format.lisp

Dependency

parse-sqlite-type-name.lisp (file).

Source

pgloader.asd.

Parent Component

parsers (module).

Public Interface
Internals

4.1.109 pgloader/src/api.lisp

Dependencies
Source

pgloader.asd.

Parent Component

src (module).

Public Interface
Internals

4.1.110 pgloader/src/regress/regress.lisp

Source

pgloader.asd.

Parent Component

regress (module).

Internals

4.1.111 pgloader/src/main.lisp

Dependencies
Source

pgloader.asd.

Parent Component

src (module).

Internals

5 Packages

Packages are listed by definition order.


5.1 pgloader.syslog

Source

package.lisp.

Use List

5.2 pgloader.user-symbols

Source

transforms.lisp.


5.3 pgloader.source.fixed

Source

package.lisp.

Use List
Public Interface
Internals

5.4 pgloader.connection

Source

package.lisp.

Use List
Used By List
Public Interface
Internals

5.6 pgloader.source.mssql

Source

package.lisp.

Use List
Used By List

pgloader.source.mssql.index-filter.

Public Interface
Internals

5.7 pgloader.source.csv

Source

package.lisp.

Use List
Public Interface
Internals

5.8 pgloader.archive

Source

package.lisp.

Use List
Used By List

pgloader.connection.

Public Interface
Internals

5.9 pgloader.pgsql

Source

package.lisp.

Use List
Used By List
Public Interface
Internals

5.10 pgloader.logs

Source

package.lisp.

Use List
Public Interface
Internals

5.11 pgloader.queries

Source

package.lisp.

Use List
Used By List

pgloader.utils.

Public Interface
Internals

5.12 pgloader.parse-date

Source

package.lisp.

Use List
  • common-lisp.
  • esrap.
Public Interface
Internals

5.13 pgloader.transforms

Source

package.lisp.

Use List

common-lisp.

Used By List

pgloader.pgsql.

Public Interface
Internals

5.14 pgloader.source.mysql

Source

package.lisp.

Use List
Public Interface
Internals

5.15 pgloader.pgcopy

Source

package.lisp.

Use List
Used By List
Public Interface
Internals

5.16 pgloader.source.pgsql

Source

package.lisp.

Use List
Public Interface
Internals

pgsql-column-ctype (generic function).


5.17 pgloader.source.mssql.index-filter

Source

package.lisp.

Use List
Internals

parse-index-filter-clause (function).


5.18 pgloader.sql

Source

package.lisp.

Use List

common-lisp.

Used By List

pgloader.parser.

Public Interface

read-queries (function).

Internals

5.19 pgloader

Source

package.lisp.

Use List
Public Interface
Internals

5.20 pgloader.source.copy

Source

package.lisp.

Use List
Public Interface
Internals

5.21 pgloader.catalog

Source

package.lisp.

Use List
Used By List
Public Interface
Internals

5.22 pgloader.source.sqlite

Source

package.lisp.

Use List
Public Interface
Internals

5.23 pgloader.state

Source

package.lisp.

Use List
Used By List
Public Interface
Internals

5.24 pgloader.parser

Source

package.lisp.

Use List
Used By List

pgloader.

Public Interface
Internals

5.25 pgloader.source.ixf

Source

package.lisp.

Use List
Public Interface
Internals

5.26 pgloader.quoting

Source

package.lisp.

Use List
Used By List
Public Interface

5.27 pgloader.sources

Source

package.lisp.

Use List
Used By List
Public Interface
Internals

5.28 pgloader.ini

Source

package.lisp.

Use List
Public Interface
Internals

5.29 pgloader.citus

Source

package.lisp.

Use List
Used By List

pgloader.utils.

Public Interface
Internals

5.30 pgloader.load

Source

package.lisp.

Use List
Public Interface
Internals

5.31 pgloader.monitor

Source

package.lisp.

Use List
Used By List
Public Interface
Internals

5.32 pgloader.source.db3

Source

package.lisp.

Use List
Public Interface
Internals

5.33 pgloader.params

Source

params.lisp.

Use List

common-lisp.

Used By List
Public Interface
Internals

6 Definitions

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


6.1 Public Interface


6.1.1 Special variables

Special Variable: *cast-rules*

Specific casting rules added in the command.

Package

pgloader.sources.

Source

casting-rules.lisp.

Special Variable: *client-min-messages*
Package

pgloader.params.

Source

params.lisp.

Special Variable: *context*

Alist of (names . values) intialized from the environment at run-time, and from a –context command line argument, then used in the commands when they are using the Mustache templating feature.

Package

pgloader.params.

Source

params.lisp.

Special Variable: *copy-batch-rows*

How many rows to batch per COPY transaction.

Package

pgloader.params.

Source

params.lisp.

Special Variable: *copy-batch-size*

Maximum memory size allowed for a single batch.

Package

pgloader.params.

Source

params.lisp.

Special Variable: *db3-default-cast-rules*

Data Type Casting rules to migrate from DB3 to PostgreSQL

Package

pgloader.source.db3.

Source

db3-cast-rules.lisp.

Special Variable: *decoding-as*

Special per-table encoding/decoding overloading rules for MySQL.

Package

pgloader.source.mysql.

Source

mysql.lisp.

Special Variable: *default-cast-rules*

Default casting rules.

Package

pgloader.sources.

Source

casting-rules.lisp.

Special Variable: *default-tmpdir*

Place where to fetch and expand archives on-disk.

Package

pgloader.params.

Source

params.lisp.

Special Variable: *dry-run*

Set to non-nil to only run checks about the load setup.

Package

pgloader.params.

Source

params.lisp.

Special Variable: *fd-path-root*

Where to load files from, when loading from an archive or expanding regexps.

Package

pgloader.params.

Source

params.lisp.

Special Variable: *identifier-case*

Dealing with source databases casing rules.

Package

pgloader.params.

Source

params.lisp.

Special Variable: *log-filename*

Main pgloader log file

Package

pgloader.params.

Source

params.lisp.

Special Variable: *log-messengers*

Currently active log-messengers

Package

pgloader.logs.

Source

logs.lisp.

Special Variable: *log-min-messages*
Package

pgloader.params.

Source

params.lisp.

Special Variable: *monitoring-kernel*

Internal lparallel kernel to manage the separate monitor thread.

Package

pgloader.monitor.

Source

monitor.lisp.

Special Variable: *monitoring-queue*

Internal lparallel queue where to send and receive messages from.

Package

pgloader.monitor.

Source

monitor.lisp.

Special Variable: *mssql-default-cast-rules*

Data Type Casting to migrate from MSSQL to PostgreSQL

Package

pgloader.source.mssql.

Source

mssql-cast-rules.lisp.

Special Variable: *mssql-settings*

An alist of GUC names and values.

Package

pgloader.params.

Source

params.lisp.

Special Variable: *mysql-default-cast-rules*

Data Type Casting rules to migrate from MySQL to PostgreSQL

Package

pgloader.source.mysql.

Source

mysql-cast-rules.lisp.

Special Variable: *mysql-settings*

An alist of GUC names and values.

Package

pgloader.params.

Source

params.lisp.

Special Variable: *on-error-stop*

Set to non-nil to for pgloader to refrain from handling errors, quitting instead.

Package

pgloader.params.

Source

params.lisp.

Special Variable: *pg-settings*

An alist of GUC names and values.

Package

pgloader.params.

Source

params.lisp.

Special Variable: *pgsql-default-cast-rules*

Data Type Casting to migrate from PostgtreSQL to PostgreSQL

Package

pgloader.source.pgsql.

Source

pgsql-cast-rules.lisp.

Special Variable: *pgsql-reserved-keywords*

We need to always quote PostgreSQL reserved keywords

Package

pgloader.params.

Source

params.lisp.

Special Variable: *prefetch-rows*

How many rows do read in advance in the reader queue.

Package

pgloader.params.

Source

params.lisp.

Special Variable: *preserve-index-names*

Dealing with source databases index naming.

Package

pgloader.params.

Source

params.lisp.

Special Variable: *report-stream*

Stream where to format the output stream.

Package

pgloader.params.

Source

params.lisp.

Special Variable: *root-dir*

Top directory where to store all data logs and reject files.

Package

pgloader.params.

Source

params.lisp.

Special Variable: *rows-per-range*

How many rows to read in each reader’s thread, per SQL query.

Package

pgloader.params.

Source

params.lisp.

Special Variable: *self-upgrade-immutable-systems*

Used for –self-upgrade.

Package

pgloader.params.

Source

params.lisp.

Special Variable: *sqlite-default-cast-rules*

Data Type Casting to migrate from SQLite to PostgreSQL

Package

pgloader.source.sqlite.

Source

sqlite-cast-rules.lisp.

Special Variable: *summary-pathname*

Pathname where to output the summary.

Package

pgloader.params.

Source

params.lisp.

Special Variable: *version-string*

pgloader version strings, following Emacs versionning model.

Package

pgloader.params.

Source

params.lisp.

Special Variable: +os-code-error+
Package

pgloader.params.

Source

params.lisp.

Special Variable: +os-code-error-bad-source+
Package

pgloader.params.

Source

params.lisp.

Special Variable: +os-code-error-regress+
Package

pgloader.params.

Source

params.lisp.

Special Variable: +os-code-error-usage+
Package

pgloader.params.

Source

params.lisp.

Special Variable: +os-code-success+
Package

pgloader.params.

Source

params.lisp.


6.1.2 Macros

Macro: log-message (category description &rest arguments)

Protect against evaluating ARGUMENTS in cases where we don’t log at the given CATEGORY log-level.

Package

pgloader.monitor.

Source

monitor.lisp.

Macro: push-to-end (item place)
Package

pgloader.catalog.

Source

catalog.lisp.

Macro: timing (&body forms)

return both how much real time was spend in body and its result

Package

pgloader.monitor.

Source

monitor.lisp.

Macro: with-connection ((var connection &rest args &key &allow-other-keys) &body forms)

Connect to DB-CONNECTION and handle any condition when doing so, and when connected execute FORMS in a protected way so that we always disconnect at the end.

Package

pgloader.connection.

Source

connection.lisp.

Macro: with-disabled-triggers ((table-name &key disable-triggers) &body forms)

Run FORMS with PostgreSQL triggers disabled for TABLE-NAME if DISABLE-TRIGGERS is T A PostgreSQL connection must be opened already where this macro is used.

Package

pgloader.pgsql.

Source

pgsql-create-schema.lisp.

Macro: with-monitor ((&key start-logger) &body body)

Start and stop the monitor around BODY code. The monitor is responsible for processing logs into a central logfile

Package

pgloader.monitor.

Source

monitor.lisp.

Macro: with-pgsql-connection ((pgconn) &body forms)

Run FROMS within a PostgreSQL connection to DBNAME. To get the connection spec from the DBNAME, use ‘get-connection-spec’.

Package

pgloader.pgsql.

Source

connection.lisp.

Macro: with-pgsql-transaction ((&key pgconn database) &body forms)

Run FORMS within a PostgreSQL transaction to DBNAME, reusing DATABASE if given.

Package

pgloader.pgsql.

Source

connection.lisp.

Macro: with-schema ((var table-name) &body body)

When table-name is a CONS, SET search_path TO its CAR and return its CDR, otherwise just return the TABLE-NAME. A PostgreSQL connection must be established when calling this function.

Package

pgloader.catalog.

Source

catalog.lisp.

Macro: with-stats-collection ((table-name &key section dbname use-result-as-read use-result-as-rows) &body forms)

Measure time spent in running BODY into STATE, accounting the seconds to given DBNAME and TABLE-NAME

Package

pgloader.monitor.

Source

monitor.lisp.


6.1.3 Ordinary functions

Function: add-to-search-path (catalog &key label section log-level client-min-messages)

Add catalog schemas in the database search_path.

Package

pgloader.pgsql.

Source

pgsql-create-schema.lisp.

Function: apply-casting-rules (table-name column-name dtype ctype default nullable extra &key rules)

Apply the given RULES to the MySQL SOURCE type definition

Package

pgloader.sources.

Source

casting-rules.lisp.

Function: apply-identifier-case (identifier)

Return given IDENTIFIER with CASE handled to be PostgreSQL compatible.

Package

pgloader.quoting.

Source

quoting.lisp.

Function: archivep (archive-file)

Return non-nil when the ARCHIVE-FILE is something we know how to expand.

Package

pgloader.archive.

Source

archive.lisp.

Function: build-identifier (sep &rest parts)

Concatenante PARTS into a PostgreSQL identifier, with SEP in between
parts. That’s useful for creating an index name from a table’s oid and name.

Package

pgloader.quoting.

Source

quoting.lisp.

Function: camelcase-to-colname (string)

Transform input STRING into a suitable column name. lahmanID lahman_id
playerID player_id
birthYear birth_year

Package

pgloader.quoting.

Source

quoting.lisp.

Reader: catalog-distribution-rules (instance)
Writer: (setf catalog-distribution-rules) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

distribution-rules.

Reader: catalog-name (instance)
Writer: (setf catalog-name) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

name.

Reader: catalog-schema-list (instance)
Writer: (setf catalog-schema-list) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

schema-list.

Reader: catalog-types-without-btree (instance)
Writer: (setf catalog-types-without-btree) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

types-without-btree.

Function: citus-backfill-table-p (table)

Returns non-nil when given TABLE should be backfilled with the distribution key.

Package

pgloader.catalog.

Source

citus.lisp.

Function: citus-distribute-schema (catalog distribution-rules)

Distribute a CATALOG with given user provided DISTRIBUTION-RULES. Return the list of rules applied.

Package

pgloader.citus.

Source

citus.lisp.

Reader: citus-distributed-rule-from (instance)
Writer: (setf citus-distributed-rule-from) (instance)
Package

pgloader.catalog.

Source

citus.lisp.

Target Slot

from.

Function: citus-distributed-rule-p (object)
Package

pgloader.citus.

Source

citus.lisp.

Reader: citus-distributed-rule-table (instance)
Writer: (setf citus-distributed-rule-table) (instance)
Package

pgloader.catalog.

Source

citus.lisp.

Target Slot

table.

Reader: citus-distributed-rule-using (instance)
Writer: (setf citus-distributed-rule-using) (instance)
Package

pgloader.catalog.

Source

citus.lisp.

Target Slot

using.

Function: citus-format-sql-select (source-table target-table)

Return the SQL statement to use to fetch data from the COPY context, including backfilling the distribution key in related tables.

Package

pgloader.catalog.

Source

citus.lisp.

Function: citus-reference-rule-p (object)
Package

pgloader.citus.

Source

citus.lisp.

Reader: citus-reference-rule-table (instance)
Writer: (setf citus-reference-rule-table) (instance)
Package

pgloader.citus.

Source

citus.lisp.

Target Slot

table.

Reader: column-comment (instance)
Writer: (setf column-comment) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

comment.

Reader: column-default (instance)
Writer: (setf column-default) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

default.

Reader: column-extra (instance)
Writer: (setf column-extra) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

extra.

Reader: column-name (instance)
Writer: (setf column-name) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

name.

Reader: column-nullable (instance)
Writer: (setf column-nullable) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

nullable.

Reader: column-transform (instance)
Writer: (setf column-transform) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

transform.

Reader: column-transform-default (instance)
Writer: (setf column-transform-default) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

transform-default.

Reader: column-type-mod (instance)
Writer: (setf column-type-mod) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

type-mod.

Reader: column-type-name (instance)
Writer: (setf column-type-name) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

type-name.

Function: comment-on-tables-and-columns (catalog &key label section)

Install comments on tables and columns from CATALOG.

Package

pgloader.pgsql.

Source

pgsql-create-schema.lisp.

Function: convert-ini-into-commands (filename)

Read the INI file at FILENAME and convert each section of it to a command in the new pgloader format.

Package

pgloader.ini.

Source

parse-ini.lisp.

Function: convert-ini-into-files (filename target-directory &key with-data-inline include-sql-file)

Reads the INI file at FILENAME and creates files names <section>.load for each section in the INI file, in TARGET-DIRECTORY.

When WITH-DATA-INLINE is true, read the CSV file listed as the section’s filename and insert its content in the command itself, as inline data.

When INCLUDE-SQL-FILE is :if-exists, try to find a sibling file to the data file, with the same name and with the "sql" type, and use its content in a BEFORE LOAD DO clause.

When INCLUDE-SQL-FILE is t, not finding the SQL file is an error.

Package

pgloader.ini.

Source

parse-ini.lisp.

Function: copy-rows-from-queue (copy queue &key disable-triggers on-error-stop columns)

Fetch rows from the QUEUE, prepare them in batches and send them down to PostgreSQL, and when that’s done update stats.

Package

pgloader.pgcopy.

Source

copy-from-queue.lisp.

Function: create-distributed-table (distribute-rules)
Package

pgloader.pgsql.

Source

pgsql-create-schema.lisp.

Function: create-extensions (catalog &key if-not-exists include-drop client-min-messages)

Create all extensions from the given database CATALOG.

Package

pgloader.pgsql.

Source

pgsql-create-schema.lisp.

Function: create-indexes-again (target catalog &key max-parallel-create-index section drop-indexes)

Create the indexes that we dropped previously.

Package

pgloader.pgsql.

Source

pgsql-create-schema.lisp.

Function: create-indexes-in-kernel (pgconn table kernel channel &key label)

Create indexes for given table in dbname, using given lparallel KERNEL and CHANNEL so that the index build happen in concurrently with the data copying.

Package

pgloader.pgsql.

Source

pgsql-create-schema.lisp.

Function: create-pgsql-fkeys (catalog &key section label log-level)

Actually create the Foreign Key References that where declared in the MySQL database

Package

pgloader.pgsql.

Source

pgsql-create-schema.lisp.

Function: create-schemas (catalog &key include-drop client-min-messages)

Create all schemas from the given database CATALOG.

Package

pgloader.pgsql.

Source

pgsql-create-schema.lisp.

Function: create-sqltypes (catalog &key if-not-exists include-drop client-min-messages)

Create the needed data types for given CATALOG.

Package

pgloader.pgsql.

Source

pgsql-create-schema.lisp.

Function: create-state ()
Package

pgloader.state.

Source

state.lisp.

Function: create-table (maybe-qualified-name)

Create a table instance from the db-uri component, either a string or a cons of two strings: (schema . table).

Package

pgloader.catalog.

Source

catalog.lisp.

Function: create-tables (catalog &key if-not-exists include-drop client-min-messages)

Create all tables from the given database CATALOG.

Package

pgloader.pgsql.

Source

pgsql-create-schema.lisp.

Function: create-triggers (catalog &key label section client-min-messages)

Create the catalog objects that come after the data has been loaded.

Package

pgloader.pgsql.

Source

pgsql-create-schema.lisp.

Function: create-views (catalog &key if-not-exists include-drop client-min-messages)

Create all tables from the given database CATALOG.

Package

pgloader.pgsql.

Source

pgsql-create-schema.lisp.

Function: distribute (list-of-ranges count)

Split a list of ranges into COUNT sublists.

Package

pgloader.utils.

Source

utils.lisp.

Function: drop-indexes (table-or-catalog &key cascade log-level)

Drop indexes in PGSQL-INDEX-LIST. A PostgreSQL connection must already be active when calling that function.

Package

pgloader.pgsql.

Source

pgsql-create-schema.lisp.

Function: drop-pgsql-fkeys (catalog &key cascade log-level)

Drop all Foreign Key Definitions given, to prepare for a clean run.

Package

pgloader.pgsql.

Source

pgsql-create-schema.lisp.

Function: elapsed-time-since (start &optional end)

Return how many seconds ticked between START and now

Package

pgloader.monitor.

Source

monitor.lisp.

Function: ensure-quoted (value &optional quote-char)
Package

pgloader.quoting.

Source

quoting.lisp.

Function: ensure-unquoted (identifier &optional quote-char)
Package

pgloader.quoting.

Source

quoting.lisp.

Function: execute-sql-code-block (pgconn section commands label)

Exceute given SQL commands.

Package

pgloader.parser.

Source

command-sql-block.lisp.

Function: expand-archive (archive-file &key tmpdir)

Expand given ARCHIVE-FILE in TMPDIR/(pathname-name ARCHIVE-FILE). Return the pathname where we did expand the archive file.

Package

pgloader.archive.

Source

archive.lisp.

Function: expand-user-homedir-pathname (namestring)

Expand NAMESTRING replacing leading ~ with (user-homedir-pathname)

Package

pgloader.utils.

Source

utils.lisp.

Reader: extension-name (instance)
Writer: (setf extension-name) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

name.

Reader: extension-schema (instance)
Writer: (setf extension-schema) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

schema.

Function: fetch-pgsql-catalog (dbname &key table source-catalog including excluding variant pgversion)

Fetch PostgreSQL catalogs for the target database. A PostgreSQL connection must be opened.

Package

pgloader.pgsql.

Source

pgsql-schema.lisp.

Function: finalize-catalogs (catalog variant)

Finalize the target PostgreSQL catalogs, dumbing down datatypes when the target actually is Redshift rather than core PostgreSQL.

Package

pgloader.pgsql.

Source

pgsql-finalize-catalogs.lisp.

Reader: fkey-columns (instance)
Writer: (setf fkey-columns) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

columns.

Reader: fkey-condef (instance)
Writer: (setf fkey-condef) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

condef.

Reader: fkey-deferrable (instance)
Writer: (setf fkey-deferrable) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

deferrable.

Reader: fkey-delete-rule (instance)
Writer: (setf fkey-delete-rule) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

delete-rule.

Reader: fkey-foreign-columns (instance)
Writer: (setf fkey-foreign-columns) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

foreign-columns.

Reader: fkey-foreign-table (instance)
Writer: (setf fkey-foreign-table) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

foreign-table.

Reader: fkey-initially-deferred (instance)
Writer: (setf fkey-initially-deferred) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

initially-deferred.

Reader: fkey-match-rule (instance)
Writer: (setf fkey-match-rule) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

match-rule.

Reader: fkey-name (instance)
Writer: (setf fkey-name) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

name.

Reader: fkey-oid (instance)
Writer: (setf fkey-oid) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

oid.

Reader: fkey-table (instance)
Writer: (setf fkey-table) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

table.

Reader: fkey-update-rule (instance)
Writer: (setf fkey-update-rule) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

update-rule.

Function: flush-summary (&key reset)
Package

pgloader.monitor.

Source

monitor.lisp.

Function: format-vector-row (nb-cols row)
Package

pgloader.pgsql.

Source

copy-format.lisp.

Function: get-matching-filenames (directory regex)

Apply given REGEXP to the DIRECTORY contents and return the list of matching files.

Package

pgloader.archive.

Source

archive.lisp.

Function: get-pathname (dbname table-name &key fd-path-root)

Return a pathname where to read or write the file data

Package

pgloader.sources.

Source

files-and-pathnames.lisp.

Function: get-state-section (state section)
Package

pgloader.state.

Source

state.lisp.

Function: getenv-default (name &optional default)

Return the value of the NAME variable as found in the environment, or DEFAULT if that variable isn’t set

Package

pgloader.params.

Source

params.lisp.

Function: guess-csv-params (filename-or-stream nb-cols &key sample-size)

Try a bunch of field separators with LINES and return the first one that returns COLS number of columns

Package

pgloader.source.csv.

Source

csv-guess.lisp.

Function: http-fetch-file (url &key tmpdir)

Download a file from URL into TMPDIR.

Package

pgloader.archive.

Source

archive.lisp.

Reader: index-columns (instance)
Writer: (setf index-columns) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

columns.

Reader: index-condef (instance)
Writer: (setf index-condef) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

condef.

Reader: index-conname (instance)
Writer: (setf index-conname) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

conname.

Reader: index-filter (instance)
Writer: (setf index-filter) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

filter.

Reader: index-fk-deps (instance)
Writer: (setf index-fk-deps) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

fk-deps.

Reader: index-name (instance)
Writer: (setf index-name) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

name.

Reader: index-oid (instance)
Writer: (setf index-oid) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

oid.

Reader: index-primary (instance)
Writer: (setf index-primary) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

primary.

Reader: index-schema (instance)
Writer: (setf index-schema) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

schema.

Reader: index-sql (instance)
Writer: (setf index-sql) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

sql.

Reader: index-table (instance)
Writer: (setf index-table) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

table.

Reader: index-type (instance)
Writer: (setf index-type) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

type.

Reader: index-unique (instance)
Writer: (setf index-unique) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

unique.

Function: init-params-from-environment ()

Some of our parameters get their default value from the env. Do that at runtime when using a compiled binary.

Package

pgloader.params.

Source

params.lisp.

Function: initialize-context (filename)

Initialize a context from the environment variables and from the given context-filename (might be nil). CONTEXT-FILENAME is an INI file.

Package

pgloader.parser.

Source

template.lisp.

Function: intern-symbol (symbol-name &optional overrides)

Return a symbol in either PGLOADER.TRANSFORMS if it exists there
already (it’s a user provided function) or a PGLOADER.USER-SYMBOLS package.

OVERRIDES is an alist of symbol . value, allowing called to force certain values: the classic example is how to parse the "nil" symbol-name. Given OVERRIDES as ’((nil . nil)) the returned symbol will be cl:nil rather than pgloader.user-symbols::nil.

Package

pgloader.transforms.

Source

transforms.lisp.

Function: lisp-code-for-loading-from-copy (copy-conn pg-db-conn &key encoding fields target-table-name columns gucs before after options)
Package

pgloader.parser.

Source

command-copy.lisp.

Function: lisp-code-for-loading-from-csv (csv-conn pg-db-conn &key encoding fields target-table-name columns gucs before after options &allow-other-keys)
Package

pgloader.parser.

Source

command-csv.lisp.

Function: lisp-code-for-loading-from-dbf (dbf-db-conn pg-db-conn &key target-table-name encoding gucs casts options before after-schema after &allow-other-keys)
Package

pgloader.parser.

Source

command-dbf.lisp.

Function: lisp-code-for-loading-from-fixed (fixed-conn pg-db-conn &key encoding fields target-table-name columns gucs before after options &allow-other-keys)
Package

pgloader.parser.

Source

command-fixed.lisp.

Function: lisp-code-for-loading-from-ixf (ixf-db-conn pg-db-conn &key target-table-name gucs options before after-schema after &allow-other-keys)
Package

pgloader.parser.

Source

command-ixf.lisp.

Function: lisp-code-for-loading-from-mssql (ms-db-conn pg-db-conn &key gucs mssql-gucs casts before after after-schema options distribute views alter-schema alter-table including excluding &allow-other-keys)
Package

pgloader.parser.

Source

command-mssql.lisp.

Function: lisp-code-for-loading-from-mysql (my-db-conn pg-db-conn &key gucs mysql-gucs casts options views before after after-schema alter-table alter-schema distribute including excluding decoding &allow-other-keys)
Package

pgloader.parser.

Source

command-mysql.lisp.

Function: lisp-code-for-loading-from-pgsql (pg-src-db-conn pg-dst-db-conn &key gucs casts options before after after-schema alter-table alter-schema including excluding views distribute &allow-other-keys)
Package

pgloader.parser.

Source

command-pgsql.lisp.

Function: lisp-code-for-loading-from-sqlite (sqlite-db-conn pg-db-conn &key gucs casts options before after-schema after alter-table alter-schema including excluding &allow-other-keys)
Package

pgloader.parser.

Source

command-sqlite.lisp.

Function: list-all-columns (catalog &key table-type including excluding)

Get the list of PostgreSQL column names per table.

Package

pgloader.pgsql.

Source

pgsql-schema.lisp.

Function: list-all-fkeys (catalog &key including excluding)

Get the list of PostgreSQL index definitions per table.

Package

pgloader.pgsql.

Source

pgsql-schema.lisp.

Function: list-all-indexes (catalog &key including excluding pgversion)

Get the list of PostgreSQL index definitions per table.

Package

pgloader.pgsql.

Source

pgsql-schema.lisp.

Function: list-all-sqltypes (catalog &key including excluding)

Set the catalog’s schema extension list and sqltype list

Package

pgloader.pgsql.

Source

pgsql-schema.lisp.

Function: list-encodings-and-aliases ()

Return an alist of encoding names supported by the current implementation, associated with a list of encoding name aliases for each of them.

Package

pgloader.utils.

Source

charsets.lisp.

Function: list-missing-fk-deps (catalog)

Add in the CATALOG the foreign keys we don’t have to deal with directly but that the primary keys we are going to DROP then CREATE again depend on: we need to take care of those first.

Package

pgloader.pgsql.

Source

pgsql-schema.lisp.

Function: list-reserved-keywords (pgconn)

Connect to PostgreSQL DBNAME and fetch reserved keywords.

Package

pgloader.pgsql.

Source

connection.lisp.

Function: list-schemas ()

Return the list of PostgreSQL schemas in the already established PostgreSQL connection.

Package

pgloader.pgsql.

Source

pgsql-schema.lisp.

Function: list-table-oids (catalog &key variant)

Return an hash table mapping TABLE-NAME to its OID for all table in the TABLE-NAMES list. A PostgreSQL connection must be established already.

Package

pgloader.pgsql.

Source

pgsql-schema.lisp.

Function: list-typenames-without-btree-support ()

Fetch PostgresQL data types without btree support, so that it’s possible to later CREATE INDEX ... ON ... USING gist(...), or even something else than gist.

Package

pgloader.pgsql.

Source

connection.lisp.

Function: load-data (&key from into encoding fields target-table-name options gucs casts before after start-logger flush-summary)

Load data from SOURCE into TARGET.

Package

pgloader.

Source

api.lisp.

Function: make-catalog (&key name schema-list types-without-btree distribution-rules)
Package

pgloader.catalog.

Source

catalog.lisp.

Function: make-citus-distributed-rule (&key table using from)
Package

pgloader.catalog.

Source

citus.lisp.

Function: make-citus-reference-rule (&key table)
Package

pgloader.catalog.

Source

citus.lisp.

Function: make-column (&key table name type-name type-mod nullable default comment transform extra transform-default)
Package

pgloader.catalog.

Source

catalog.lisp.

Function: make-external-format (name)

Return an object suitable as an external format in the current implementation.

Package

pgloader.utils.

Source

charsets.lisp.

Function: make-fkey (&key name oid table columns pkey foreign-table foreign-columns condef update-rule delete-rule match-rule deferrable initially-deferred)
Package

pgloader.catalog.

Source

catalog.lisp.

Function: make-including-expr-from-catalog (catalog)

Return an expression suitable to be used as an :including parameter.

Package

pgloader.pgsql.

Source

pgsql-schema.lisp.

Function: make-including-expr-from-view-names (view-names)

Turn MATERIALIZING VIEWs list of view names into an INCLUDING parameter.

Package

pgloader.pgsql.

Source

pgsql-schema.lisp.

Function: make-index (&key name oid schema table type primary unique columns sql conname condef filter fk-deps)
Package

pgloader.catalog.

Source

catalog.lisp.

Function: make-kernel (worker-count &key bindings)

Wrapper around lparallel:make-kernel that sets our usual bindings.

Package

pgloader.utils.

Source

threads.lisp.

Function: make-match-rule (&key rule schema action args)
Package

pgloader.catalog.

Source

alter-table.lisp.

Function: make-matview (&key source-name name schema definition)
Package

pgloader.catalog.

Source

catalog.lisp.

Function: make-pgstate (&key tables tabnames read rows errs secs rs ws bytes)
Package

pgloader.state.

Source

state.lisp.

Function: make-procedure (&key schema name returns language body)
Package

pgloader.catalog.

Source

catalog.lisp.

Function: make-regex-match-rule (&key target)
Package

pgloader.catalog.

Source

alter-table.lisp.

Function: make-schema (&key source-name name catalog in-search-path table-list view-list matview-list extension-list sqltype-list)
Package

pgloader.catalog.

Source

catalog.lisp.

Function: make-sqltype (&key name schema type source-def extra extension)
Package

pgloader.catalog.

Source

catalog.lisp.

Function: make-state (&key preload data postload bytes secs)
Package

pgloader.state.

Source

state.lisp.

Function: make-string-match-rule (&key target)
Package

pgloader.catalog.

Source

alter-table.lisp.

Function: make-table (&key source-name name schema oid comment storage-parameter-list tablespace row-count-estimate field-list column-list index-list fkey-list trigger-list citus-rule)
Package

pgloader.catalog.

Source

catalog.lisp.

Function: make-trigger (&key name table action procedure)
Package

pgloader.catalog.

Source

catalog.lisp.

Reader: match-rule-action (instance)
Writer: (setf match-rule-action) (instance)
Package

pgloader.catalog.

Source

alter-table.lisp.

Target Slot

action.

Reader: match-rule-args (instance)
Writer: (setf match-rule-args) (instance)
Package

pgloader.catalog.

Source

alter-table.lisp.

Target Slot

args.

Reader: match-rule-rule (instance)
Writer: (setf match-rule-rule) (instance)
Package

pgloader.catalog.

Source

alter-table.lisp.

Target Slot

rule.

Reader: match-rule-schema (instance)
Writer: (setf match-rule-schema) (instance)
Package

pgloader.catalog.

Source

alter-table.lisp.

Target Slot

schema.

Reader: matview-definition (instance)
Writer: (setf matview-definition) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

definition.

Reader: matview-name (instance)
Writer: (setf matview-name) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

name.

Reader: matview-schema (instance)
Writer: (setf matview-schema) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

schema.

Reader: matview-source-name (instance)
Writer: (setf matview-source-name) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

source-name.

Function: maybe-drop-indexes (catalog &key drop-indexes)

Drop the indexes for TABLE-NAME on TARGET PostgreSQL connection, and returns a list of indexes to create again. A PostgreSQL connection must already be active when calling that function.

Package

pgloader.pgsql.

Source

pgsql-create-schema.lisp.

Function: merge-catalogs (source-catalog target-catalog)

In order for the data loading to be as fast as possible, we DROP the constraints and indexes on the target table. Once the data is loaded we want to install the same constraints as found pre-existing in the TARGET-CATALOG rather than the one we casted from the SOURCE-CATALOG.

Also, we want to recheck the cast situation and the selected transformation functions of each column.

Package

pgloader.pgsql.

Source

merge-catalogs.lisp.

Function: new-label (section label &optional dbname)

Send an event to create a new LABEL for registering a shared state under SECTION.

Package

pgloader.monitor.

Source

monitor.lisp.

Function: parse-cli-casts (casts)

Parse additional CAST rules when we get them from the CLI.

Package

pgloader.parser.

Source

command-parser.lisp.

Function: parse-cli-encoding (encoding)

Parse the –encoding option

Package

pgloader.parser.

Source

command-parser.lisp.

Function: parse-cli-fields (type fields)

Parse the –fields option.

Package

pgloader.parser.

Source

command-parser.lisp.

Function: parse-cli-gucs (gucs)

Parse PostgreSQL GUCs as per the SET clause when we get them from the CLI.

Package

pgloader.parser.

Source

command-parser.lisp.

Function: parse-cli-options (type options)

Parse options as per the WITH clause when we get them from the CLI.

Package

pgloader.parser.

Source

command-parser.lisp.

Function: parse-cli-type (type)

Parse the –type option

Package

pgloader.parser.

Source

command-parser.lisp.

Function: parse-column-typemod (data-type column-type)

Given int(7), returns the number 7.

Beware that some data-type are using a typmod looking definition for things that are not typmods at all: enum.

Package

pgloader.transforms.

Source

transforms.lisp.

Function: parse-commands (commands-template &key start end junk-allowed)

Parse a command and return a LAMBDA form that takes no parameter.

Package

pgloader.parser.

Source

command-parser.lisp.

Function: parse-commands-from-file (maybe-relative-filename)

The command could be using from :inline, in which case we want to parse as much as possible then use the command against an already opened stream where we moved at the beginning of the data.

Package

pgloader.parser.

Source

command-parser.lisp.

Function: parse-date-format (format-string)

Parse a given format string and return a format specification for parse-date-string

Package

pgloader.parse-date.

Source

date-format.lisp.

Function: parse-date-string (date-string &optional format)

Apply this function when input date in like ’20041002152952’

Package

pgloader.parse-date.

Source

date-format.lisp.

Function: parse-ini-file (filename)

Parse an old-style INI file into a list of PARAMS structures

Package

pgloader.ini.

Source

parse-ini.lisp.

Function: parse-source-string (source-string)
Package

pgloader.parser.

Source

command-parser.lisp.

Function: parse-source-string-for-type (type source-string)

use the parse rules as per xxx-source rules

Package

pgloader.parser.

Source

command-parser.lisp.

Function: parse-sql-file (filename)

Parse FILENAME for SQL statements

Package

pgloader.parser.

Source

command-parser.lisp.

Function: parse-sqlite-type-name (type-name)
Package

pgloader.parser.

Source

parse-sqlite-type-name.lisp.

Function: parse-target-pg-db-uri (command-file)

Partially parse COMMAND-FILE and return its target connection string.

Package

pgloader.parser.

Source

command-parser.lisp.

Function: parse-target-string (target-string)
Package

pgloader.parser.

Source

command-parser.lisp.

Function: pgsql-connect-and-execute-with-timing (pgconn section label sql)

Run pgsql-execute-with-timing within a newly establised connection.

Package

pgloader.pgsql.

Source

connection.lisp.

Function: pgsql-execute (sql &key log-level client-min-messages on-error-stop)

Execute given SQL list of statements in current transaction.

When ON-ERROR-STOP is non-nil (the default), we stop at the first sql statement that fails. That’s because this facility is meant for DDL. With ON_ERROR_STOP nil, log the problem and continue thanks to PostgreSQL savepoints.

Package

pgloader.pgsql.

Source

connection.lisp.

Function: pgsql-execute-with-timing (section label sql-list &key log-level on-error-stop client-min-messages)

Execute given SQL and resgister its timing into STATE.

Package

pgloader.pgsql.

Source

connection.lisp.

Function: pgstate-decf (pgstate name &key read rows errs secs rs ws bytes)
Package

pgloader.state.

Source

state.lisp.

Reader: pgstate-errs (instance)
Writer: (setf pgstate-errs) (instance)
Package

pgloader.state.

Source

state.lisp.

Target Slot

errs.

Function: pgstate-get-label (pgstate name)
Package

pgloader.state.

Source

state.lisp.

Function: pgstate-incf (pgstate name &key read rows errs secs rs ws bytes)
Package

pgloader.state.

Source

state.lisp.

Function: pgstate-new-label (pgstate label)

Instanciate a new pgtable structure to hold our stats, and return it.

Package

pgloader.state.

Source

state.lisp.

Reader: pgstate-read (instance)
Writer: (setf pgstate-read) (instance)
Package

pgloader.state.

Source

state.lisp.

Target Slot

read.

Reader: pgstate-rows (instance)
Writer: (setf pgstate-rows) (instance)
Package

pgloader.state.

Source

state.lisp.

Target Slot

rows.

Reader: pgstate-secs (instance)
Writer: (setf pgstate-secs) (instance)
Package

pgloader.state.

Source

state.lisp.

Target Slot

secs.

Function: pgstate-setf (pgstate name &key read rows errs secs rs ws bytes)
Package

pgloader.state.

Source

state.lisp.

Reader: pgstate-tables (instance)
Writer: (setf pgstate-tables) (instance)
Package

pgloader.state.

Source

state.lisp.

Target Slot

tables.

Reader: pgstate-tabnames (instance)
Writer: (setf pgstate-tabnames) (instance)
Package

pgloader.state.

Source

state.lisp.

Target Slot

tabnames.

Reader: pgtable-bytes (instance)
Writer: (setf pgtable-bytes) (instance)
Package

pgloader.state.

Source

state.lisp.

Target Slot

bytes.

Reader: pgtable-reject-data (instance)
Writer: (setf pgtable-reject-data) (instance)
Package

pgloader.state.

Source

state.lisp.

Target Slot

reject-data.

Reader: pgtable-reject-logs (instance)
Writer: (setf pgtable-reject-logs) (instance)
Package

pgloader.state.

Source

state.lisp.

Target Slot

reject-logs.

Reader: pgtable-rows (instance)
Writer: (setf pgtable-rows) (instance)
Package

pgloader.state.

Source

state.lisp.

Target Slot

rows.

Reader: pgtable-secs (instance)
Writer: (setf pgtable-secs) (instance)
Package

pgloader.state.

Source

state.lisp.

Target Slot

secs.

Reader: pgtable-start (instance)
Writer: (setf pgtable-start) (instance)
Package

pgloader.state.

Source

state.lisp.

Target Slot

start.

Reader: pgtable-stop (instance)
Writer: (setf pgtable-stop) (instance)
Package

pgloader.state.

Source

state.lisp.

Target Slot

stop.

Function: pretty-print-bytes (bytes &key unit)

Return a string to reprensent bytes in human readable format, with units

Package

pgloader.utils.

Source

utils.lisp.

Reader: procedure-body (instance)
Writer: (setf procedure-body) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

body.

Reader: procedure-language (instance)
Writer: (setf procedure-language) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

language.

Reader: procedure-name (instance)
Writer: (setf procedure-name) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

name.

Reader: procedure-returns (instance)
Writer: (setf procedure-returns) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

returns.

Reader: procedure-schema (instance)
Writer: (setf procedure-schema) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

schema.

Function: process-bad-row (table condition data)

Send an event to log the bad row DATA in the reject and log files for given TABLE-NAME (a label in section :data), for reason found in CONDITION.

Package

pgloader.monitor.

Source

monitor.lisp.

Function: process-relative-pathnames (filename command)

Walk the COMMAND to replace relative pathname with absolute ones, merging them within the directory where we found the command FILENAME.

Package

pgloader.parser.

Source

command-parser.lisp.

Function: project-fields (&key fields columns compile)

The simplest projection happens when both FIELDS and COLS are nil: in this case the projection is an identity, we simply return what we got.

Other forms of projections consist of forming columns with the result of applying a transformation function. In that case a cols entry is a list of ’(colname type expression), the expression being the (already compiled) function to use here.

Package

pgloader.sources.

Source

project-fields.lisp.

Function: quoted-p (s &optional quote-char)

Return true if s is a double-quoted string

Package

pgloader.quoting.

Source

quoting.lisp.

Function: read-ini-file (filename)
Package

pgloader.ini.

Source

parse-ini.lisp.

Function: read-queries (filename)

read SQL queries in given file and split them, returns a list

Package

pgloader.sql.

Source

read-sql-files.lisp.

Function: reformat-then-process (&key fields columns target)

Return a lambda form to apply to each row we read.

The lambda closes over the READ paramater, which is a counter of how many lines we did read in the file.

Package

pgloader.sources.

Source

project-fields.lisp.

Reader: regex-match-rule-target (instance)
Writer: (setf regex-match-rule-target) (instance)
Package

pgloader.catalog.

Source

alter-table.lisp.

Target Slot

target.

Function: report-full-summary (state legend total-secs)

Report the full story when given three different sections of reporting.

Package

pgloader.state.

Source

report.lisp.

Function: reset-sequences (target catalog &key section)

Reset all sequences created during this MySQL migration.

Package

pgloader.pgsql.

Source

pgsql-create-schema.lisp.

Function: run-commands (source &key start-logger flush-summary summary log-filename log-min-messages client-min-messages)

SOURCE can be a function, which is run, a list, which is compiled as CL code then run, a pathname containing one or more commands that are parsed then run, or a commands string that is then parsed and each command run.

Package

pgloader.

Source

api.lisp.

Function: sanitize-user-gucs (gucs)

Forbid certain actions such as setting a client_encoding different from utf8.

Package

pgloader.pgsql.

Source

connection.lisp.

Reader: schema-catalog (instance)
Writer: (setf schema-catalog) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

catalog.

Reader: schema-extension-list (instance)
Writer: (setf schema-extension-list) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

extension-list.

Reader: schema-in-search-path (instance)
Writer: (setf schema-in-search-path) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

in-search-path.

Reader: schema-name (instance)
Writer: (setf schema-name) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

name.

Reader: schema-source-name (instance)
Writer: (setf schema-source-name) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

source-name.

Reader: schema-sqltype-list (instance)
Writer: (setf schema-sqltype-list) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

sqltype-list.

Reader: schema-table-list (instance)
Writer: (setf schema-table-list) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

table-list.

Reader: schema-view-list (instance)
Writer: (setf schema-view-list) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

view-list.

Function: send-event (event)

Add a new event to be processed by the monitor.

Package

pgloader.monitor.

Source

monitor.lisp.

Function: set-table-oids (catalog &key variant)

MySQL allows using the same index name against separate tables, which PostgreSQL forbids. To get unicity in index names without running out of characters (we are allowed only 63), we use the table OID instead.

This function grabs the table OIDs in the PostgreSQL database and update the definitions with them.

Package

pgloader.pgsql.

Source

pgsql-create-schema.lisp.

Function: show-encodings ()

List known encodings names and aliases from charsets::*lisp-encodings*.

Package

pgloader.utils.

Source

charsets.lisp.

Function: split-range (min max &optional count)

Split the range from MIN to MAX into sub-ranges of COUNT elements.

Package

pgloader.utils.

Source

utils.lisp.

Function: sql (url &rest args)

Abstract the hash-table based implementation of our SQL file system.

Package

pgloader.queries.

Source

queries.lisp.

Function: sql-url-for-variant (base filename &optional variant)

Build a SQL URL for given VARIANT

Package

pgloader.queries.

Source

queries.lisp.

Reader: sqltype-extension (instance)
Writer: (setf sqltype-extension) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

extension.

Reader: sqltype-extra (instance)
Writer: (setf sqltype-extra) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

extra.

Reader: sqltype-name (instance)
Writer: (setf sqltype-name) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

name.

Reader: sqltype-schema (instance)
Writer: (setf sqltype-schema) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

schema.

Reader: sqltype-source-def (instance)
Writer: (setf sqltype-source-def) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

source-def.

Reader: sqltype-type (instance)
Writer: (setf sqltype-type) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

type.

Function: start-logger (&key log-filename log-min-messages client-min-messages)

Start the pgloader log manager and messenger.

Package

pgloader.logs.

Source

logs.lisp.

Function: start-monitor (&key start-logger queue log-filename log-min-messages client-min-messages)

Start the monitor and its logger.

Package

pgloader.monitor.

Source

monitor.lisp.

Reader: state-data (instance)
Writer: (setf state-data) (instance)
Package

pgloader.state.

Source

state.lisp.

Target Slot

data.

Reader: state-postload (instance)
Writer: (setf state-postload) (instance)
Package

pgloader.state.

Source

state.lisp.

Target Slot

postload.

Reader: state-preload (instance)
Writer: (setf state-preload) (instance)
Package

pgloader.state.

Source

state.lisp.

Target Slot

preload.

Reader: state-secs (instance)
Writer: (setf state-secs) (instance)
Package

pgloader.state.

Source

state.lisp.

Target Slot

secs.

Function: stop-logger ()

Stop the pgloader manager and messengers.

Package

pgloader.logs.

Source

logs.lisp.

Function: stop-monitor (&key kernel channel stop-logger)

Stop the current monitor task.

Package

pgloader.monitor.

Source

monitor.lisp.

Reader: string-match-rule-target (instance)
Writer: (setf string-match-rule-target) (instance)
Package

pgloader.catalog.

Source

alter-table.lisp.

Target Slot

target.

Reader: table-citus-rule (instance)
Writer: (setf table-citus-rule) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

citus-rule.

Reader: table-column-list (instance)
Writer: (setf table-column-list) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

column-list.

Reader: table-comment (instance)
Writer: (setf table-comment) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

comment.

Reader: table-field-list (instance)
Writer: (setf table-field-list) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

field-list.

Reader: table-fkey-list (instance)
Writer: (setf table-fkey-list) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

fkey-list.

Reader: table-index-list (instance)
Writer: (setf table-index-list) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

index-list.

Reader: table-name (instance)
Writer: (setf table-name) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

name.

Reader: table-oid (instance)
Writer: (setf table-oid) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

oid.

Reader: table-row-count-estimate (instance)
Writer: (setf table-row-count-estimate) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

row-count-estimate.

Reader: table-schema (instance)
Writer: (setf table-schema) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

schema.

Reader: table-source-name (instance)
Writer: (setf table-source-name) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

source-name.

Reader: table-storage-parameter-list (instance)
Writer: (setf table-storage-parameter-list) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

storage-parameter-list.

Reader: table-tablespace (instance)
Writer: (setf table-tablespace) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

tablespace.

Reader: table-trigger-list (instance)
Writer: (setf table-trigger-list) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

trigger-list.

Reader: trigger-action (instance)
Writer: (setf trigger-action) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

action.

Reader: trigger-name (instance)
Writer: (setf trigger-name) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

name.

Function: trigger-p (object)
Package

pgloader.catalog.

Source

catalog.lisp.

Reader: trigger-procedure (instance)
Writer: (setf trigger-procedure) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

procedure.

Reader: trigger-table (instance)
Writer: (setf trigger-table) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

table.

Function: truncate-tables (catalog-or-table)

Truncate given TABLE-NAME in database DBNAME. A PostgreSQL connection must already be active when calling that function.

Package

pgloader.pgsql.

Source

pgsql-create-schema.lisp.

Function: typemod-expr-matches-p (rule-typemod-expr typemod)

Check if an expression such as (< 10) matches given typemod.

Package

pgloader.transforms.

Source

transforms.lisp.

Function: typemod-expr-to-function (expr)

Transform given EXPR into a callable function object.

Package

pgloader.transforms.

Source

transforms.lisp.

Function: unquote (string &optional quote escape)

Given ’0’, returns 0.

Package

pgloader.utils.

Source

utils.lisp.

Function: update-stats (section label &key read rows errs secs rs ws bytes start stop)

Send an event to update stats for given SECTION and LABEL.

Package

pgloader.monitor.

Source

monitor.lisp.

Function: write-command-to-string (config section &key with-data-inline end-command)

Return the new syntax for the command found in SECTION.

When WITH-DATA-INLINE is true, instead of using the SECTION’s filename option, use the constant INLINE in the command.

Package

pgloader.ini.

Source

parse-ini.lisp.


6.1.4 Generic functions

Generic Function: add-column (object column &key)
Package

pgloader.catalog.

Source

catalog.lisp.

Methods
Method: add-column ((index index) column &key)

Add COLUMN name to INDEX and return the INDEX.

Method: add-column ((table table) column &key)

Add COLUMN to TABLE and return the TABLE.

Generic Function: add-extension (object extension-name &key)
Package

pgloader.catalog.

Source

catalog.lisp.

Methods
Method: add-extension ((schema schema) extension-name &key)

Add EXTENSION-NAME to SCHEMA and return the new extension instance.

Generic Function: add-field (table field &key)
Package

pgloader.catalog.

Methods
Method: add-field ((table table) field &key)

Add COLUMN to TABLE and return the TABLE.

Source

catalog.lisp.

Generic Function: add-fkey (object fkey &key)
Package

pgloader.catalog.

Source

catalog.lisp.

Methods
Method: add-fkey ((table table) fkey &key)

Add FKEY to TABLE and return the TABLE.

Generic Function: add-index (object index &key)
Package

pgloader.catalog.

Source

catalog.lisp.

Methods
Method: add-index ((table table) index &key)

Add INDEX to TABLE and return the TABLE.

Generic Function: add-schema (object schema-name &key in-search-path)
Package

pgloader.catalog.

Source

catalog.lisp.

Methods
Method: add-schema ((catalog catalog) schema-name &key in-search-path)

Add SCHEMA-NAME to CATALOG and return the new schema instance.

Generic Function: add-sqltype (object column &key)
Package

pgloader.catalog.

Source

catalog.lisp.

Methods
Method: add-sqltype ((schema schema) sqltype &key)

Add SQLTYPE instance to SCHEMA and return SQLTYPE.

Generic Function: add-table (object table-name &key comment oid)
Package

pgloader.catalog.

Source

catalog.lisp.

Methods
Method: add-table ((schema schema) table-name &key comment oid)

Add TABLE-NAME to SCHEMA and return the new table instance.

Generic Function: add-view (object view-name &key comment)
Package

pgloader.catalog.

Source

catalog.lisp.

Methods
Method: add-view ((schema schema) view-name &key comment)

Add TABLE-NAME to SCHEMA and return the new table instance.

Generic Function: adjust-data-types (catalog variant)

Adjust PostgreSQL data types depending on the variant we target.

Package

pgloader.pgsql.

Source

pgsql-finalize-catalogs.lisp.

Methods
Method: adjust-data-types ((catalog catalog) (variant (eql :redshift)))
Method: adjust-data-types ((catalog catalog) (variant (eql :pgdg)))
Generic Function: alter-schema (object alter-schema-rule-list)
Package

pgloader.catalog.

Source

alter-table.lisp.

Methods
Method: alter-schema ((schema schema) alter-schema-rule-list)

Apply ALTER-SCHEMA-RULE-LIST to SCHEMA.

Method: alter-schema ((catalog catalog) alter-schema-rule-list)

Apply ALTER-SCHEMA-RULE-LIST to all schema of CATALOG.

Generic Function: alter-table (object alter-table-rule-list)
Package

pgloader.catalog.

Source

alter-table.lisp.

Methods
Method: alter-table ((table table) alter-table-rule-list)

Apply ALTER-TABLE-RULE-LIST to TABLE.

Method: alter-table ((schema schema) alter-table-rule-list)

Apply ALTER-TABLE-RULE-LIST to all tables and views of SCHEMA.

Method: alter-table ((catalog catalog) alter-table-rule-list)

Apply ALTER-TABLE-RULE-LIST to all schema of CATALOG.

Generic Function: cast (object &key table &allow-other-keys)

Cast a FIELD definition from a source database into a PostgreSQL COLUMN definition.

Package

pgloader.catalog.

Source

catalog.lisp.

Methods
Method: cast ((field column) &key &allow-other-keys)

Return the PostgreSQL type definition from the given PostgreSQL column definition

Source

pgsql-cast-rules.lisp.

Method: cast ((col mysql-column) &key table)

Return the PostgreSQL type definition from given MySQL column definition.

Source

mysql-cast-rules.lisp.

Method: cast ((field mssql-column) &key &allow-other-keys)

Return the PostgreSQL type definition from given MS SQL column definition.

Source

mssql-cast-rules.lisp.

Method: cast ((col coldef) &key &allow-other-keys)

Return the PostgreSQL type definition from given SQLite column definition.

Source

sqlite-cast-rules.lisp.

Method: cast ((col ixf-column) &key &allow-other-keys)

Return the PostgreSQL type definition from given IXF column definition.

Source

ixf-cast-rules.lisp.

Method: cast ((field db3-coldef) &key table)

Return the PostgreSQL type definition given the DB3 one.

Source

db3-cast-rules.lisp.

Method: cast ((catalog catalog) &key)

Cast all fields of all tables in all schemas in CATALOG into columns.

Method: cast ((schema schema) &key)

Cast all fields of all tables in SCHEMA into columns.

Method: cast ((table table) &key)

Cast all fields in table into columns.

Generic Function: check-connection (connection)

Check that we can actually connect.

Package

pgloader.connection.

Source

connection.lisp.

Methods
Method: check-connection ((c db-connection))

Check that it is possible to connect to db-connection C.

Method: check-connection ((fd fd-connection))

Check that it is possible to connect to db-connection C.

Generic Function: cleanup (db-copy catalog &key materialize-views)

Clean-up after prepare-pgsql-database failure.

Package

pgloader.sources.

Source

api.lisp.

Methods
Method: cleanup ((pgsql copy-pgsql) (catalog catalog) &key materialize-views)

When there is a PostgreSQL error at prepare-pgsql-database step, we might need to clean-up any view created in the source PostgreSQL connection for the migration purpose.

Source

pgsql.lisp.

Method: cleanup ((mysql copy-mysql) (catalog catalog) &key materialize-views)

When there is a PostgreSQL error at prepare-pgsql-database step, we might need to clean-up any view created in the MySQL connection for the migration purpose.

Source

mysql.lisp.

Method: cleanup ((mssql copy-mssql) (catalog catalog) &key materialize-views)

When there is a PostgreSQL error at prepare-pgsql-database step, we might need to clean-up any view created in the MS SQL connection for the migration purpose.

Source

mssql.lisp.

Method: cleanup ((copy db-copy) (catalog catalog) &key materialize-views)

In case anything wrong happens at ‘prepare-pgsql-database’ step, this function will be called to clean-up the mess left behind, if any.

Source

methods.lisp.

Generic Function: clone-connection (connection)

Instanciate a new connection object with similar properties.

Package

pgloader.connection.

Source

connection.lisp.

Methods
Method: clone-connection ((c mysql-connection))
Source

mysql-connection.lisp.

Method: clone-connection ((c mssql-connection))
Source

mssql-connection.lisp.

Method: clone-connection ((slconn sqlite-connection))
Source

sqlite-connection.lisp.

Method: clone-connection ((c ixf-connection))
Source

ixf-connection.lisp.

Method: clone-connection ((c dbf-connection))
Source

db3-connection.lisp.

Method: clone-connection ((c pgsql-connection))
Source

connection.lisp.

Method: clone-connection ((c db-connection))
Method: clone-connection ((fd fd-connection))
Generic Function: clone-copy-for (md-copy path-spec)

Create a new instance for copying PATH-SPEC data.

Package

pgloader.sources.

Source

api.lisp.

Methods
Method: clone-copy-for ((copy copy-copy) path-spec)

Create a copy of FIXED for loading data from PATH-SPEC.

Source

copy.lisp.

Method: clone-copy-for ((fixed copy-fixed) path-spec)

Create a copy of FIXED for loading data from PATH-SPEC.

Source

fixed.lisp.

Method: clone-copy-for ((csv copy-csv) path-spec)

Create a copy of CSV for loading data from PATH-SPEC.

Source

csv.lisp.

Method: clone-copy-for ((copy md-copy) path-spec)

Create a copy of CSV for loading data from PATH-SPEC.

Source

md-methods.lisp.

Generic Function: close-connection (connection)

Close a connection to the data source.

Package

pgloader.connection.

Source

connection.lisp.

Methods
Method: close-connection ((myconn mysql-connection))
Source

mysql-connection.lisp.

Method: close-connection ((msconn mssql-connection))
Source

mssql-connection.lisp.

Method: close-connection ((slconn sqlite-connection))
Source

sqlite-connection.lisp.

Method: close-connection ((ixfconn ixf-connection))
Source

ixf-connection.lisp.

Method: close-connection ((dbfconn dbf-connection))
Source

db3-connection.lisp.

Method: close-connection ((md md-connection))

Reset.

Source

files-and-pathnames.lisp.

Method: close-connection ((pgconn pgsql-connection))

Close a PostgreSQL connection.

Source

connection.lisp.

Generic Reader: columns (object)
Package

pgloader.sources.

Methods
Reader Method: columns ((copy copy))

automatically generated reader method

Source

api.lisp.

Target Slot

columns.

Generic Writer: (setf columns) (object)
Package

pgloader.sources.

Methods
Writer Method: (setf columns) ((copy copy))

automatically generated writer method

Source

api.lisp.

Target Slot

columns.

Generic Function: complete-pgsql-database (db-copy catalog pkeys &key foreign-keys create-indexes create-triggers reset-sequences)

Alter load duties for database sources copy support.

Package

pgloader.load.

Source

api.lisp.

Methods
Method: complete-pgsql-database ((copy db-copy) (catalog catalog) pkeys &key foreign-keys create-indexes create-triggers reset-sequences)

After loading the data into PostgreSQL, we can now reset the sequences and declare foreign keys.

Source

migrate-database.lisp.

Generic Function: concurrency-support (copy concurrency)

Returns nil when no concurrency is supported, or a list of copy ojbects prepared to run concurrently.

Package

pgloader.sources.

Source

api.lisp.

Methods
Method: concurrency-support ((mysql copy-mysql) concurrency)

Splits the read work thanks WHERE clauses when possible and relevant, return nil if we decide to read all in a single thread, and a list of as many copy-mysql instances as CONCURRENCY otherwise. Each copy-mysql instance in the returned list embeds specifications about how to read only its partition of the source data.

Source

mysql.lisp.

Generic Reader: conn-handle (object)
Package

pgloader.connection.

Methods
Reader Method: conn-handle ((connection connection))

automatically generated reader method

Source

connection.lisp.

Target Slot

handle.

Generic Writer: (setf conn-handle) (object)
Package

pgloader.connection.

Methods
Writer Method: (setf conn-handle) ((connection connection))

automatically generated writer method

Source

connection.lisp.

Target Slot

handle.

Generic Reader: conn-type (object)
Package

pgloader.connection.

Methods
Reader Method: conn-type ((connection connection))

automatically generated reader method

Source

connection.lisp.

Target Slot

type.

Generic Writer: (setf conn-type) (object)
Package

pgloader.connection.

Methods
Writer Method: (setf conn-type) ((connection connection))

automatically generated writer method

Source

connection.lisp.

Target Slot

type.

Generic Function: copy-column-list (source)

Return the list of column names for the data sent in the queue.

Package

pgloader.sources.

Source

api.lisp.

Methods
Method: copy-column-list ((pgsql copy-pgsql))

We are sending the data in the source columns ordering here.

Source

pgsql.lisp.

Method: copy-column-list ((mysql copy-mysql))

We are sending the data in the MySQL columns ordering here.

Source

mysql.lisp.

Method: copy-column-list ((mssql copy-mssql))

We are sending the data in the MS SQL columns ordering here.

Source

mssql.lisp.

Method: copy-column-list ((sqlite copy-sqlite))

Send the data in the SQLite column ordering.

Source

sqlite.lisp.

Method: copy-column-list ((copy md-copy))

We did reformat-then-process the column list, so we now send them in the COPY buffer as found in (columns fixed).

Source

md-methods.lisp.

Method: copy-column-list ((copy copy))

Default column list is an empty list.

Source

methods.lisp.

Generic Function: copy-database (source &key worker-count concurrency max-parallel-create-index truncate data-only schema-only create-tables include-drop foreign-keys create-indexes reset-sequences disable-triggers materialize-views set-table-oids including excluding on-error-stop multiple-readers create-schemas drop-schema index-names reindex after-schema distribute alter-table alter-schema drop-indexes)

Auto-discover source schema, convert it to PostgreSQL, migrate the data from the source definition to PostgreSQL for all the discovered items (tables, collections, etc), then reset the PostgreSQL sequences created by SERIAL columns in the first step.

The target tables are automatically discovered, the only-tables parameter allows to filter them out.

Package

pgloader.load.

Source

api.lisp.

Methods
Method: copy-database ((copy db-copy) &key on-error-stop worker-count concurrency multiple-readers max-parallel-create-index truncate disable-triggers data-only schema-only create-schemas create-tables include-drop drop-schema create-indexes index-names reset-sequences foreign-keys reindex after-schema distribute including excluding set-table-oids alter-table alter-schema materialize-views)

Export database source data and Import it into PostgreSQL

Source

migrate-database.lisp.

Method: copy-database ((copy md-copy) &key on-error-stop truncate disable-triggers drop-indexes max-parallel-create-index worker-count concurrency data-only schema-only create-tables include-drop foreign-keys create-indexes reset-sequences materialize-views set-table-oids including excluding)

Copy the contents of the COPY formated file to PostgreSQL.

Source

load-file.lisp.

Generic Reader: copy-format (object)
Package

pgloader.sources.

Methods
Reader Method: copy-format ((copy copy))

automatically generated reader method

Source

api.lisp.

Target Slot

format.

Generic Writer: (setf copy-format) (object)
Package

pgloader.sources.

Methods
Writer Method: (setf copy-format) ((copy copy))

automatically generated writer method

Source

api.lisp.

Target Slot

format.

Generic Function: copy-from (source &key kernel channel worker-count concurrency multiple-readers on-error-stop disable-triggers)

Load data from SOURCE into its target as defined by the SOURCE object.

Package

pgloader.load.

Source

api.lisp.

Methods
Method: copy-from ((copy copy) &key kernel channel worker-count concurrency multiple-readers on-error-stop disable-triggers)

Copy data from COPY source into PostgreSQL.

Source

copy-data.lisp.

Generic Function: copy-to (source filename)

Load data from SOURCE and serialize it into FILENAME, using PostgreSQL COPY TEXT format.

Package

pgloader.load.

Source

api.lisp.

Methods
Method: copy-to ((copy copy) pgsql-copy-filename)

Extract data from COPY file into a PotgreSQL COPY TEXT formated file

Source

copy-data.lisp.

Generic Function: count-fkeys (object &key)

Count how many forein keys we have in total in OBJECT.

Package

pgloader.catalog.

Source

catalog.lisp.

Methods
Method: count-fkeys ((catalog catalog) &key)

Count fkeys in given SCHEMA.

Method: count-fkeys ((schema schema) &key)

Count fkeys in given SCHEMA.

Method: count-fkeys ((table table) &key)

Count fkeys in given TABLE.

Generic Function: count-indexes (object &key)

Count how many indexes we have in total in OBJECT.

Package

pgloader.catalog.

Source

catalog.lisp.

Methods
Method: count-indexes ((catalog catalog) &key)

Count indexes in given SCHEMA.

Method: count-indexes ((schema schema) &key)

Count indexes in given SCHEMA.

Method: count-indexes ((table table) &key)

Count indexes in given TABLE.

Generic Function: count-tables (object &key)

Count how many tables we have in total in OBJECT.

Package

pgloader.catalog.

Source

catalog.lisp.

Methods
Method: count-tables ((catalog catalog) &key)
Method: count-tables ((schema schema) &key)

Count tables in given SCHEMA.

Generic Function: count-views (object &key)

Count how many views we have in total in OBJECT.

Package

pgloader.catalog.

Source

catalog.lisp.

Methods
Method: count-views ((catalog catalog) &key)
Method: count-views ((schema schema) &key)

Count tables in given SCHEMA.

Generic Function: create-matviews (matview-list db-copy)

Create Materialized Views.

Package

pgloader.sources.

Source

api.lisp.

Methods
Method: create-matviews (matview-list copy)

Create Materialized Views as per the pgloader command.

Source

matviews.lisp.

Generic Function: data-is-preformatted-p (source)

Process raw data from RAW-QUEUE and prepare batches of formatted text to send down to PostgreSQL with the COPY protocol in FORMATTED-QUEUE.

Package

pgloader.sources.

Source

api.lisp.

Methods
Method: data-is-preformatted-p ((copy copy-copy))
Source

copy.lisp.

Method: data-is-preformatted-p ((copy copy))

By default, data is not preformatted.

Source

methods.lisp.

Generic Reader: db-host (object)
Package

pgloader.connection.

Methods
Reader Method: db-host ((db-connection db-connection))

automatically generated reader method

Source

connection.lisp.

Target Slot

host.

Generic Writer: (setf db-host) (object)
Package

pgloader.connection.

Methods
Writer Method: (setf db-host) ((db-connection db-connection))

automatically generated writer method

Source

connection.lisp.

Target Slot

host.

Generic Reader: db-name (object)
Package

pgloader.connection.

Methods
Reader Method: db-name ((db-connection db-connection))

automatically generated reader method

Source

connection.lisp.

Target Slot

name.

Generic Writer: (setf db-name) (object)
Package

pgloader.connection.

Methods
Writer Method: (setf db-name) ((db-connection db-connection))

automatically generated writer method

Source

connection.lisp.

Target Slot

name.

Generic Reader: db-pass (object)
Package

pgloader.connection.

Methods
Reader Method: db-pass ((db-connection db-connection))

automatically generated reader method

Source

connection.lisp.

Target Slot

pass.

Generic Writer: (setf db-pass) (object)
Package

pgloader.connection.

Methods
Writer Method: (setf db-pass) ((db-connection db-connection))

automatically generated writer method

Source

connection.lisp.

Target Slot

pass.

Generic Reader: db-port (object)
Package

pgloader.connection.

Methods
Reader Method: db-port ((db-connection db-connection))

automatically generated reader method

Source

connection.lisp.

Target Slot

port.

Generic Writer: (setf db-port) (object)
Package

pgloader.connection.

Methods
Writer Method: (setf db-port) ((db-connection db-connection))

automatically generated writer method

Source

connection.lisp.

Target Slot

port.

Generic Reader: db-user (object)
Package

pgloader.connection.

Methods
Reader Method: db-user ((db-connection db-connection))

automatically generated reader method

Source

connection.lisp.

Target Slot

user.

Generic Writer: (setf db-user) (object)
Package

pgloader.connection.

Methods
Writer Method: (setf db-user) ((db-connection db-connection))

automatically generated writer method

Source

connection.lisp.

Target Slot

user.

Generic Function: drop-matviews (matview-list db-copy)

Drop Materialized Views.

Package

pgloader.sources.

Source

api.lisp.

Methods
Method: drop-matviews (matview-list copy)

Drop Materialized Views created just for the pgloader migration.

Source

matviews.lisp.

Generic Reader: encoding (object)
Package

pgloader.sources.

Methods
Reader Method: encoding ((copy-mysql copy-mysql))

automatically generated reader method

Source

mysql-schema.lisp.

Target Slot

encoding.

Reader Method: encoding ((copy-mssql copy-mssql))

automatically generated reader method

Source

mssql-schema.lisp.

Target Slot

encoding.

Reader Method: encoding ((copy-db3 copy-db3))

automatically generated reader method

Source

db3-schema.lisp.

Target Slot

encoding.

Reader Method: encoding ((md-copy md-copy))

automatically generated reader method

Source

api.lisp.

Target Slot

encoding.

Generic Writer: (setf encoding) (object)
Package

pgloader.sources.

Methods
Writer Method: (setf encoding) ((copy-mysql copy-mysql))

automatically generated writer method

Source

mysql-schema.lisp.

Target Slot

encoding.

Writer Method: (setf encoding) ((copy-mssql copy-mssql))

automatically generated writer method

Source

mssql-schema.lisp.

Target Slot

encoding.

Writer Method: (setf encoding) ((copy-db3 copy-db3))

automatically generated writer method

Source

db3-schema.lisp.

Target Slot

encoding.

Writer Method: (setf encoding) ((md-copy md-copy))

automatically generated writer method

Source

api.lisp.

Target Slot

encoding.

Generic Function: expand (fd-connection)

Support for file archives.

Package

pgloader.connection.

Source

connection.lisp.

Methods
Method: expand :after ((md md-connection))

Expand the archive for the MD connection.

Source

files-and-pathnames.lisp.

Method: expand ((fd fd-connection))

Expand the archive for the FD connection.

Generic Function: expand-spec (md-connection)

Expand specification for an FD source.

Package

pgloader.sources.

Source

files-and-pathnames.lisp.

Methods
Method: expand-spec ((md md-connection))

Given fd spec as a CONS of a source type and a tagged object, expand the tagged object depending on the source type and return a list of pathnames.

Generic Function: extension-list (object &key)

Return the list of extensions found in OBJECT.

Package

pgloader.catalog.

Source

catalog.lisp.

Methods
Method: extension-list ((catalog catalog) &key)

Return the list of extensions for CATALOG.

Method: extension-list ((schema schema) &key)

Return the list of extensions for SCHEMA.

Generic Reader: fd-path (object)
Package

pgloader.connection.

Methods
Reader Method: fd-path ((fd-connection fd-connection))

automatically generated reader method

Source

connection.lisp.

Target Slot

path.

Generic Writer: (setf fd-path) (object)
Package

pgloader.connection.

Methods
Writer Method: (setf fd-path) ((fd-connection fd-connection))

automatically generated writer method

Source

connection.lisp.

Target Slot

path.

Generic Function: fetch-columns (catalog db-copy &key table-type including excluding db-has-sequences &allow-other-keys)

Get the list of schema, tables and columns from the source database.

Package

pgloader.sources.

Source

api.lisp.

Methods
Method: fetch-columns ((schema schema) (mysql copy-mysql) &key table-type including excluding)

Get the list of MySQL column names per table.

Source

mysql-schema.lisp.

Method: fetch-columns ((catalog catalog) (mssql copy-mssql) &key table-type including excluding)
Source

mssql-schema.lisp.

Method: fetch-columns ((schema schema) (sqlite copy-sqlite) &key db-has-sequences table-type including excluding)

Get the list of SQLite column definitions per table.

Source

sqlite-schema.lisp.

Method: fetch-columns ((table table) (ixf copy-ixf) &key &allow-other-keys)

Return the list of columns for the given IXF-FILE-NAME.

Source

ixf-schema.lisp.

Method: fetch-columns ((table table) (db3 copy-db3) &key &allow-other-keys)

Return the list of columns for the given DB3-FILE-NAME.

Source

db3-schema.lisp.

Generic Function: fetch-comments (catalog db-copy &key including excluding)

Get the list of comments from the source database.

Package

pgloader.sources.

Source

api.lisp.

Generic Function: fetch-file (fd-connection)

Support for HTTP URI for files.

Package

pgloader.connection.

Source

connection.lisp.

Methods
Method: fetch-file :after ((md md-connection))

When the fd-connection has an URI slot, download its file.

Source

files-and-pathnames.lisp.

Method: fetch-file ((fd fd-connection))

When the fd-connection has an URI slot, download its file.

Generic Function: fetch-foreign-keys (catalog db-copy &key including excluding &allow-other-keys)

Get the list of foreign keys from the source database.

Package

pgloader.sources.

Source

api.lisp.

Methods
Method: fetch-foreign-keys ((schema schema) (mysql copy-mysql) &key including excluding)

Get the list of MySQL Foreign Keys definitions per table.

Source

mysql-schema.lisp.

Method: fetch-foreign-keys ((catalog catalog) (mssql copy-mssql) &key including excluding)

Get the list of MSSQL index definitions per table.

Source

mssql-schema.lisp.

Method: fetch-foreign-keys ((schema schema) (sqlite copy-sqlite) &key &allow-other-keys)

Get the list of SQLite foreign keys definitions per table.

Source

sqlite-schema.lisp.

Generic Function: fetch-indexes (catalog db-copy &key including excluding &allow-other-keys)

Get the list of indexes from the source database.

Package

pgloader.sources.

Source

api.lisp.

Methods
Method: fetch-indexes ((schema schema) (mysql copy-mysql) &key including excluding)

Get the list of MySQL index definitions per table.

Source

mysql-schema.lisp.

Method: fetch-indexes ((catalog catalog) (mssql copy-mssql) &key including excluding)

Get the list of MSSQL index definitions per table.

Source

mssql-schema.lisp.

Method: fetch-indexes ((schema schema) (sqlite copy-sqlite) &key &allow-other-keys)

Get the list of SQLite index definitions per table.

Source

sqlite-schema.lisp.

Generic Function: fetch-metadata (db-copy catalog &key materialize-views create-indexes foreign-keys including excluding only-tables)
Package

pgloader.sources.

Source

api.lisp.

Methods
Method: fetch-metadata ((pgsql copy-pgsql) (catalog catalog) &key materialize-views only-tables create-indexes foreign-keys including excluding)

PostgreSQL introspection to prepare the migration.

Source

pgsql.lisp.

Method: fetch-metadata ((mysql copy-mysql) (catalog catalog) &key materialize-views create-indexes foreign-keys including excluding)

MySQL introspection to prepare the migration.

Source

mysql.lisp.

Method: fetch-metadata ((mssql copy-mssql) (catalog catalog) &key materialize-views create-indexes foreign-keys including excluding)

MS SQL introspection to prepare the migration.

Source

mssql.lisp.

Method: fetch-metadata ((sqlite copy-sqlite) (catalog catalog) &key materialize-views only-tables create-indexes foreign-keys including excluding)

SQLite introspection to prepare the migration.

Source

sqlite.lisp.

Method: fetch-metadata ((ixf copy-ixf) (catalog catalog) &key materialize-views only-tables create-indexes foreign-keys including excluding)

Collect IXF metadata and prepare our catalog from that.

Source

ixf.lisp.

Method: fetch-metadata ((db3 copy-db3) (catalog catalog) &key materialize-views only-tables create-indexes foreign-keys including excluding)

Collect DB3 metadata and prepare our catalog from that.

Source

db3.lisp.

Generic Function: field-name (object &key)

Get the source database column name, or field-name.

Package

pgloader.catalog.

Source

catalog.lisp.

Methods
Method: field-name ((field mysql-column) &key)
Source

mysql-cast-rules.lisp.

Method: field-name ((field mssql-column) &key)
Source

mssql-cast-rules.lisp.

Method: field-name ((column column) &key)
Generic Reader: fields (object)
Package

pgloader.sources.

Methods
Reader Method: fields ((copy copy))

automatically generated reader method

Source

api.lisp.

Target Slot

fields.

Generic Writer: (setf fields) (object)
Package

pgloader.sources.

Methods
Writer Method: (setf fields) ((copy copy))

automatically generated writer method

Source

api.lisp.

Target Slot

fields.

Generic Function: filter-list-to-where-clause (db-copy filter-list &key not schema-col table-col &allow-other-keys)

Transform a filter-list into SQL expression for DB-COPY.

Package

pgloader.sources.

Source

api.lisp.

Methods
Method: filter-list-to-where-clause ((mysql copy-mysql) filter-list &key not &allow-other-keys)

Given an INCLUDING or EXCLUDING clause, turn it into a MySQL WHERE clause.

Source

mysql-schema.lisp.

Method: filter-list-to-where-clause ((mssql copy-mssql) filter-list &key not schema-col table-col)

Given an INCLUDING or EXCLUDING clause, turn it into a MS SQL WHERE clause.

Source

mssql-schema.lisp.

Method: filter-list-to-where-clause ((sqlite copy-sqlite) filter-list &key not table-col &allow-other-keys)

Given an INCLUDING or EXCLUDING clause, turn it into a SQLite WHERE clause.

Source

sqlite-schema.lisp.

Generic Function: find-extension (object extension-name &key)

Find an extension by EXTENSION-NAME in a schema OBJECT and return the table

Package

pgloader.catalog.

Source

catalog.lisp.

Methods
Method: find-extension ((schema schema) extension-name &key)

Find EXTENSION-NAME in SCHEMA and return the EXTENSION object of this name.

Generic Function: find-fkey (object fkey-name &key key test)

Find a foreign key by FKEY-NAME in a table OBJECT and return the fkey

Package

pgloader.catalog.

Source

catalog.lisp.

Methods
Method: find-fkey ((table table) fkey-name &key key test)

Find FKEY-NAME in TABLE and return the FKEY object of this name.

Generic Function: find-index (object index-name &key key test)

Find an index by INDEX-NAME in a table OBJECT and return the index

Package

pgloader.catalog.

Source

catalog.lisp.

Methods
Method: find-index ((table table) index-name &key key test)

Find INDEX-NAME in TABLE and return the INDEX object of this name.

Generic Function: find-schema (object schema-name &key)

Find a schema by SCHEMA-NAME in a catalog OBJECT and return the schema

Package

pgloader.catalog.

Source

catalog.lisp.

Methods
Method: find-schema ((catalog catalog) schema-name &key)

Find SCHEMA-NAME in CATALOG and return the SCHEMA object of this name.

Generic Function: find-table (object table-name &key)

Find a table by TABLE-NAME in a schema OBJECT and return the table

Package

pgloader.catalog.

Source

catalog.lisp.

Methods
Method: find-table ((schema schema) table-name &key)

Find TABLE-NAME in SCHEMA and return the TABLE object of this name.

Generic Function: find-view (object view-name &key)

Find a table by TABLE-NAME in a schema OBJECT and return the table

Package

pgloader.catalog.

Source

catalog.lisp.

Methods
Method: find-view ((schema schema) view-name &key)

Find TABLE-NAME in SCHEMA and return the TABLE object of this name.

Generic Function: format-create-sql (object &key stream if-not-exists pretty-print max-column-name-length)

Generate proper SQL command to create OBJECT in PostgreSQL. The output is written to STREAM.

Package

pgloader.catalog.

Source

catalog.lisp.

Methods
Method: format-create-sql ((rule citus-distributed-rule) &key stream if-not-exists)
Source

pgsql-ddl-citus.lisp.

Method: format-create-sql ((rule citus-reference-rule) &key stream if-not-exists)
Source

pgsql-ddl-citus.lisp.

Method: format-create-sql ((procedure procedure) &key stream if-not-exists)
Source

pgsql-ddl.lisp.

Method: format-create-sql ((trigger trigger) &key stream if-not-exists)
Source

pgsql-ddl.lisp.

Method: format-create-sql ((fk fkey) &key stream if-not-exists)
Source

pgsql-ddl.lisp.

Method: format-create-sql ((index index) &key stream if-not-exists)
Source

pgsql-ddl.lisp.

Method: format-create-sql ((column column) &key stream if-not-exists pretty-print max-column-name-length)
Source

pgsql-ddl.lisp.

Method: format-create-sql ((table table) &key stream if-not-exists)
Source

pgsql-ddl.lisp.

Method: format-create-sql ((extension extension) &key stream if-not-exists)
Source

pgsql-ddl.lisp.

Method: format-create-sql ((sqltype sqltype) &key stream if-not-exists)
Source

pgsql-ddl.lisp.

Method: format-create-sql ((schema schema) &key stream if-not-exists)
Source

pgsql-ddl.lisp.

Generic Function: format-default-value (column &key stream)

Generate proper value to be used as a default value for given COLUMN in PostgreSQL. The output is written to STREAM.

Package

pgloader.catalog.

Source

catalog.lisp.

Methods
Method: format-default-value ((column column) &key stream)
Source

pgsql-ddl.lisp.

Generic Function: format-drop-sql (object &key stream cascade if-exists)

Generate proper SQL command to drop OBJECT in PostgreSQL. The output is written to STREAM.

Package

pgloader.catalog.

Source

catalog.lisp.

Methods
Method: format-drop-sql ((procedure procedure) &key stream cascade if-exists)
Source

pgsql-ddl.lisp.

Method: format-drop-sql ((trigger trigger) &key stream cascade if-exists)
Source

pgsql-ddl.lisp.

Method: format-drop-sql ((fk fkey) &key stream cascade if-exists)
Source

pgsql-ddl.lisp.

Method: format-drop-sql ((index index) &key stream cascade if-exists)
Source

pgsql-ddl.lisp.

Method: format-drop-sql ((table table) &key stream cascade if-exists)

Return the PostgreSQL DROP TABLE IF EXISTS statement for TABLE-NAME.

Source

pgsql-ddl.lisp.

Method: format-drop-sql ((extension extension) &key stream cascade if-exists)
Source

pgsql-ddl.lisp.

Method: format-drop-sql ((sqltype sqltype) &key stream cascade if-exists)
Source

pgsql-ddl.lisp.

Method: format-drop-sql ((schema schema) &key stream cascade if-exists)
Source

pgsql-ddl.lisp.

Generic Function: format-matview-name (matview copy)

Format the materialized view name.

Package

pgloader.sources.

Source

api.lisp.

Methods
Method: format-matview-name (matview (copy db-copy))

Format the materialized view name.

Source

matviews.lisp.

Generic Function: format-table-name (object)

Format the OBJECT name for PostgreSQL.

Package

pgloader.catalog.

Source

catalog.lisp.

Methods
Method: format-table-name ((table table))

TABLE should be a table instance, but for hysterical raisins might be a CONS of a schema name and a table name, or just the table name as a string.

Generic Function: get-column-list (copy-db)

Generate the SQL projection column list for the SELECT clause.

Package

pgloader.sources.

Source

api.lisp.

Methods
Method: get-column-list ((mysql copy-mysql))

Some MySQL datatypes have a meaningless default output representation, we need to process them on the SQL side (geometric data types).

Source

mysql-schema.lisp.

Method: get-column-list ((mssql copy-mssql))

Tweak how we fetch the column values to avoid parsing when possible.

Source

mssql-schema.lisp.

Generic Function: get-column-sql-expression (db-copy name type)

Generate SQL expression for the SELECT clause for given column.

Package

pgloader.sources.

Source

api.lisp.

Methods
Method: get-column-sql-expression ((mysql copy-mysql) name type)

Return per-TYPE SQL expression to use given a column NAME.

Mostly we just use the name, but in case of POINT we need to use st_astext(name).

Source

mysql-schema.lisp.

Method: get-column-sql-expression ((mssql copy-mssql) name type)

Return per-TYPE SQL expression to use given a column NAME.

Mostly we just use the name, and make try to avoid parsing dates.

Source

mssql-schema.lisp.

Generic Reader: header (object)
Package

pgloader.sources.

Methods
Reader Method: header ((md-copy md-copy))

automatically generated reader method

Source

api.lisp.

Target Slot

header.

Generic Writer: (setf header) (object)
Package

pgloader.sources.

Methods
Writer Method: (setf header) ((md-copy md-copy))

automatically generated writer method

Source

api.lisp.

Target Slot

header.

Generic Function: instanciate-table-copy-object (db-copy table)

Create a new instance for copying TABLE data.

Package

pgloader.sources.

Source

api.lisp.

Methods
Method: instanciate-table-copy-object ((copy copy-mysql) (table table))

Create an new instance for copying TABLE data.

Source

mysql.lisp.

Method: instanciate-table-copy-object ((ixf copy-ixf) (table table))

Create an new instance for copying TABLE data.

Source

ixf.lisp.

Method: instanciate-table-copy-object ((db3 copy-db3) (table table))

Create an new instance for copying TABLE data.

Source

db3.lisp.

Method: instanciate-table-copy-object ((copy db-copy) (table table))

Create an new instance for copying TABLE data.

Source

methods.lisp.

Generic Function: map-rows (source &key process-row-fn)

Load data from SOURCE and funcall PROCESS-ROW-FUN for each row found in the SOURCE data. Each ROW is passed as a vector of objects.

Package

pgloader.sources.

Source

api.lisp.

Methods
Method: map-rows ((pgsql copy-pgsql) &key process-row-fn)

Extract PostgreSQL data and call PROCESS-ROW-FN function with a single argument (a list of column values) for each row

Source

pgsql.lisp.

Method: map-rows ((mysql copy-mysql) &key process-row-fn)

Extract MySQL data and call PROCESS-ROW-FN function with a single argument (a list of column values) for each row.

Source

mysql.lisp.

Method: map-rows ((mssql copy-mssql) &key process-row-fn)

Extract Mssql data and call PROCESS-ROW-FN function with a single argument (a list of column values) for each row.

Source

mssql.lisp.

Method: map-rows ((sqlite copy-sqlite) &key process-row-fn)

Extract SQLite data and call PROCESS-ROW-FN function with a single argument (a list of column values) for each row

Source

sqlite.lisp.

Method: map-rows ((copy-ixf copy-ixf) &key process-row-fn)

Extract IXF data and call PROCESS-ROW-FN function with a single argument (a list of column values) for each row.

Source

ixf.lisp.

Method: map-rows ((copy-db3 copy-db3) &key process-row-fn)

Extract DB3 data and call PROCESS-ROW-FN function with a single argument (a list of column values) for each row.

Source

db3.lisp.

Method: map-rows ((copy md-copy) &key process-row-fn)

Load data from a text file in CSV format, with support for advanced projecting capabilities. See ‘project-fields’ for details.

Each row is pre-processed then PROCESS-ROW-FN is called with the row as a list as its only parameter.

Finally returns how many rows where read and processed.

Source

md-methods.lisp.

Generic Function: matches (rule string)

Return non-nul if the STRING matches given RULE.

Package

pgloader.catalog.

Source

alter-table.lisp.

Methods
Method: matches ((rule string-match-rule) string)
Method: matches ((rule regex-match-rule) string)
Generic Function: max-indexes-per-table (schema &key)

Count how many indexes we have maximum per table in SCHEMA.

Package

pgloader.catalog.

Source

catalog.lisp.

Methods
Method: max-indexes-per-table ((catalog catalog) &key)

Count how many indexes maximum per table are listed in SCHEMA.

Method: max-indexes-per-table ((schema schema) &key)

Count how many indexes maximum per table are listed in SCHEMA.

Generic Function: maybe-add-extension (object extension-name &key)

Add a new extension or return existing one.

Package

pgloader.catalog.

Source

catalog.lisp.

Methods
Method: maybe-add-extension ((schema schema) extension-name &key)

Add TABLE-NAME to the table-list for SCHEMA, or return the existing table of the same name if it already exists in the schema table-list.

Generic Function: maybe-add-fkey (object fkey-name fkey &key key test)

Add a new fkey or return existing one.

Package

pgloader.catalog.

Source

catalog.lisp.

Methods
Method: maybe-add-fkey ((table table) fkey-name fkey &key key test)

Add the foreign key FKEY to the table-fkey-list of TABLE unless it already exists, and return the FKEY object.

Generic Function: maybe-add-index (object index-name index &key key test)

Add a new index or return existing one.

Package

pgloader.catalog.

Source

catalog.lisp.

Methods
Method: maybe-add-index ((table table) index-name index &key key test)

Add the index INDEX to the table-index-list of TABLE unless it already exists, and return the INDEX object.

Generic Function: maybe-add-schema (object schema-name &key)

Add a new schema or return existing one.

Package

pgloader.catalog.

Source

catalog.lisp.

Methods
Method: maybe-add-schema ((catalog catalog) schema-name &key)

Add SCHEMA-NAME to the schema-list for CATALOG, or return the existing schema of the same name if it already exists in the catalog schema-list

Generic Function: maybe-add-table (object table-name &key comment oid)

Add a new table or return existing one.

Package

pgloader.catalog.

Source

catalog.lisp.

Methods
Method: maybe-add-table ((schema schema) table-name &key comment oid)

Add TABLE-NAME to the table-list for SCHEMA, or return the existing table of the same name if it already exists in the schema table-list.

Generic Function: maybe-add-view (object view-name &key comment)

Add a new view or return existing one.

Package

pgloader.catalog.

Source

catalog.lisp.

Methods
Method: maybe-add-view ((schema schema) view-name &key comment)

Add TABLE-NAME to the table-list for SCHEMA, or return the existing table of the same name if it already exists in the schema table-list.

Generic Reader: md-spec (object)
Package

pgloader.sources.

Methods
Reader Method: md-spec ((md-connection md-connection))

automatically generated reader method

Source

files-and-pathnames.lisp.

Target Slot

spec.

Generic Writer: (setf md-spec) (object)
Package

pgloader.sources.

Methods
Writer Method: (setf md-spec) ((md-connection md-connection))

automatically generated writer method

Source

files-and-pathnames.lisp.

Target Slot

spec.

Generic Reader: md-strm (object)
Package

pgloader.sources.

Methods
Reader Method: md-strm ((md-connection md-connection))

automatically generated reader method

Source

files-and-pathnames.lisp.

Target Slot

strm.

Generic Writer: (setf md-strm) (object)
Package

pgloader.sources.

Methods
Writer Method: (setf md-strm) ((md-connection md-connection))

automatically generated writer method

Source

files-and-pathnames.lisp.

Target Slot

strm.

Generic Function: open-connection (connection &key check-has-sequences username &allow-other-keys)

Open a connection to the data source.

Package

pgloader.connection.

Source

connection.lisp.

Methods
Method: open-connection ((myconn mysql-connection) &key)
Source

mysql-connection.lisp.

Method: open-connection ((msconn mssql-connection) &key)
Source

mssql-connection.lisp.

Method: open-connection ((slconn sqlite-connection) &key check-has-sequences)
Source

sqlite-connection.lisp.

Method: open-connection ((ixfconn ixf-connection) &key)
Source

ixf-connection.lisp.

Method: open-connection ((dbfconn dbf-connection) &key)
Source

db3-connection.lisp.

Method: open-connection ((md md-connection) &rest args &key &allow-other-keys)

We know how to open several kinds of specs here, all that target a single file as input. The multi-file specs must have been expanded before trying to open the connection.

Source

files-and-pathnames.lisp.

Method: open-connection ((pgconn pgsql-connection) &key username)

Open a PostgreSQL connection.

Source

connection.lisp.

Generic Function: parse-header (md-copy)

Parse the file header and return a list of fields.

Package

pgloader.sources.

Source

api.lisp.

Methods
Method: parse-header ((fixed copy-fixed))

Parse the header line given a FIXED setup.

Source

fixed.lisp.

Method: parse-header ((csv copy-csv))

Parse the header line given csv setup.

Source

csv.lisp.

Method: parse-header ((copy md-copy))

Unsupported by default, to be implemented in each md-copy subclass.

Source

md-methods.lisp.

Generic Reader: pgconn-major-version (object)
Package

pgloader.pgsql.

Methods
Reader Method: pgconn-major-version ((pgsql-connection pgsql-connection))

automatically generated reader method

Source

connection.lisp.

Target Slot

major-version.

Generic Writer: (setf pgconn-major-version) (object)
Package

pgloader.pgsql.

Methods
Writer Method: (setf pgconn-major-version) ((pgsql-connection pgsql-connection))

automatically generated writer method

Source

connection.lisp.

Target Slot

major-version.

Generic Reader: pgconn-table-name (object)
Package

pgloader.pgsql.

Methods
Reader Method: pgconn-table-name ((pgsql-connection pgsql-connection))

automatically generated reader method

Source

connection.lisp.

Target Slot

table-name.

Generic Writer: (setf pgconn-table-name) (object)
Package

pgloader.pgsql.

Methods
Writer Method: (setf pgconn-table-name) ((pgsql-connection pgsql-connection))

automatically generated writer method

Source

connection.lisp.

Target Slot

table-name.

Generic Reader: pgconn-use-ssl (object)
Package

pgloader.pgsql.

Methods
Reader Method: pgconn-use-ssl ((pgsql-connection pgsql-connection))

automatically generated reader method

Source

connection.lisp.

Target Slot

use-ssl.

Generic Writer: (setf pgconn-use-ssl) (object)
Package

pgloader.pgsql.

Methods
Writer Method: (setf pgconn-use-ssl) ((pgsql-connection pgsql-connection))

automatically generated writer method

Source

connection.lisp.

Target Slot

use-ssl.

Generic Reader: pgconn-variant (object)
Package

pgloader.pgsql.

Methods
Reader Method: pgconn-variant ((pgsql-connection pgsql-connection))

automatically generated reader method

Source

connection.lisp.

Target Slot

variant.

Generic Writer: (setf pgconn-variant) (object)
Package

pgloader.pgsql.

Methods
Writer Method: (setf pgconn-variant) ((pgsql-connection pgsql-connection))

automatically generated writer method

Source

connection.lisp.

Target Slot

variant.

Generic Reader: pgconn-version-string (object)
Package

pgloader.pgsql.

Methods
Reader Method: pgconn-version-string ((pgsql-connection pgsql-connection))

automatically generated reader method

Source

connection.lisp.

Target Slot

version-string.

Generic Writer: (setf pgconn-version-string) (object)
Package

pgloader.pgsql.

Methods
Writer Method: (setf pgconn-version-string) ((pgsql-connection pgsql-connection))

automatically generated writer method

Source

connection.lisp.

Target Slot

version-string.

Generic Function: pgtable-initialize-reject-files (table dbname)
Package

pgloader.state.

Methods
Method: pgtable-initialize-reject-files ((table pgtable) dbname)

Prepare TABLE for being able to deal with rejected rows (log them).

Source

state.lisp.

Generic Function: prepare-pgsql-database (db-copy catalog &key truncate create-tables create-schemas drop-indexes set-table-oids materialize-views foreign-keys include-drop drop-schema)

Prepare the target PostgreSQL database.

Package

pgloader.load.

Source

api.lisp.

Methods
Method: prepare-pgsql-database ((copy db-copy) (catalog catalog) &key truncate create-tables create-schemas drop-schema drop-indexes set-table-oids materialize-views foreign-keys include-drop)

Prepare the target PostgreSQL database: create tables casting datatypes from the MySQL definitions, prepare index definitions and create target tables for materialized views.

That function mutates index definitions in ALL-INDEXES.

Source

migrate-database.lisp.

Generic Function: preprocess-row (copy)
Package

pgloader.sources.

Methods
Method: preprocess-row ((copy md-copy))

The file based readers possibly have extra work to do with user defined fields to columns projections (mapping).

Source

md-methods.lisp.

Method: preprocess-row ((copy copy))

The default preprocessing of raw data is to do nothing.

Source

methods.lisp.

Generic Reader: preprocessor (object)
Package

pgloader.sources.

Methods
Reader Method: preprocessor ((copy copy))

automatically generated reader method

Source

api.lisp.

Target Slot

process-fn.

Generic Writer: (setf preprocessor) (object)
Package

pgloader.sources.

Methods
Writer Method: (setf preprocessor) ((copy copy))

automatically generated writer method

Source

api.lisp.

Target Slot

process-fn.

Generic Function: process-index-definitions (object &key sql-dialect)

Rewrite all indexes filters in given catalog OBJECT.

Package

pgloader.pgsql.

Source

pgsql-index-filter.lisp.

Methods
Method: process-index-definitions ((table table) &key sql-dialect)

Rewrite all index filter in TABLE.

Method: process-index-definitions ((schema schema) &key sql-dialect)

Rewrite all index filters in CATALOG.

Method: process-index-definitions ((catalog catalog) &key sql-dialect)

Rewrite all index filters in CATALOG.

Generic Function: process-rows (md-copy stream process-fn)

Process rows from a given input stream.

Package

pgloader.sources.

Source

api.lisp.

Methods
Method: process-rows ((copy copy-copy) stream process-fn)

Process rows from STREAM according to COPY specifications and PROCESS-FN.

Source

copy.lisp.

Method: process-rows ((fixed copy-fixed) stream process-fn)

Process rows from STREAM according to COPY specifications and PROCESS-FN.

Source

fixed.lisp.

Method: process-rows ((csv copy-csv) stream process-fn)

Process rows from STREAM according to COPY specifications and PROCESS-FN.

Source

csv.lisp.

Generic Function: query (db-connection sql &key row-fn as-text result-type)

Query DB-CONNECTION with SQL query

Package

pgloader.connection.

Source

connection.lisp.

Methods
Method: query ((myconn mysql-connection) sql &key row-fn as-text result-type)

Run SQL query against MySQL connection MYCONN.

Source

mysql-connection.lisp.

Method: query ((msconn mssql-connection) sql &key)

Send SQL query to MSCONN connection.

Source

mssql-connection.lisp.

Method: query ((slconn sqlite-connection) sql &key)
Source

sqlite-connection.lisp.

Method: query ((pgconn pgsql-connection) sql &key)
Source

connection.lisp.

Method: query ((pgconn (eql nil)) sql &key)

Case when a connection already exists around the call, as per ‘with-connection’ and ‘with-transaction’.

Source

connection.lisp.

Generic Function: queue-raw-data (copy rawq concurrency)
Package

pgloader.load.

Methods
Method: queue-raw-data ((copy copy) rawq concurrency)

Stream data as read by the map-queue method on the COPY argument into QUEUE, as given.

Source

copy-data.lisp.

Generic Reader: skip-lines (object)
Package

pgloader.sources.

Methods
Reader Method: skip-lines ((md-copy md-copy))

automatically generated reader method

Source

api.lisp.

Target Slot

skip-lines.

Generic Writer: (setf skip-lines) (object)
Package

pgloader.sources.

Methods
Writer Method: (setf skip-lines) ((md-copy md-copy))

automatically generated writer method

Source

api.lisp.

Target Slot

skip-lines.

Generic Reader: source (object)
Package

pgloader.sources.

Methods
Reader Method: source ((copy copy))

automatically generated reader method

Source

api.lisp.

Target Slot

source.

Generic Writer: (setf source) (object)
Package

pgloader.sources.

Methods
Writer Method: (setf source) ((copy copy))

automatically generated writer method

Source

api.lisp.

Target Slot

source.

Generic Reader: source-db (object)
Package

pgloader.sources.

Methods
Reader Method: source-db ((copy copy))

automatically generated reader method

Source

api.lisp.

Target Slot

source-db.

Generic Writer: (setf source-db) (object)
Package

pgloader.sources.

Methods
Writer Method: (setf source-db) ((copy copy))

automatically generated writer method

Source

api.lisp.

Target Slot

source-db.

Generic Function: sqltype-list (column &key)
Package

pgloader.catalog.

Methods
Method: sqltype-list ((catalog catalog) &key)

Return the list of sqltypes for CATALOG.

Source

catalog.lisp.

Method: sqltype-list ((schema schema) &key)

Return the list of sqltypes for SCHEMA.

Source

catalog.lisp.

Method: sqltype-list ((table table) &key)

Return the list of sqltypes for SCHEMA.

Source

catalog.lisp.

Method: sqltype-list ((column column) &key)

Return the list of sqltypes for SCHEMA.

Source

catalog.lisp.

Generic Function: table-list (object &key)

Return the list of tables found in OBJECT.

Package

pgloader.catalog.

Source

catalog.lisp.

Methods
Method: table-list ((catalog catalog) &key)

Return the list of tables for table.

Method: table-list ((schema schema) &key)

Return the list of tables for SCHEMA.

Generic Reader: target (object)
Package

pgloader.sources.

Methods
Reader Method: target ((copy copy))

automatically generated reader method

Source

api.lisp.

Target Slot

target.

Generic Writer: (setf target) (object)
Package

pgloader.sources.

Methods
Writer Method: (setf target) ((copy copy))

automatically generated writer method

Source

api.lisp.

Target Slot

target.

Generic Reader: target-db (object)
Package

pgloader.sources.

Methods
Reader Method: target-db ((copy copy))

automatically generated reader method

Source

api.lisp.

Target Slot

target-db.

Generic Writer: (setf target-db) (object)
Package

pgloader.sources.

Methods
Writer Method: (setf target-db) ((copy copy))

automatically generated writer method

Source

api.lisp.

Target Slot

target-db.

Generic Reader: transforms (object)
Package

pgloader.sources.

Methods
Reader Method: transforms ((copy copy))

automatically generated reader method

Source

api.lisp.

Target Slot

transforms.

Generic Writer: (setf transforms) (object)
Package

pgloader.sources.

Methods
Writer Method: (setf transforms) ((copy copy))

automatically generated writer method

Source

api.lisp.

Target Slot

transforms.

Generic Function: translate-index-filter (table index sql-dialect)

Translate the filter clause of INDEX in PostgreSQL slang.

Package

pgloader.pgsql.

Source

pgsql-index-filter.lisp.

Methods
Method: translate-index-filter ((table table) (index index) (sql-dialect (eql pgloader.source.mssql:copy-mssql)))

Transform given MS SQL index filter to PostgreSQL slang.

Source

mssql-index-filters.lisp.

Method: translate-index-filter ((table table) (index index) sql-dialect)

Implement a default facility that does nothing.

Generic Function: view-list (object &key)

Return the list of views found in OBJECT.

Package

pgloader.catalog.

Source

catalog.lisp.

Methods
Method: view-list ((catalog catalog) &key)

Return the list of views for cATALOG.

Method: view-list ((schema schema) &key)

Return the list of views for SCHEMA.


6.1.5 Standalone methods

Method: encode ((table table) &optional stream)
Package

yason.

Source

pretty-print-state.lisp.

Method: encode ((pgstate pgstate) &optional stream)

Output catalog tables by name only, don’t recurse into the catalog...

Package

yason.

Source

pretty-print-state.lisp.

Method: encode ((instance state) &optional stream)

Encode an EXTENSION object into JSON.

Package

yason.

Source

pretty-print-state.lisp.

Method: encode ((instance pgtable) &optional stream)

Encode an EXTENSION object into JSON.

Package

yason.

Source

pretty-print-state.lisp.

Method: initialize-instance :after ((fixed fixed-connection) &key)

Assign the type slot to sqlite.

Source

fixed.lisp.

Method: initialize-instance :after ((msconn mssql-connection) &key)

Assign the type slot to mssql.

Source

mssql-connection.lisp.

Method: initialize-instance :after ((csv csv-connection) &key)

Assign the type slot to sqlite.

Source

csv.lisp.

Method: initialize-instance :after ((pgconn pgsql-connection) &key)

Assign the type slot to pgsql.

Source

connection.lisp.

Method: initialize-instance :after ((myconn mysql-connection) &key)

Assign the type slot to mysql.

Source

mysql-connection.lisp.

Method: initialize-instance :after ((copy copy-connection) &key)

Assign the type slot to sqlite.

Source

copy.lisp.

Method: initialize-instance :after ((slconn sqlite-connection) &key)

Assign the type slot to sqlite.

Source

sqlite-connection.lisp.

Method: initialize-instance :after ((ixfconn ixf-connection) &key)

Assign the type slot to dbf.

Source

ixf-connection.lisp.

Method: initialize-instance :after ((source copy-ixf) &key)

Add a default value for transforms in case it’s not been provided.

Source

ixf-schema.lisp.

Method: initialize-instance :after ((source copy) &key)

Add a default value for transforms in case it’s not been provided.

Source

api.lisp.

Method: initialize-instance :after ((db3 copy-db3) &key)

Add a default value for transforms in case it’s not been provided.

Source

db3-schema.lisp.

Method: initialize-instance :after ((dbfconn dbf-connection) &key)

Assign the type slot to dbf.

Source

db3-connection.lisp.

Method: print-object ((c db-connection) stream)
Source

connection.lisp.

Method: print-object ((fd fd-connection) stream)
Source

connection.lisp.

Method: print-object ((p parser) stream)
Source

read-sql-files.lisp.

Method: print-object ((rule citus-reference-rule) stream)
Source

citus.lisp.

Method: print-object ((rule citus-distributed-rule) stream)
Source

citus.lisp.

Method: print-object ((c md-connection) stream)
Source

files-and-pathnames.lisp.


6.1.6 Conditions

Condition: citus-rule-is-missing-from-list
Package

pgloader.citus.

Source

citus.lisp.

Direct superclasses

error.

Direct methods
Direct slots
Slot: rule
Initargs

:rule

Readers

citus-rule.

Writers

(setf citus-rule).

Condition: citus-rule-table-not-found
Package

pgloader.citus.

Source

citus.lisp.

Direct superclasses

error.

Direct methods
Direct slots
Slot: schema-name
Package

pgloader.catalog.

Initargs

:schema-name

Readers

citus-rule-table-not-found-schema-name.

Writers

(setf citus-rule-table-not-found-schema-name).

Slot: table-name
Package

pgloader.catalog.

Initargs

:table-name

Readers

citus-rule-table-not-found-table-name.

Writers

(setf citus-rule-table-not-found-table-name).

Condition: connection-error
Package

pgloader.connection.

Source

connection.lisp.

Direct superclasses

error.

Direct subclasses
Direct methods
Direct slots
Slot: type
Package

common-lisp.

Initargs

:type

Readers

connection-error-type.

Writers

This slot is read-only.

Slot: mesg
Initargs

:mesg

Readers

connection-error-mesg.

Writers

This slot is read-only.

Condition: copy-init-error
Package

pgloader.pgcopy.

Source

copy-db-write.lisp.

Direct superclasses

error.

Direct methods
Direct slots
Slot: table
Package

pgloader.catalog.

Initargs

:table

Readers

copy-init-error-table.

Writers

This slot is read-only.

Slot: columns
Package

pgloader.sources.

Initargs

:columns

Readers

copy-init-error-columns.

Writers

This slot is read-only.

Slot: condition
Package

common-lisp.

Initargs

:condition

Readers

copy-init-error-condition.

Writers

This slot is read-only.

Condition: db-connection-error
Package

pgloader.connection.

Source

connection.lisp.

Direct superclasses

connection-error.

Direct methods
Direct slots
Slot: host
Initargs

:host

Readers

connection-error-host.

Writers

This slot is read-only.

Slot: port
Initargs

:port

Readers

connection-error-port.

Writers

This slot is read-only.

Slot: user
Initargs

:user

Readers

connection-error-user.

Writers

This slot is read-only.

Condition: fd-connection-error
Package

pgloader.connection.

Source

connection.lisp.

Direct superclasses

connection-error.

Direct methods

connection-error-path.

Direct slots
Slot: path
Initargs

:path

Readers

connection-error-path.

Writers

This slot is read-only.

Condition: monitor-error
Package

pgloader.monitor.

Source

monitor.lisp.

Direct superclasses

error.

Direct methods

monitor-real-error.

Direct slots
Slot: root-cause
Initargs

:root-cause

Readers

monitor-real-error.

Writers

This slot is read-only.

Condition: on-error-stop
Package

pgloader.params.

Source

params.lisp.

Direct superclasses

condition.

Direct methods

on-error-condition.

Direct slots
Slot: on-condition

Condition that triggered on-error-stop

Initargs

:on-condition

Readers

on-error-condition.

Writers

This slot is read-only.


6.1.7 Structures

Structure: catalog
Package

pgloader.catalog.

Source

catalog.lisp.

Direct superclasses

structure-object.

Direct methods
Direct slots
Slot: name
Readers

catalog-name.

Writers

(setf catalog-name).

Slot: schema-list
Readers

catalog-schema-list.

Writers

(setf catalog-schema-list).

Slot: types-without-btree
Readers

catalog-types-without-btree.

Writers

(setf catalog-types-without-btree).

Slot: distribution-rules
Readers

catalog-distribution-rules.

Writers

(setf catalog-distribution-rules).

Structure: citus-distributed-rule
Package

pgloader.catalog.

Source

citus.lisp.

Direct superclasses

structure-object.

Direct methods
Direct slots
Slot: table
Readers

citus-distributed-rule-table.

Writers

(setf citus-distributed-rule-table).

Slot: using
Package

pgloader.citus.

Readers

citus-distributed-rule-using.

Writers

(setf citus-distributed-rule-using).

Slot: from
Package

pgloader.citus.

Readers

citus-distributed-rule-from.

Writers

(setf citus-distributed-rule-from).

Structure: citus-reference-rule
Package

pgloader.catalog.

Source

citus.lisp.

Direct superclasses

structure-object.

Direct methods
Direct slots
Slot: table
Readers

citus-reference-rule-table.

Writers

(setf citus-reference-rule-table).

Structure: column
Package

pgloader.catalog.

Source

catalog.lisp.

Direct superclasses

structure-object.

Direct methods
Direct slots
Slot: table
Readers

column-table.

Writers

(setf column-table).

Slot: name
Readers

column-name.

Writers

(setf column-name).

Slot: type-name
Readers

column-type-name.

Writers

(setf column-type-name).

Slot: type-mod
Readers

column-type-mod.

Writers

(setf column-type-mod).

Slot: nullable
Readers

column-nullable.

Writers

(setf column-nullable).

Slot: default
Readers

column-default.

Writers

(setf column-default).

Slot: comment
Readers

column-comment.

Writers

(setf column-comment).

Slot: transform
Readers

column-transform.

Writers

(setf column-transform).

Slot: extra
Readers

column-extra.

Writers

(setf column-extra).

Slot: transform-default
Initform

t

Readers

column-transform-default.

Writers

(setf column-transform-default).

Structure: extension
Package

pgloader.catalog.

Source

catalog.lisp.

Direct superclasses

structure-object.

Direct methods
Direct slots
Slot: name
Readers

extension-name.

Writers

(setf extension-name).

Slot: schema
Readers

extension-schema.

Writers

(setf extension-schema).

Structure: fkey
Package

pgloader.catalog.

Source

catalog.lisp.

Direct superclasses

structure-object.

Direct methods
Direct slots
Slot: name
Readers

fkey-name.

Writers

(setf fkey-name).

Slot: oid
Readers

fkey-oid.

Writers

(setf fkey-oid).

Slot: table
Readers

fkey-table.

Writers

(setf fkey-table).

Slot: columns
Readers

fkey-columns.

Writers

(setf fkey-columns).

Slot: pkey
Readers

fkey-pkey.

Writers

(setf fkey-pkey).

Slot: foreign-table
Readers

fkey-foreign-table.

Writers

(setf fkey-foreign-table).

Slot: foreign-columns
Readers

fkey-foreign-columns.

Writers

(setf fkey-foreign-columns).

Slot: condef
Readers

fkey-condef.

Writers

(setf fkey-condef).

Slot: update-rule
Readers

fkey-update-rule.

Writers

(setf fkey-update-rule).

Slot: delete-rule
Readers

fkey-delete-rule.

Writers

(setf fkey-delete-rule).

Slot: match-rule
Readers

fkey-match-rule.

Writers

(setf fkey-match-rule).

Slot: deferrable
Readers

fkey-deferrable.

Writers

(setf fkey-deferrable).

Slot: initially-deferred
Readers

fkey-initially-deferred.

Writers

(setf fkey-initially-deferred).

Structure: index
Package

pgloader.catalog.

Source

catalog.lisp.

Direct superclasses

structure-object.

Direct methods
Direct slots
Slot: name
Readers

index-name.

Writers

(setf index-name).

Slot: oid
Readers

index-oid.

Writers

(setf index-oid).

Slot: schema
Readers

index-schema.

Writers

(setf index-schema).

Slot: table
Readers

index-table.

Writers

(setf index-table).

Slot: type
Package

common-lisp.

Readers

index-type.

Writers

(setf index-type).

Slot: primary
Readers

index-primary.

Writers

(setf index-primary).

Slot: unique
Readers

index-unique.

Writers

(setf index-unique).

Slot: columns
Readers

index-columns.

Writers

(setf index-columns).

Slot: sql
Readers

index-sql.

Writers

(setf index-sql).

Slot: conname
Readers

index-conname.

Writers

(setf index-conname).

Slot: condef
Readers

index-condef.

Writers

(setf index-condef).

Slot: filter
Readers

index-filter.

Writers

(setf index-filter).

Slot: fk-deps
Readers

index-fk-deps.

Writers

(setf index-fk-deps).

Structure: log-message
Package

pgloader.monitor.

Source

monitor.lisp.

Direct superclasses

structure-object.

Direct slots
Slot: category
Readers

log-message-category.

Writers

(setf log-message-category).

Slot: description
Readers

log-message-description.

Writers

(setf log-message-description).

Slot: arguments
Readers

log-message-arguments.

Writers

(setf log-message-arguments).

Structure: match-rule
Package

pgloader.catalog.

Source

alter-table.lisp.

Direct superclasses

structure-object.

Direct methods
Direct slots
Slot: rule
Readers

match-rule-rule.

Writers

(setf match-rule-rule).

Slot: schema
Readers

match-rule-schema.

Writers

(setf match-rule-schema).

Slot: action
Readers

match-rule-action.

Writers

(setf match-rule-action).

Slot: args
Readers

match-rule-args.

Writers

(setf match-rule-args).

Structure: matview
Package

pgloader.catalog.

Source

catalog.lisp.

Direct superclasses

structure-object.

Direct slots
Slot: source-name
Readers

matview-source-name.

Writers

(setf matview-source-name).

Slot: name
Readers

matview-name.

Writers

(setf matview-name).

Slot: schema
Readers

matview-schema.

Writers

(setf matview-schema).

Slot: definition
Readers

matview-definition.

Writers

(setf matview-definition).

Structure: new-label
Package

pgloader.monitor.

Source

monitor.lisp.

Direct superclasses

structure-object.

Direct slots
Slot: section
Readers

new-label-section.

Writers

(setf new-label-section).

Slot: label
Readers

new-label-label.

Writers

(setf new-label-label).

Slot: dbname
Readers

new-label-dbname.

Writers

(setf new-label-dbname).

Structure: procedure
Package

pgloader.catalog.

Source

catalog.lisp.

Direct superclasses

structure-object.

Direct methods
Direct slots
Slot: schema
Readers

procedure-schema.

Writers

(setf procedure-schema).

Slot: name
Readers

procedure-name.

Writers

(setf procedure-name).

Slot: returns
Readers

procedure-returns.

Writers

(setf procedure-returns).

Slot: language
Readers

procedure-language.

Writers

(setf procedure-language).

Slot: body
Readers

procedure-body.

Writers

(setf procedure-body).

Structure: regex-match-rule
Package

pgloader.catalog.

Source

alter-table.lisp.

Direct superclasses

structure-object.

Direct methods

matches.

Direct slots
Slot: target
Readers

regex-match-rule-target.

Writers

(setf regex-match-rule-target).

Structure: report-summary
Package

pgloader.state.

Source

monitor.lisp.

Direct superclasses

structure-object.

Direct slots
Slot: reset
Package

pgloader.monitor.

Readers

report-summary-reset.

Writers

(setf report-summary-reset).

Structure: schema
Package

pgloader.catalog.

Source

catalog.lisp.

Direct superclasses

structure-object.

Direct methods
Direct slots
Slot: source-name
Readers

schema-source-name.

Writers

(setf schema-source-name).

Slot: name
Readers

schema-name.

Writers

(setf schema-name).

Slot: catalog
Readers

schema-catalog.

Writers

(setf schema-catalog).

Slot: in-search-path
Readers

schema-in-search-path.

Writers

(setf schema-in-search-path).

Slot: table-list
Readers

schema-table-list.

Writers

(setf schema-table-list).

Slot: view-list
Readers

schema-view-list.

Writers

(setf schema-view-list).

Slot: matview-list
Readers

schema-matview-list.

Writers

(setf schema-matview-list).

Slot: extension-list
Readers

schema-extension-list.

Writers

(setf schema-extension-list).

Slot: sqltype-list
Readers

schema-sqltype-list.

Writers

(setf schema-sqltype-list).

Structure: sqltype
Package

pgloader.catalog.

Source

catalog.lisp.

Direct superclasses

structure-object.

Direct methods
Direct slots
Slot: name
Readers

sqltype-name.

Writers

(setf sqltype-name).

Slot: schema
Readers

sqltype-schema.

Writers

(setf sqltype-schema).

Slot: type
Package

common-lisp.

Readers

sqltype-type.

Writers

(setf sqltype-type).

Slot: source-def
Readers

sqltype-source-def.

Writers

(setf sqltype-source-def).

Slot: extra
Readers

sqltype-extra.

Writers

(setf sqltype-extra).

Slot: extension
Readers

sqltype-extension.

Writers

(setf sqltype-extension).

Structure: string-match-rule
Package

pgloader.catalog.

Source

alter-table.lisp.

Direct superclasses

structure-object.

Direct methods

matches.

Direct slots
Slot: target
Readers

string-match-rule-target.

Writers

(setf string-match-rule-target).

Structure: table
Package

pgloader.catalog.

Source

catalog.lisp.

Direct superclasses

structure-object.

Direct methods
Direct slots
Slot: source-name
Readers

table-source-name.

Writers

(setf table-source-name).

Slot: name
Readers

table-name.

Writers

(setf table-name).

Slot: schema
Readers

table-schema.

Writers

(setf table-schema).

Slot: oid
Readers

table-oid.

Writers

(setf table-oid).

Slot: comment
Readers

table-comment.

Writers

(setf table-comment).

Slot: storage-parameter-list
Readers

table-storage-parameter-list.

Writers

(setf table-storage-parameter-list).

Slot: tablespace
Readers

table-tablespace.

Writers

(setf table-tablespace).

Slot: row-count-estimate
Type

fixnum

Initform

0

Readers

table-row-count-estimate.

Writers

(setf table-row-count-estimate).

Slot: field-list
Readers

table-field-list.

Writers

(setf table-field-list).

Slot: column-list
Readers

table-column-list.

Writers

(setf table-column-list).

Slot: index-list
Readers

table-index-list.

Writers

(setf table-index-list).

Slot: fkey-list
Readers

table-fkey-list.

Writers

(setf table-fkey-list).

Slot: trigger-list
Readers

table-trigger-list.

Writers

(setf table-trigger-list).

Slot: citus-rule
Readers

table-citus-rule.

Writers

(setf table-citus-rule).

Structure: trigger
Package

pgloader.catalog.

Source

catalog.lisp.

Direct superclasses

structure-object.

Direct methods
Direct slots
Slot: name
Readers

trigger-name.

Writers

(setf trigger-name).

Slot: table
Readers

trigger-table.

Writers

(setf trigger-table).

Slot: action
Readers

trigger-action.

Writers

(setf trigger-action).

Slot: procedure
Readers

trigger-procedure.

Writers

(setf trigger-procedure).

Structure: update-stats
Package

pgloader.monitor.

Source

monitor.lisp.

Direct superclasses

structure-object.

Direct slots
Slot: section
Readers

update-stats-section.

Writers

(setf update-stats-section).

Slot: label
Readers

update-stats-label.

Writers

(setf update-stats-label).

Slot: read
Package

common-lisp.

Readers

update-stats-read.

Writers

(setf update-stats-read).

Slot: rows
Readers

update-stats-rows.

Writers

(setf update-stats-rows).

Slot: errs
Readers

update-stats-errs.

Writers

(setf update-stats-errs).

Slot: secs
Readers

update-stats-secs.

Writers

(setf update-stats-secs).

Slot: rs
Readers

update-stats-rs.

Writers

(setf update-stats-rs).

Slot: ws
Readers

update-stats-ws.

Writers

(setf update-stats-ws).

Slot: bytes
Readers

update-stats-bytes.

Writers

(setf update-stats-bytes).

Slot: start
Readers

update-stats-start.

Writers

(setf update-stats-start).

Slot: stop
Readers

update-stats-stop.

Writers

(setf update-stats-stop).


6.1.8 Classes

Class: connection

pgloader connection parameters, base class

Package

pgloader.connection.

Source

connection.lisp.

Direct subclasses
Direct methods
Direct slots
Slot: type
Package

common-lisp.

Initargs

:type

Readers

conn-type.

Writers

(setf conn-type).

Slot: handle
Initargs

:conn

Readers

conn-handle.

Writers

(setf conn-handle).

Class: copy

pgloader Generic Data Source

Package

pgloader.sources.

Source

api.lisp.

Direct subclasses
Direct methods
Direct slots
Slot: source-db
Initargs

:source-db

Readers

source-db.

Writers

(setf source-db).

Slot: target-db
Initargs

:target-db

Readers

target-db.

Writers

(setf target-db).

Slot: source
Initargs

:source

Readers

source.

Writers

(setf source).

Slot: target
Initargs

:target

Readers

target.

Writers

(setf target).

Slot: fields
Initargs

:fields

Readers

fields.

Writers

(setf fields).

Slot: columns
Initargs

:columns

Readers

columns.

Writers

(setf columns).

Slot: transforms
Initargs

:transforms

Readers

transforms.

Writers

(setf transforms).

Slot: process-fn
Initargs

:process-fn

Readers

preprocessor.

Writers

(setf preprocessor).

Slot: format
Package

common-lisp.

Initform

:raw

Initargs

:format

Readers

copy-format.

Writers

(setf copy-format).

Class: copy-connection
Package

pgloader.source.copy.

Source

copy.lisp.

Direct superclasses

md-connection.

Direct methods

initialize-instance.

Class: copy-copy

pgloader COPY Data Source

Package

pgloader.source.copy.

Source

copy.lisp.

Direct superclasses

md-copy.

Direct methods
Direct slots
Slot: delimiter
Initform

#\tab

Initargs

:delimiter

Readers

delimiter.

Writers

(setf delimiter).

Slot: null-as
Initform

"\\n"

Initargs

:null-as

Readers

null-as.

Writers

(setf null-as).

Class: copy-csv

pgloader CSV Data Source

Package

pgloader.source.csv.

Source

csv.lisp.

Direct superclasses

md-copy.

Direct methods
Direct slots
Slot: source-type
Initargs

:source-type

Readers

source-type.

Writers

(setf source-type).

Slot: separator
Initargs

:separator

Readers

csv-separator.

Writers

(setf csv-separator).

Slot: newline
Initform

#\newline

Initargs

:newline

Readers

csv-newline.

Writers

(setf csv-newline).

Slot: quote
Package

common-lisp.

Initform

cl-csv:*quote*

Initargs

:quote

Readers

csv-quote.

Writers

(setf csv-quote).

Slot: escape
Initform

cl-csv:*quote-escape*

Initargs

:escape

Readers

csv-escape.

Writers

(setf csv-escape).

Slot: escape-mode
Initform

cl-csv::*escape-mode*

Initargs

:escape-mode

Readers

csv-escape-mode.

Writers

(setf csv-escape-mode).

Slot: trim-blanks
Initform

t

Initargs

:trim-blanks

Readers

csv-trim-blanks.

Writers

(setf csv-trim-blanks).

Class: copy-db3

pgloader DBF Data Source

Package

pgloader.source.db3.

Source

db3-schema.lisp.

Direct superclasses

db-copy.

Direct methods
Direct slots
Slot: encoding
Package

pgloader.sources.

Initargs

:encoding

Readers

encoding.

Writers

(setf encoding).

Class: copy-fixed

pgloader Fixed Columns Data Source

Package

pgloader.source.fixed.

Source

fixed.lisp.

Direct superclasses

md-copy.

Direct methods
Class: copy-ixf

pgloader IXF Data Source

Package

pgloader.source.ixf.

Source

ixf-schema.lisp.

Direct superclasses

db-copy.

Direct methods
Direct slots
Slot: timezone
Initform

local-time:+utc-zone+

Initargs

:timezone

Readers

timezone.

Writers

(setf timezone).

Class: copy-mssql

pgloader MS SQL Data Source

Package

pgloader.source.mssql.

Source

mssql-schema.lisp.

Direct superclasses

db-copy.

Direct methods
Direct slots
Slot: encoding
Package

pgloader.sources.

Initargs

:encoding

Readers

encoding.

Writers

(setf encoding).

Class: copy-mysql

pgloader MySQL Data Source

Package

pgloader.source.mysql.

Source

mysql-schema.lisp.

Direct superclasses

db-copy.

Direct methods
Direct slots
Slot: encoding
Package

pgloader.sources.

Initargs

:encoding

Readers

encoding.

Writers

(setf encoding).

Slot: range-list
Initargs

:range-list

Readers

range-list.

Writers

(setf range-list).

Class: copy-pgsql

pgloader PostgreSQL Data Source

Package

pgloader.source.pgsql.

Source

pgsql.lisp.

Direct superclasses

db-copy.

Direct methods
Class: copy-sqlite

pgloader SQLite Data Source

Package

pgloader.source.sqlite.

Source

sqlite-schema.lisp.

Direct superclasses

db-copy.

Direct methods
Direct slots
Slot: db
Initargs

:db

Readers

db.

Writers

(setf db).

Class: csv-connection
Package

pgloader.source.csv.

Source

csv.lisp.

Direct superclasses

md-connection.

Direct methods

initialize-instance.

Class: db-connection

pgloader connection parameters for a database service.

Package

pgloader.connection.

Source

connection.lisp.

Direct superclasses

connection.

Direct subclasses
Direct methods
Direct slots
Slot: name
Initargs

:name

Readers

db-name.

Writers

(setf db-name).

Slot: host
Initargs

:host

Readers

db-host.

Writers

(setf db-host).

Slot: port
Initargs

:port

Readers

db-port.

Writers

(setf db-port).

Slot: user
Initargs

:user

Readers

db-user.

Writers

(setf db-user).

Slot: pass
Initargs

:pass

Readers

db-pass.

Writers

(setf db-pass).

Class: db-copy

pgloader Database Data Source (MySQL, SQLite, MS SQL).

Package

pgloader.sources.

Source

api.lisp.

Direct superclasses

copy.

Direct subclasses
Direct methods
Class: dbf-connection

pgloader connection parameters for DBF files.

Package

pgloader.source.db3.

Source

db3-connection.lisp.

Direct superclasses

fd-connection.

Direct methods
Direct slots
Slot: db3
Initargs

pgloader.source.db3::db3

Readers

fd-db3.

Writers

(setf fd-db3).

Class: fd-connection

pgloader connection parameters for a file based data source.

Package

pgloader.connection.

Source

connection.lisp.

Direct superclasses

connection.

Direct subclasses
Direct methods
Direct slots
Slot: uri
Initargs

:uri

Readers

fd-uri.

Writers

(setf fd-uri).

Slot: arch
Initargs

:arch

Readers

fd-arch.

Writers

(setf fd-arch).

Slot: path
Initargs

:path

Readers

fd-path.

Writers

(setf fd-path).

Class: fixed-connection
Package

pgloader.source.fixed.

Source

fixed.lisp.

Direct superclasses

md-connection.

Direct methods

initialize-instance.

Class: ixf-connection

pgloader connection parameters for IXF files.

Package

pgloader.source.ixf.

Source

ixf-connection.lisp.

Direct superclasses

fd-connection.

Direct methods
Class: md-connection

pgloader connection parameters for a multi-files source.

Package

pgloader.sources.

Source

files-and-pathnames.lisp.

Direct superclasses

fd-connection.

Direct subclasses
Direct methods
Direct slots
Slot: spec
Initargs

:spec

Readers

md-spec.

Writers

(setf md-spec).

Slot: strm
Initargs

:strm

Readers

md-strm.

Writers

(setf md-strm).

Class: md-copy

pgloader Multiple Files Data Source (csv, fixed, copy).

Package

pgloader.sources.

Source

api.lisp.

Direct superclasses

copy.

Direct subclasses
Direct methods
Direct slots
Slot: encoding
Initargs

:encoding

Readers

encoding.

Writers

(setf encoding).

Slot: skip-lines
Initform

0

Initargs

:skip-lines

Readers

skip-lines.

Writers

(setf skip-lines).

Slot: header
Initargs

:header

Readers

header.

Writers

(setf header).

Class: mssql-connection
Package

pgloader.source.mssql.

Source

mssql-connection.lisp.

Direct superclasses

db-connection.

Direct methods
Class: mysql-connection
Package

pgloader.source.mysql.

Source

mysql-connection.lisp.

Direct superclasses

db-connection.

Direct methods
Direct slots
Slot: use-ssl
Initargs

:use-ssl

Readers

myconn-use-ssl.

Writers

(setf myconn-use-ssl).

Class: pgsql-connection

PostgreSQL connection for pgloader

Package

pgloader.pgsql.

Source

connection.lisp.

Direct superclasses

db-connection.

Direct methods
Direct slots
Slot: use-ssl
Initargs

:use-ssl

Readers

pgconn-use-ssl.

Writers

(setf pgconn-use-ssl).

Slot: table-name
Package

pgloader.catalog.

Initargs

:table-name

Readers

pgconn-table-name.

Writers

(setf pgconn-table-name).

Slot: version-string
Initargs

:pg-version

Readers

pgconn-version-string.

Writers

(setf pgconn-version-string).

Slot: major-version
Initargs

:major-version

Readers

pgconn-major-version.

Writers

(setf pgconn-major-version).

Slot: variant
Initargs

:variant

Readers

pgconn-variant.

Writers

(setf pgconn-variant).

Class: sqlite-connection
Package

pgloader.source.sqlite.

Source

sqlite-connection.lisp.

Direct superclasses

fd-connection.

Direct methods
Direct slots
Slot: has-sequences
Readers

has-sequences.

Writers

(setf has-sequences).


6.1.9 Types

Type: postgresql-retryable ()

PostgreSQL errors that we know how to retry in a batch.

Package

pgloader.pgsql.

Source

connection.lisp.

Type: postgresql-unavailable ()

It might happen that PostgreSQL becomes unavailable in the middle of our processing: it being restarted is an example.

Package

pgloader.pgsql.

Source

connection.lisp.


6.2 Internals


6.2.1 Constants

Constant: +nsec+

How many nanoseconds do you find in a second

Package

pgloader.logs.

Source

logs.lisp.


6.2.2 Special variables

Special Variable: *--load-list-file-extension-whitelist*

White list of file extensions allowed with the –load option.

Package

pgloader.

Source

main.lisp.

Special Variable: *ccl-describe-character-encodings*
Package

pgloader.utils.

Source

charsets.lisp.

Special Variable: *century*
Package

pgloader.parse-date.

Source

date-format.lisp.

Special Variable: *connection*

Current MySQL connection

Package

pgloader.source.mysql.

Source

mysql-connection.lisp.

Special Variable: *cwd*

Parser Current Working Directory

Package

pgloader.parser.

Source

command-utils.lisp.

Special Variable: *data-expected-inline*

Set to :inline when parsing an INLINE keyword in a FROM clause.

Package

pgloader.parser.

Source

command-utils.lisp.

Special Variable: *data-source-filename-extensions*
Package

pgloader.parser.

Source

command-parser.lisp.

Special Variable: *escape-quotes*

Common CSV quotes to try when guessing file parameters.

Package

pgloader.source.csv.

Source

csv-guess.lisp.

Special Variable: *fs*

File system as an hash-table in memory.

Package

pgloader.queries.

Source

queries.lisp.

Special Variable: *get-code-for-source*

Each source type might require a different set of options.

Package

pgloader.

Source

api.lisp.

Special Variable: *global-section*
Package

pgloader.ini.

Source

parse-ini.lisp.

Special Variable: *http-buffer-size*

4k ought to be enough for everyone

Package

pgloader.archive.

Source

archive.lisp.

Special Variable: *ixf-pgsql-type-mapping*
Package

pgloader.source.ixf.

Source

ixf-cast-rules.lisp.

Special Variable: *major-version*
Package

pgloader.params.

Source

params.lisp.

Special Variable: *minor-version*
Package

pgloader.params.

Source

params.lisp.

Special Variable: *monitoring-channel*

Internal lparallel channel.

Package

pgloader.monitor.

Source

monitor.lisp.

Special Variable: *mssql-db*

The MS SQL database connection handler.

Package

pgloader.source.mssql.

Source

mssql-connection.lisp.

Special Variable: *offset*
Package

pgloader.parse-date.

Source

date-format.lisp.

Special Variable: *opt-spec*
Package

pgloader.

Source

main.lisp.

Special Variable: *parse-rule-for-source-types*

A plist to associate source type and its source parsing rule.

Package

pgloader.parser.

Source

command-parser.lisp.

Special Variable: *pgconn-variant*

The PostgreSQL version/variant we are talking to. At the moment, this could be either :pgdg for PostgreSQL Global Development Group,
or :redshift. The value is parsed from SELECT version(); and set in the pgsql-connection instance at open-connection time.

Package

pgloader.pgsql.

Source

connection.lisp.

Special Variable: *pgsql-client-certificate*

File where to read the PostgreSQL Client Side SSL Certificate.

Package

pgloader.pgsql.

Source

connection.lisp.

Special Variable: *pgsql-client-key*

File where to read the PostgreSQL Client Side SSL Private Key.

Package

pgloader.pgsql.

Source

connection.lisp.

Special Variable: *pgsql-default-values*

Common normalized default values and their PostgreSQL spelling.

Package

pgloader.pgsql.

Source

pgsql-ddl.lisp.

Special Variable: *pgsql-triggers-procedures*

List of lambdas to generate procedure definitions from pgloader internal trigger names as positioned in the internal catalogs at CAST time.

Package

pgloader.pgsql.

Source

pgsql-trigger.lisp.

Special Variable: *redshift-decimal-max-precision*
Package

pgloader.pgsql.

Source

pgsql-finalize-catalogs.lisp.

Special Variable: *redshift-reserved-keywords*

See https://docs.aws.amazon.com/redshift/latest/dg/r_pg_keywords.html

Package

pgloader.pgsql.

Source

connection.lisp.

Special Variable: *redshift-supported-data-types*
Package

pgloader.pgsql.

Source

pgsql-finalize-catalogs.lisp.

Special Variable: *redshift-varchar-max-precision*
Package

pgloader.pgsql.

Source

pgsql-finalize-catalogs.lisp.

Special Variable: *release*

non-nil when this build is a release build.

Package

pgloader.params.

Source

params.lisp.

Special Variable: *retry-connect-delay*

How many seconds to wait before trying to connect again.

Package

pgloader.pgsql.

Source

connection.lisp.

Special Variable: *retry-connect-times*

How many times to we try to connect again.

Package

pgloader.pgsql.

Source

connection.lisp.

Special Variable: *sections*

Global pgloader state, maintained by the dedicated monitor thread.

Package

pgloader.monitor.

Source

monitor.lisp.

Special Variable: *self-upgraded-already*

Keep track if we did reload our own source code already.

Package

pgloader.

Source

main.lisp.

Special Variable: *separators*

Common CSV separators to try when guessing file parameters.

Package

pgloader.source.csv.

Source

csv-guess.lisp.

Special Variable: *sqlite-db*

The SQLite database connection handler.

Package

pgloader.source.sqlite.

Source

sqlite-connection.lisp.

Special Variable: *src*

Source directory where to look for .sql query files.

Package

pgloader.queries.

Source

queries.lisp.

Special Variable: *supported-archive-types*
Package

pgloader.archive.

Source

archive.lisp.

Special Variable: *table-type*

Associate internal table type symbol with what’s found in MS SQL information_schema.tables.table_type column.

Package

pgloader.source.mssql.

Source

mssql-schema.lisp.

Special Variable: *table-type*

Associate internal table type symbol with what’s found in PostgreSQL pg_class.relkind column.

Package

pgloader.pgsql.

Source

pgsql-schema.lisp.

Special Variable: *table-type*

Associate internal table type symbol with what’s found in MySQL information_schema.tables.table_type column.

Package

pgloader.source.mysql.

Source

mysql-schema.lisp.

Special Variable: *test/versions*

A list of test values and Postgres version string

Package

pgloader.pgsql.

Source

connection.lisp.

Special Variable: *type-name-mapping*

Alternative spellings for some type names.

Package

pgloader.pgsql.

Source

merge-catalogs.lisp.


6.2.3 Macros

Macro: arr-to-bytes-rev (from to array)

Helper macro used in byte-array-to-uuid.

Package

pgloader.transforms.

Source

transforms.lisp.

Macro: as-copy-utf-8-bytes (char writer)

Given a character, calls the writer function for every byte in the encoded form of that character.

Package

pgloader.pgcopy.

Source

copy-format.lisp.

Macro: def-keyword-rule (keyword)
Package

pgloader.parser.

Source

command-keywords.lisp.

Macro: define-yason-encoder (class)

Define a new yason:encode method for CLASS.

Package

pgloader.state.

Source

pretty-print-state.lisp.

Macro: handling-pgsql-notices (&body forms)

The BODY is run within a PostgreSQL transaction where *pg-settings* have been applied. PostgreSQL warnings and errors are logged at the appropriate log level.

Package

pgloader.pgsql.

Source

connection.lisp.

Macro: make-dsn-option-rule (name param &optional rule fn)
Package

pgloader.parser.

Source

command-db-uri.lisp.

Macro: make-option-rule (name rule &optional option)

Generates a rule named NAME to parse RULE and return OPTION.

Package

pgloader.parser.

Source

command-options.lisp.

Macro: with-encoding-handler ((copy-mysql table-name) &body forms)
Package

pgloader.source.mysql.

Source

mysql.lisp.


6.2.4 Ordinary functions

Function: %process-bad-row (table condition row)

Add the row to the reject file, in PostgreSQL COPY TEXT format

Package

pgloader.monitor.

Source

reject.lisp.

Function: add-column-to-pkey (table column-name)

Add COLUMN in the first position of the TABLE’s primary key index.

Package

pgloader.citus.

Source

citus.lisp.

Function: add-row-to-current-batch (table columns copy nbcols batch row &key send-batch-fn format-row-fn)

Add another ROW we just received to CURRENT-BATCH, and prepare a new batch if needed. The current-batch (possibly a new one) is returned. When the batch is full, the function SEND-BATCH-FN is called with TABLE, COLUMNS and the full BATCH as parameters.

Package

pgloader.pgcopy.

Source

copy-batch.lisp.

Function: add-unlisted-primary-key-index (table)

Add to TABLE any unlisted primary key index...

Package

pgloader.source.sqlite.

Source

sqlite-schema.lisp.

Function: alter-schema-rename (schema new-name)

Alter the name fo the given schema to new-name.

Package

pgloader.catalog.

Source

alter-table.lisp.

Function: alter-table-rename (table new-name)

Alter the name of TABLE to NEW-NAME.

Package

pgloader.catalog.

Source

alter-table.lisp.

Function: alter-table-set-schema (table schema-name)

Alter the schema of TABLE, set SCHEMA-NAME instead.

Package

pgloader.catalog.

Source

alter-table.lisp.

Function: alter-table-set-storage-parameters (table parameters)

Alter the storage parameters of TABLE.

Package

pgloader.catalog.

Source

alter-table.lisp.

Function: alter-table-set-tablespace (table tablespace)

Alter the tablespace slot of TABLE

Package

pgloader.catalog.

Source

alter-table.lisp.

Function: apply-decoding-as-filters (table-name filters)

Return a generialized boolean which is non-nil only if TABLE-NAME matches one of the FILTERS.

Package

pgloader.source.mysql.

Source

mysql.lisp.

Function: apply-template (string)
Package

pgloader.parser.

Source

template.lisp.

Function: apply-transforms (copy nbcols row transform-fns)
Package

pgloader.pgcopy.

Source

copy-format.lisp.

Function: archive-type (archive-file)

Return one of :tar, :gz or :zip depending on ARCHIVE-FILE pathname extension.

Package

pgloader.archive.

Source

archive.lisp.

Reader: bad-row-condition (instance)
Writer: (setf bad-row-condition) (instance)
Package

pgloader.monitor.

Source

monitor.lisp.

Target Slot

condition.

Reader: bad-row-data (instance)
Writer: (setf bad-row-data) (instance)
Package

pgloader.monitor.

Source

monitor.lisp.

Target Slot

data.

Reader: bad-row-label (instance)
Writer: (setf bad-row-label) (instance)
Package

pgloader.monitor.

Source

monitor.lisp.

Target Slot

label.

Function: bad-row-p (object)
Package

pgloader.monitor.

Source

monitor.lisp.

Reader: bad-row-section (instance)
Writer: (setf bad-row-section) (instance)
Package

pgloader.monitor.

Source

monitor.lisp.

Target Slot

section.

Function: base64-decode (string)
Package

pgloader.transforms.

Source

transforms.lisp.

Function: batch-as-single-vector (batch)

For communicating with AWS S3, we finalize our batch data into a single vector.

Package

pgloader.pgcopy.

Source

copy-rows-in-batch-through-s3.lisp.

Reader: batch-bytes (instance)
Writer: (setf batch-bytes) (instance)
Package

pgloader.pgcopy.

Source

copy-batch.lisp.

Target Slot

bytes.

Function: batch-control-bindings (options)

Generate the code needed to add batch-control

Package

pgloader.parser.

Source

command-options.lisp.

Reader: batch-count (instance)
Writer: (setf batch-count) (instance)
Package

pgloader.pgcopy.

Source

copy-batch.lisp.

Target Slot

count.

Reader: batch-data (instance)
Writer: (setf batch-data) (instance)
Package

pgloader.pgcopy.

Source

copy-batch.lisp.

Target Slot

data.

Function: batch-full-p (batch)
Package

pgloader.pgcopy.

Source

copy-batch.lisp.

Reader: batch-max-count (instance)
Writer: (setf batch-max-count) (instance)
Package

pgloader.pgcopy.

Source

copy-batch.lisp.

Target Slot

max-count.

Function: batch-oversized-p (batch)

Return a generalized boolean that is true only when BATCH is considered over-sized when its size in BYTES is compared *copy-batch-size*.

Package

pgloader.pgcopy.

Source

copy-batch.lisp.

Function: batch-p (object)
Package

pgloader.pgcopy.

Source

copy-batch.lisp.

Function: batch-rows-to-copy (table columns copy nbcols queue)

Add rows that we pop from QUEUE into a batch, that we then COPY over to PostgreSQL as soon as the batch is full. This allows sophisticated error handling and recovery, where we can retry rows that are not rejected by PostgreSQL.

Package

pgloader.pgcopy.

Source

copy-rows-in-batch.lisp.

Function: batch-rows-to-s3-then-copy (table columns copy nbcols queue)

Add rows that we pop from QUEUE into a batch, that we then COPY over to PostgreSQL as soon as the batch is full. This allows sophisticated error handling and recovery, where we can retry rows that are not rejected by PostgreSQL.

Package

pgloader.pgcopy.

Source

copy-rows-in-batch-through-s3.lisp.

Reader: batch-start (instance)
Writer: (setf batch-start) (instance)
Package

pgloader.pgcopy.

Source

copy-batch.lisp.

Target Slot

start.

Function: bits-to-boolean (bit-vector)

When using MySQL, strange things will happen, like encoding booleans into bit(1). Of course PostgreSQL wants ’f’ and ’t’.

Package

pgloader.transforms.

Source

transforms.lisp.

Function: bits-to-hex-bitstring (bit-vector-or-string)

Transform bit(XX) from MySQL to bit(XX) in PostgreSQL.

Package

pgloader.transforms.

Source

transforms.lisp.

Function: build-format-spec (format-string part len)
Package

pgloader.parse-date.

Source

date-format.lisp.

Function: build-trigger (trigger-symbol-name table column-list action)

Take a synthetic TRIGGER as generated from per-source cast methods and complete it into a proper trigger, attached on TABLE, firing on ACTION, impacting COLUMN-LIST.

Package

pgloader.pgsql.

Source

pgsql-trigger.lisp.

Function: byte-vector-to-bytea (vector)

Transform a simple array of unsigned bytes to the PostgreSQL bytea representation as documented at http://www.postgresql.org/docs/9.3/interactive/datatype-binary.html

Note that we choose here the bytea Hex Format.

Package

pgloader.transforms.

Source

transforms.lisp.

Function: byte-vector-to-hexstring (vector)

Transform binary input received as a vector of bytes into a string of hexadecimal digits, as per the following example:

Input: #(136 194 152 47 66 138 70 183 183 27 33 6 24 174 22 88) Output: 88C2982F428A46B7B71B210618AE1658

Package

pgloader.transforms.

Source

transforms.lisp.

Function: call-with-encoding-handler (copy-mysql table-name func)
Package

pgloader.source.mysql.

Source

mysql.lisp.

Function: call-with-monitor (thunk)

Call THUNK in a context where a monitor thread is active.

Package

pgloader.monitor.

Source

monitor.lisp.

Function: cast-ixf-type (ixf-type)

Return the PostgreSQL type name for a given IXF type name.

Package

pgloader.source.ixf.

Source

ixf-cast-rules.lisp.

Function: cast-rule-matches (rule source)

Returns the target datatype if the RULE matches the SOURCE, or nil

Package

pgloader.sources.

Source

casting-rules.lisp.

Function: catalog-p (object)
Package

pgloader.catalog.

Source

catalog.lisp.

Function: check-table-columns (schema-name source-table target-table)
Package

pgloader.pgsql.

Source

merge-catalogs.lisp.

Function: citus-find-table (catalog table)
Package

pgloader.citus.

Source

citus.lisp.

Function: cleanup-default-value (dtype default)

MySQL catalog query always returns the default value as a string, but in the case of a binary data type we actually want a byte vector.

Package

pgloader.source.mysql.

Source

mysql-schema.lisp.

Function: col-null-p (col)
Package

pgloader.pgcopy.

Source

copy-format.lisp.

Reader: coldef-ctype (instance)
Writer: (setf coldef-ctype) (instance)
Package

pgloader.source.sqlite.

Source

sqlite-cast-rules.lisp.

Target Slot

ctype.

Reader: coldef-default (instance)
Writer: (setf coldef-default) (instance)
Package

pgloader.source.sqlite.

Source

sqlite-cast-rules.lisp.

Target Slot

default.

Reader: coldef-dtype (instance)
Writer: (setf coldef-dtype) (instance)
Package

pgloader.source.sqlite.

Source

sqlite-cast-rules.lisp.

Target Slot

dtype.

Reader: coldef-extra (instance)
Writer: (setf coldef-extra) (instance)
Package

pgloader.source.sqlite.

Source

sqlite-cast-rules.lisp.

Target Slot

extra.

Reader: coldef-name (instance)
Writer: (setf coldef-name) (instance)
Package

pgloader.source.sqlite.

Source

sqlite-cast-rules.lisp.

Target Slot

name.

Reader: coldef-nullable (instance)
Writer: (setf coldef-nullable) (instance)
Package

pgloader.source.sqlite.

Source

sqlite-cast-rules.lisp.

Target Slot

nullable.

Function: coldef-p (object)
Package

pgloader.source.sqlite.

Source

sqlite-cast-rules.lisp.

Reader: coldef-pk-id (instance)
Writer: (setf coldef-pk-id) (instance)
Package

pgloader.source.sqlite.

Source

sqlite-cast-rules.lisp.

Target Slot

pk-id.

Reader: coldef-seq (instance)
Writer: (setf coldef-seq) (instance)
Package

pgloader.source.sqlite.

Source

sqlite-cast-rules.lisp.

Target Slot

seq.

Reader: coldef-table-name (instance)
Writer: (setf coldef-table-name) (instance)
Package

pgloader.source.sqlite.

Source

sqlite-cast-rules.lisp.

Target Slot

table-name.

Function: column-p (object)
Package

pgloader.catalog.

Source

catalog.lisp.

Reader: column-table (instance)
Writer: (setf column-table) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

table.

Function: compile-lisp-command (source)

SOURCE must be lisp source code, a list form.

Package

pgloader.

Source

api.lisp.

Function: compute-columns (columns only-cols copy-columns user-defined config section)

For columns, if only-cols is set, restrict to that. If copy-columns is set, use that and replace references to user defined columns.

Package

pgloader.ini.

Source

parse-ini.lisp.

Function: context-get-from-environment (key)
Package

pgloader.parser.

Source

template.lisp.

Function: convert-mysql-linestring (mysql-linestring-as-string)

Transform the MYSQL-POINT-AS-STRING into a suitable representation for
PostgreSQL.

Input: "LINESTRING(-87.87342467651445 45.79684462673078,-87.87170806274479 45.802110434248966)" ; that’s using astext(column) Output: [(-87.87342467651445,45.79684462673078),(-87.87170806274479,45.802110434248966)]

Package

pgloader.transforms.

Source

transforms.lisp.

Function: convert-mysql-point (mysql-point-as-string)

Transform the MYSQL-POINT-AS-STRING into a suitable representation for PostgreSQL.

Input: "POINT(48.5513589 7.6926827)" ; that’s using astext(column) Output: (48.5513589,7.6926827)

Package

pgloader.transforms.

Source

transforms.lisp.

Function: copy-bad-row (instance)
Package

pgloader.monitor.

Source

monitor.lisp.

Function: copy-batch (instance)
Package

pgloader.pgcopy.

Source

copy-batch.lisp.

Function: copy-catalog (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Function: copy-citus-distributed-rule (instance)
Package

pgloader.citus.

Source

citus.lisp.

Function: copy-citus-reference-rule (instance)
Package

pgloader.citus.

Source

citus.lisp.

Function: copy-coldef (instance)
Package

pgloader.source.sqlite.

Source

sqlite-cast-rules.lisp.

Function: copy-column (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Function: copy-db3-coldef (instance)
Package

pgloader.source.db3.

Source

db3-cast-rules.lisp.

Function: copy-extension (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Function: copy-fkey (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Function: copy-index (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Function: copy-log-message (instance)
Package

pgloader.monitor.

Source

monitor.lisp.

Function: copy-match-rule (instance)
Package

pgloader.catalog.

Source

alter-table.lisp.

Function: copy-matview (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Function: copy-mssql-column (instance)
Package

pgloader.source.mssql.

Source

mssql-cast-rules.lisp.

Function: copy-mysql-column (instance)
Package

pgloader.source.mysql.

Source

mysql-cast-rules.lisp.

Function: copy-new-label (instance)
Package

pgloader.monitor.

Source

monitor.lisp.

Function: copy-params (instance)
Package

pgloader.ini.

Source

parse-ini.lisp.

Function: copy-parser (instance)
Package

pgloader.sql.

Source

read-sql-files.lisp.

Function: copy-partial-batch (table-name columns batch current-batch-rows current-batch-pos)

Copy some rows of the batch, not all of them.

Package

pgloader.pgcopy.

Source

copy-retry-batch.lisp.

Function: copy-pgpass (instance)
Package

pgloader.parser.

Source

parse-pgpass.lisp.

Function: copy-pgstate (instance)
Package

pgloader.state.

Source

state.lisp.

Function: copy-pgtable (instance)
Package

pgloader.state.

Source

state.lisp.

Function: copy-print-format (instance)
Package

pgloader.state.

Source

pretty-print-state.lisp.

Function: copy-print-format-copy (instance)
Package

pgloader.state.

Source

pretty-print-state.lisp.

Function: copy-print-format-csv (instance)
Package

pgloader.state.

Source

pretty-print-state.lisp.

Function: copy-print-format-human-readable (instance)
Package

pgloader.state.

Source

pretty-print-state.lisp.

Function: copy-print-format-json (instance)
Package

pgloader.state.

Source

pretty-print-state.lisp.

Function: copy-print-format-tab (instance)
Package

pgloader.state.

Source

pretty-print-state.lisp.

Function: copy-print-format-text (instance)
Package

pgloader.state.

Source

pretty-print-state.lisp.

Function: copy-print-format-verbose (instance)
Package

pgloader.state.

Source

pretty-print-state.lisp.

Function: copy-procedure (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Function: copy-regex-match-rule (instance)
Package

pgloader.catalog.

Source

alter-table.lisp.

Function: copy-report-summary (instance)
Package

pgloader.monitor.

Source

monitor.lisp.

Function: copy-schema (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Function: copy-sqltype (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Function: copy-start (instance)
Package

pgloader.monitor.

Source

monitor.lisp.

Function: copy-state (instance)
Package

pgloader.state.

Source

state.lisp.

Function: copy-stop (instance)
Package

pgloader.monitor.

Source

monitor.lisp.

Function: copy-string-match-rule (instance)
Package

pgloader.catalog.

Source

alter-table.lisp.

Function: copy-table (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Function: copy-trigger (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Function: copy-update-stats (instance)
Package

pgloader.monitor.

Source

monitor.lisp.

Function: copy-utf-8-byte-length (string)

Calculate the amount of bytes needed to encode a string.

Package

pgloader.pgcopy.

Source

copy-format.lisp.

Function: create-table-from-dsn-table-name (dsn-table-name &optional schema-name)
Package

pgloader.parser.

Source

command-distribute.lisp.

Function: create-table-list (table-list &key if-not-exists include-drop client-min-messages)

Create all tables in database dbname in PostgreSQL.

Package

pgloader.pgsql.

Source

pgsql-create-schema.lisp.

Function: create-table-sql-list (table-list &key if-not-exists include-drop)

Return the list of CREATE TABLE statements to run against PostgreSQL.

Package

pgloader.pgsql.

Source

pgsql-create-schema.lisp.

Function: ctype-to-dtype (sqlite-type-name)

In SQLite we only get the ctype, e.g. int(7), but here we want the base data type behind it, e.g. int.

Package

pgloader.source.sqlite.

Source

sqlite-cast-rules.lisp.

Function: date-with-no-separator (date-string &optional format)

Apply this function when input date in like ’20041002152952’

Package

pgloader.transforms.

Source

transforms.lisp.

Function: db-write-batch (copier batch)
Package

pgloader.pgcopy.

Source

copy-db-write.lisp.

Function: db-write-escaped-vector-row (copier row &optional nbcols)

Copy cl-postgres:db-write-row guts to avoid computing utf-8 bytes all over again, as we reproduced the data formating in pgloader code. The reason we do that is to be able to lower the cost of retrying batches: the formating has then already been done.

Package

pgloader.pgcopy.

Source

copy-db-write.lisp.

Function: db-write-row (copier data)

Copy cl-postgres:db-write-row guts to avoid computing utf-8 bytes all over again, as we reproduced the data formating in pgloader code. The reason we do that is to be able to lower the cost of retrying batches: the formating has then already been done.

Package

pgloader.pgcopy.

Source

copy-db-write.lisp.

Function: db-write-vector-row (copier row &optional nbcols)

Copy cl-postgres:db-write-row guts to avoid computing utf-8 bytes all over again, as we reproduced the data formating in pgloader code. The reason we do that is to be able to lower the cost of retrying batches: the formating has then already been done.

Package

pgloader.pgcopy.

Source

copy-db-write.lisp.

Reader: db3-coldef-default (instance)
Writer: (setf db3-coldef-default) (instance)
Package

pgloader.source.db3.

Source

db3-cast-rules.lisp.

Target Slot

default.

Reader: db3-coldef-extra (instance)
Writer: (setf db3-coldef-extra) (instance)
Package

pgloader.source.db3.

Source

db3-cast-rules.lisp.

Target Slot

extra.

Reader: db3-coldef-length (instance)
Writer: (setf db3-coldef-length) (instance)
Package

pgloader.source.db3.

Source

db3-cast-rules.lisp.

Target Slot

length.

Reader: db3-coldef-name (instance)
Writer: (setf db3-coldef-name) (instance)
Package

pgloader.source.db3.

Source

db3-cast-rules.lisp.

Target Slot

name.

Reader: db3-coldef-nullable (instance)
Writer: (setf db3-coldef-nullable) (instance)
Package

pgloader.source.db3.

Source

db3-cast-rules.lisp.

Target Slot

nullable.

Function: db3-coldef-p (object)
Package

pgloader.source.db3.

Source

db3-cast-rules.lisp.

Reader: db3-coldef-type (instance)
Writer: (setf db3-coldef-type) (instance)
Package

pgloader.source.db3.

Source

db3-cast-rules.lisp.

Target Slot

type.

Function: db3-date-to-pgsql-date (value)

Convert a DB3 date to a PostgreSQL date.

Package

pgloader.transforms.

Source

transforms.lisp.

Function: db3-numeric-to-pgsql-integer (value)

DB3 numerics should be good to go, but might contain spaces.

Package

pgloader.transforms.

Source

transforms.lisp.

Function: db3-numeric-to-pgsql-numeric (value)

DB3 numerics should be good to go, but might contain spaces.

Package

pgloader.transforms.

Source

transforms.lisp.

Function: db3-trim-string (value)

DB3 Strings a right padded with spaces, fix that.

Package

pgloader.transforms.

Source

transforms.lisp.

Function: disable-triggers (table-name)

Disable triggers on TABLE-NAME. Needs to be called with a PostgreSQL connection already opened.

Package

pgloader.pgsql.

Source

pgsql-create-schema.lisp.

Function: empty-string-to-null (string)

MySQL ENUM sometimes return an empty string rather than a NULL.

Package

pgloader.transforms.

Source

transforms.lisp.

Function: enable-triggers (table-name)

Disable triggers on TABLE-NAME. Needs to be called with a PostgreSQL connection already opened.

Package

pgloader.pgsql.

Source

pgsql-create-schema.lisp.

Function: ensure-parse-integer (string-or-integer)

Return an integer value if string-or-integer is an integer or a string containing only an integer value, in all other cases return nil.

Package

pgloader.transforms.

Source

transforms.lisp.

Function: enum-or-set-name (table-name column-name type ctype typemod)
Package

pgloader.source.mysql.

Source

mysql-cast-rules.lisp.

Function: explode-mysql-enum (ctype)

Convert MySQL ENUM expression into a list of labels.

Package

pgloader.source.mysql.

Source

mysql-cast-rules.lisp.

Function: extension-p (object)
Package

pgloader.catalog.

Source

catalog.lisp.

Function: filename-character-p (char)
Package

pgloader.parser.

Source

command-source.lisp.

Function: filter-directory (regex &key keep root)

Walk the ROOT directory and KEEP either the :first or :all the matches against the given regexp.

Package

pgloader.sources.

Source

files-and-pathnames.lisp.

Function: filter-list-to-where-clause (schema-filter-list &optional not schema-col table-col)

Given an INCLUDING or EXCLUDING clause, turn it into a PostgreSQL WHERE clause.

Package

pgloader.pgsql.

Source

pgsql-schema.lisp.

Function: find-auto-increment-in-create-sql (db table-name column-name)

The sqlite_sequence catalog is only created when some content has been added to the table. So we might fail to FIND-SEQUENCE, and still need to consider the column has an autoincrement. Parse the SQL definition of the table to find out.

Package

pgloader.source.sqlite.

Source

sqlite-schema.lisp.

Function: find-encoding-by-name-or-alias (encoding)

charsets::*lisp-encodings* is an a-list of (NAME . ALIASES)...

Package

pgloader.parser.

Source

command-csv.lisp.

Function: find-sequence (db table-name column-name)

Find if table-name.column-name is attached to a sequence in sqlite_sequence catalog.

Package

pgloader.source.sqlite.

Source

sqlite-schema.lisp.

Function: fix-target-type (source target)

When target has :type nil, steal the source :type definition.

Package

pgloader.parser.

Source

command-cast-rules.lisp.

Function: fkey-p (object)
Package

pgloader.catalog.

Source

catalog.lisp.

Reader: fkey-pkey (instance)
Writer: (setf fkey-pkey) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

pkey.

Function: flatten-option-list (with-option-list)

Flatten given WITH-OPTION-LIST into a flat plist:

Input: (:with
((:INCLUDE-DROP . T)
((:COMMA (:CREATE-TABLES . T)) (:COMMA (:CREATE-INDEXES . T)) (:COMMA (:RESET-SEQUENCES . T)))))

Output: (:INCLUDE-DROP T :CREATE-TABLES T
:CREATE-INDEXES T :RESET-SEQUENCES T)

Package

pgloader.parser.

Source

command-options.lisp.

Function: float-to-string (float)

Transform a Common Lisp float value into its string representation as accepted by PostgreSQL, that is 100.0 rather than 100.0d0.

Package

pgloader.transforms.

Source

transforms.lisp.

Function: format-citus-join-clause (table distribution-rule)

Format a JOIN clause to backfill the distribution key data in tables that are referencing (even indirectly) the main distribution table.

Package

pgloader.citus.

Source

citus.lisp.

Function: format-escaped-vector-row (nb-cols row)

We’ve read data in the COPY format, so already escaped.

Package

pgloader.pgcopy.

Source

copy-format.lisp.

Function: format-interval (seconds &optional stream)

Output the number of seconds in a human friendly way

Package

pgloader.state.

Source

report.lisp.

Function: format-interval-guess (secs rs ws)
Package

pgloader.state.

Source

pretty-print-state.lisp.

Function: format-row-in-batch (copy nbcols row current-batch)

Given a row from the queue, prepare it for the next batch.

Package

pgloader.pgcopy.

Source

copy-batch.lisp.

Function: format-table-name-as-including-exp (table)

Return a table name suitable for a catalog lookup using ~ operator.

Package

pgloader.pgsql.

Source

pgsql-schema.lisp.

Function: fraction-to-nsecs (fraction)

FRACTION is a number of internal-time-units-per-second, return nsecs

Package

pgloader.logs.

Source

logs.lisp.

Function: function-name-character-p (char)
Package

pgloader.parser.

Source

command-cast-rules.lisp.

Function: get-aws-credentials-and-setup (&optional profile)

Returns AWS access key id, secret access key, region and S3 bucket-name from environment or ~/.aws/ configuration files, as multiple values.

Package

pgloader.pgcopy.

Source

copy-rows-in-batch-through-s3.lisp.

Function: get-column-type-name-from-sqltype (column)

Return the column type name. When column-type is a sqltype, the sqltype might be either an ENUM or a SET. In the case of a SET, we want an array type to be defined here.

Package

pgloader.pgsql.

Source

pgsql-ddl.lisp.

Function: get-connection-params (config section)

Return a property list with connection parameters for SECTION.

Package

pgloader.ini.

Source

parse-ini.lisp.

Function: get-connection-string (config section)

Return the connection parameters as a postgresql:// string.

Package

pgloader.ini.

Source

parse-ini.lisp.

Function: get-current-database ()

Get the current database name. The catalog name and the connection string name may be different, so just ask PostgreSQL here.

Package

pgloader.pgsql.

Source

pgsql-schema.lisp.

Function: get-file-sample (filename &key sample-size)

Return the first SAMPLE-SIZE lines in FILENAME (or less), or nil if the file does not exists.

Package

pgloader.source.csv.

Source

csv-guess.lisp.

Function: get-gucs (config section)

Get PostgreSQL settings from SECTION.

Package

pgloader.ini.

Source

parse-ini.lisp.

Function: get-pgpass-filename ()

Return where to find .pgpass file

Package

pgloader.parser.

Source

parse-pgpass.lisp.

Function: get-pgsql-column-specs (config section)

Connect to PostgreSQL to get the column specs.

Package

pgloader.ini.

Source

parse-ini.lisp.

Function: get-pgsslmode (&optional env-var-name default)

Get PGSSLMODE from the environment.

Package

pgloader.parser.

Source

command-db-uri.lisp.

Function: get-stream-sample (stream &key sample-size)

Return the first SAMPLE-SIZE lines in FILENAME (or less), or nil if the file does not exists.

Package

pgloader.source.csv.

Source

csv-guess.lisp.

Function: get-type-name (column)

Support SQLTYPE indirection if needed.

Package

pgloader.pgsql.

Source

merge-catalogs.lisp.

Function: get-unix-socket-dir (pgconn)

When *pgconn* host is a (cons :unix path) value, return the right value for cl-postgres::*unix-socket-dir*.

Package

pgloader.pgsql.

Source

connection.lisp.

Function: git-hash ()

Return the current abbreviated git hash of the development tree.

Package

pgloader.params.

Source

params.lisp.

Function: guess-fixed-specs (filename-or-stream &optional sample-size)

Use the first line as an header to guess the specification of the fixed file from, and then match that against a sample of data from the file to see if that matches what data we have there.

Package

pgloader.source.fixed.

Source

fixed-guess.lisp.

Function: guess-fixed-specs-from-header (header)

Try to guess fixed specs from whitespace in the first line of the file.

Package

pgloader.source.fixed.

Source

fixed-guess.lisp.

Function: gunzip (archive-file expand-directory)

Unzip a gzip formated archive

Package

pgloader.archive.

Source

archive.lisp.

Function: hex-to-dec (hex-string)
Package

pgloader.transforms.

Source

transforms.lisp.

Function: hexdigit-char-p (character)
Package

pgloader.parser.

Source

command-db-uri.lisp.

Function: identifier-case-binding (options)

Generate the code needed to bind *identifer-case* to the proper value.

Package

pgloader.parser.

Source

command-options.lisp.

Function: index-access-method (index)

Compute PostgreSQL access method for index. If defaults to btree, but some types such as POINTS or BOX have no support for btree. If a MySQL point column has an index in MySQL, then create a GiST index for it in PostgreSQL.

Package

pgloader.pgsql.

Source

pgsql-ddl.lisp.

Function: index-p (object)
Package

pgloader.catalog.

Source

catalog.lisp.

Function: init-batch-max-count (&optional batch-rows)

Return a number between 0.7 and 1.3 times batch-rows.

Package

pgloader.pgcopy.

Source

copy-batch.lisp.

Function: inject-inline-data-position (command position)

We have ’(:inline nil) somewhere in command, have ’(:inline position) instead.

Package

pgloader.parser.

Source

command-parser.lisp.

Function: insert-copy-null (buffer position)

NULL is \N in COPY format (that’s 2 bytes)

Package

pgloader.pgcopy.

Source

copy-format.lisp.

Function: insert-copy-separator (buffer position col nb-cols)
Package

pgloader.pgcopy.

Source

copy-format.lisp.

Function: int-to-ip (int)

Transform an IP as integer into its dotted notation, optimised code from stassats.

Package

pgloader.transforms.

Source

transforms.lisp.

Function: integer-to-string (integer-string)

Transform INTEGER-STRING parameter into a proper string representation of it. In particular be careful of quoted-integers, thanks to SQLite default values.

Package

pgloader.transforms.

Source

transforms.lisp.

Function: ip-range (start-integer-string end-integer-string)

Transform a couple of integers to an IP4R ip range notation.

Package

pgloader.transforms.

Source

transforms.lisp.

Function: is-index-pk (table index-col-name-list)

The only way to know with SQLite pragma introspection if a particular UNIQUE index is actually PRIMARY KEY is by comparing the list of column names in the index with the ones marked with non-zero pk in the table definition.

Package

pgloader.source.sqlite.

Source

sqlite-schema.lisp.

Function: lisp-code-for-csv-dry-run (pg-db-conn)
Package

pgloader.parser.

Source

command-csv.lisp.

Function: lisp-code-for-dbf-dry-run (dbf-db-conn pg-db-conn)
Package

pgloader.parser.

Source

command-dbf.lisp.

Function: lisp-code-for-loading (&key from into encoding fields target-table-name options gucs casts before after)
Package

pgloader.

Source

api.lisp.

Function: lisp-code-for-mssql-dry-run (ms-db-conn pg-db-conn)
Package

pgloader.parser.

Source

command-mssql.lisp.

Function: lisp-code-for-mysql-dry-run (my-db-conn pg-db-conn)
Package

pgloader.parser.

Source

command-mysql.lisp.

Function: lisp-code-for-pgsql-dry-run (pg-src-db-conn pg-dst-db-conn)
Package

pgloader.parser.

Source

command-pgsql.lisp.

Function: lisp-code-for-sqlite-dry-run (sqlite-db-conn pg-db-conn)
Package

pgloader.parser.

Source

command-sqlite.lisp.

Function: list-columns (table-name &optional schema)

Returns the list of columns for table TABLE-NAME in schema SCHEMA, and must be run with an already established PostgreSQL connection.

Package

pgloader.

Source

regress.lisp.

Function: list-columns (table &key db-has-sequences db)

Return the list of columns found in TABLE-NAME.

Package

pgloader.source.sqlite.

Source

sqlite-schema.lisp.

Function: list-columns-comments (&key including excluding)

Return comments on MySQL tables.

Package

pgloader.source.mysql.

Source

mysql-schema.lisp.

Function: list-fkeys (table &optional db)

Return the list of indexes attached to TABLE.

Package

pgloader.source.sqlite.

Source

sqlite-schema.lisp.

Function: list-index-cols (index-name &optional db)

Return the list of columns in INDEX-NAME.

Package

pgloader.source.sqlite.

Source

sqlite-schema.lisp.

Function: list-indexes (table &optional db)

Return the list of indexes attached to TABLE.

Package

pgloader.source.sqlite.

Source

sqlite-schema.lisp.

Function: list-search-path ()

Return the current list of schemas in the Search Path

Package

pgloader.pgsql.

Source

pgsql-schema.lisp.

Function: list-symbols (expression &optional s)

Return a list of the symbols used in EXPRESSION.

Package

pgloader.parser.

Source

command-csv.lisp.

Function: list-table-comments (&key including excluding)

Return comments on MySQL tables.

Package

pgloader.source.mysql.

Source

mysql-schema.lisp.

Function: list-tables (sqlite &key db including excluding)

Return the list of tables found in SQLITE-DB.

Package

pgloader.source.sqlite.

Source

sqlite-schema.lisp.

Function: load-extra-transformation-functions (filename &optional verbose)

Load an extra filename to tweak pgloader’s behavior.

Package

pgloader.

Source

main.lisp.

Function: load-static-directory (fs &optional root)

Walk PATH and load all files found in there as binary sequence, FS being an hash table referencing the full path against the bytes.

Package

pgloader.queries.

Source

queries.lisp.

Function: load-static-file (fs pathname url)

Load given PATHNAME contents at URL-PATH in FS.

Package

pgloader.queries.

Source

queries.lisp.

Function: log-file-name (logfile)

If the logfile has not been given by the user, default to using pgloader.log within *root-dir*.

Package

pgloader.

Source

main.lisp.

Reader: log-message-arguments (instance)
Writer: (setf log-message-arguments) (instance)
Package

pgloader.monitor.

Source

monitor.lisp.

Target Slot

arguments.

Reader: log-message-category (instance)
Writer: (setf log-message-category) (instance)
Package

pgloader.monitor.

Source

monitor.lisp.

Target Slot

category.

Reader: log-message-description (instance)
Writer: (setf log-message-description) (instance)
Package

pgloader.monitor.

Source

monitor.lisp.

Target Slot

description.

Function: log-message-p (object)
Package

pgloader.monitor.

Source

monitor.lisp.

Function: log-threshold (min-message &key quiet verbose debug)

Return the internal value to use given the script parameters.

Package

pgloader.

Source

main.lisp.

Function: logical-to-boolean (value)

Convert a DB3 logical value to a PostgreSQL boolean.

Package

pgloader.transforms.

Source

transforms.lisp.

Function: main (argv)

Entry point when building an executable image with buildapp

Package

pgloader.

Source

main.lisp.

Function: make-bad-row (&key section label condition data)
Package

pgloader.monitor.

Source

monitor.lisp.

Function: make-batch (&key max-count)
Package

pgloader.pgcopy.

Source

copy-batch.lisp.

Function: make-coldef (table-name seq name dtype ctype nullable default pk-id)
Package

pgloader.source.sqlite.

Source

sqlite-cast-rules.lisp.

Function: make-db3-coldef (name type length)
Package

pgloader.source.db3.

Source

db3-cast-rules.lisp.

Function: make-distributed-table-from-fkey (rule fkey-list)

Make a new Citus distributed table rule from an existing rule and a fkey definition.

Package

pgloader.citus.

Source

citus.lisp.

Function: make-extension (&key name schema)
Package

pgloader.catalog.

Source

catalog.lisp.

Function: make-including-expr-from-table (table)

Return an expression suitable to be used as an :including parameter.

Package

pgloader.pgsql.

Source

pgsql-schema.lisp.

Function: make-log-message (&key category description arguments)
Package

pgloader.monitor.

Source

monitor.lisp.

Function: make-mssql-column (schema table-name name type default nullable identity character-maximum-length numeric-precision numeric-precision-radix numeric-scale datetime-precision character-set-name collation-name)
Package

pgloader.source.mssql.

Source

mssql-cast-rules.lisp.

Function: make-mysql-column (table-name name comment dtype ctype default nullable extra)
Package

pgloader.source.mysql.

Source

mysql-cast-rules.lisp.

Function: make-new-label (&key section label dbname)
Package

pgloader.monitor.

Source

monitor.lisp.

Function: make-params (&key filename table format is-template use-template fields columns truncate encoding logs rejects gucs separator null-as empty-string skip-lines)
Package

pgloader.ini.

Source

parse-ini.lisp.

Function: make-parser (&key filename stream state tags)
Package

pgloader.sql.

Source

read-sql-files.lisp.

Function: make-pgpass (&key hostname port database username password)
Package

pgloader.parser.

Source

parse-pgpass.lisp.

Function: make-pgsql-type (source target using)

Returns a COLUMN struct suitable for a PostgreSQL type definition

Package

pgloader.sources.

Source

casting-rules.lisp.

Function: make-pgtable (&key name read rows errs secs rs ws bytes start stop reject-data reject-logs)
Package

pgloader.state.

Source

state.lisp.

Function: make-print-format (&key)
Package

pgloader.state.

Source

pretty-print-state.lisp.

Function: make-print-format-copy (&key)
Package

pgloader.state.

Source

pretty-print-state.lisp.

Function: make-print-format-csv (&key)
Package

pgloader.state.

Source

pretty-print-state.lisp.

Function: make-print-format-human-readable (&key legend max-label-length)
Package

pgloader.state.

Source

pretty-print-state.lisp.

Function: make-print-format-json (&key)
Package

pgloader.state.

Source

pretty-print-state.lisp.

Function: make-print-format-tab (&key)
Package

pgloader.state.

Source

pretty-print-state.lisp.

Function: make-print-format-text (&key legend max-label-length)
Package

pgloader.state.

Source

pretty-print-state.lisp.

Function: make-print-format-verbose (&key legend max-label-length)
Package

pgloader.state.

Source

pretty-print-state.lisp.

Function: make-report-summary (&key reset)
Package

pgloader.monitor.

Source

monitor.lisp.

Function: make-start (&key start-logger)
Package

pgloader.monitor.

Source

monitor.lisp.

Function: make-stop (&key stop-logger)
Package

pgloader.monitor.

Source

monitor.lisp.

Function: make-update-stats (&key section label read rows errs secs rs ws bytes start stop)
Package

pgloader.monitor.

Source

monitor.lisp.

Function: match-hostname (pgpass hostname)

A host name of localhost matches both TCP (host name localhost) and Unix domain socket (pghost empty or the default socket directory) connections coming from the local machine.

Package

pgloader.parser.

Source

parse-pgpass.lisp.

Function: match-pgpass (pgpass hostname port database username)
Package

pgloader.parser.

Source

parse-pgpass.lisp.

Function: match-pgpass-entries (pgpass-lines hostname port database username)

Return matched password from ~/.pgpass or PGPASSFILE, or nil.

Package

pgloader.parser.

Source

parse-pgpass.lisp.

Function: match-pgpass-file (hostname port database username)

Return matched password from ~/.pgpass or PGPASSFILE, or nil.

Package

pgloader.parser.

Source

parse-pgpass.lisp.

Function: match-rule-p (object)
Package

pgloader.catalog.

Source

alter-table.lisp.

Function: matview-p (object)
Package

pgloader.catalog.

Source

catalog.lisp.

Function: max-length-table-name (state legend)

Compute the max length of a table-name in the legend.

Package

pgloader.state.

Source

report.lisp.

Function: maybe-log-progress-message (event label table)

Log some kind of a “keep alive” message to the user, for the sake of showing progress.

Something like one message every 10 batches should only target big tables where we have to wait for a pretty long time.

Package

pgloader.monitor.

Source

monitor.lisp.

Function: merge-gucs (&rest gucs)

Merge several guc lists into a consolidated one. When the same GUC is found more than once, we keep the one found first.

Package

pgloader.ini.

Source

parse-ini.lisp.

Function: mkdir-or-die (path debug &optional stream)

Create a directory at given PATH and exit with an error message when that’s not possible.

Package

pgloader.

Source

main.lisp.

Function: monitor (queue)

Receives and process messages from *monitoring-queue*.

Package

pgloader.monitor.

Source

monitor.lisp.

Reader: mssql-column-character-maximum-length (instance)
Writer: (setf mssql-column-character-maximum-length) (instance)
Package

pgloader.source.mssql.

Source

mssql-cast-rules.lisp.

Target Slot

character-maximum-length.

Reader: mssql-column-character-set-name (instance)
Writer: (setf mssql-column-character-set-name) (instance)
Package

pgloader.source.mssql.

Source

mssql-cast-rules.lisp.

Target Slot

character-set-name.

Reader: mssql-column-collation-name (instance)
Writer: (setf mssql-column-collation-name) (instance)
Package

pgloader.source.mssql.

Source

mssql-cast-rules.lisp.

Target Slot

collation-name.

Reader: mssql-column-datetime-precision (instance)
Writer: (setf mssql-column-datetime-precision) (instance)
Package

pgloader.source.mssql.

Source

mssql-cast-rules.lisp.

Target Slot

datetime-precision.

Reader: mssql-column-default (instance)
Writer: (setf mssql-column-default) (instance)
Package

pgloader.source.mssql.

Source

mssql-cast-rules.lisp.

Target Slot

default.

Reader: mssql-column-identity (instance)
Writer: (setf mssql-column-identity) (instance)
Package

pgloader.source.mssql.

Source

mssql-cast-rules.lisp.

Target Slot

identity.

Reader: mssql-column-name (instance)
Writer: (setf mssql-column-name) (instance)
Package

pgloader.source.mssql.

Source

mssql-cast-rules.lisp.

Target Slot

name.

Reader: mssql-column-nullable (instance)
Writer: (setf mssql-column-nullable) (instance)
Package

pgloader.source.mssql.

Source

mssql-cast-rules.lisp.

Target Slot

nullable.

Reader: mssql-column-numeric-precision (instance)
Writer: (setf mssql-column-numeric-precision) (instance)
Package

pgloader.source.mssql.

Source

mssql-cast-rules.lisp.

Target Slot

numeric-precision.

Reader: mssql-column-numeric-precision-radix (instance)
Writer: (setf mssql-column-numeric-precision-radix) (instance)
Package

pgloader.source.mssql.

Source

mssql-cast-rules.lisp.

Target Slot

numeric-precision-radix.

Reader: mssql-column-numeric-scale (instance)
Writer: (setf mssql-column-numeric-scale) (instance)
Package

pgloader.source.mssql.

Source

mssql-cast-rules.lisp.

Target Slot

numeric-scale.

Function: mssql-column-p (object)
Package

pgloader.source.mssql.

Source

mssql-cast-rules.lisp.

Reader: mssql-column-schema (instance)
Writer: (setf mssql-column-schema) (instance)
Package

pgloader.source.mssql.

Source

mssql-cast-rules.lisp.

Target Slot

schema.

Reader: mssql-column-table-name (instance)
Writer: (setf mssql-column-table-name) (instance)
Package

pgloader.source.mssql.

Source

mssql-cast-rules.lisp.

Target Slot

table-name.

Reader: mssql-column-type (instance)
Writer: (setf mssql-column-type) (instance)
Package

pgloader.source.mssql.

Source

mssql-cast-rules.lisp.

Target Slot

type.

Function: mssql-query (query)

Execute given QUERY within the current *connection*, and set proper defaults for pgloader.

Package

pgloader.source.mssql.

Source

mssql-connection.lisp.

Reader: mysql-column-comment (instance)
Writer: (setf mysql-column-comment) (instance)
Package

pgloader.source.mysql.

Source

mysql-cast-rules.lisp.

Target Slot

comment.

Reader: mysql-column-ctype (instance)
Writer: (setf mysql-column-ctype) (instance)
Package

pgloader.source.mysql.

Source

mysql-cast-rules.lisp.

Target Slot

ctype.

Reader: mysql-column-default (instance)
Writer: (setf mysql-column-default) (instance)
Package

pgloader.source.mysql.

Source

mysql-cast-rules.lisp.

Target Slot

default.

Reader: mysql-column-dtype (instance)
Writer: (setf mysql-column-dtype) (instance)
Package

pgloader.source.mysql.

Source

mysql-cast-rules.lisp.

Target Slot

dtype.

Reader: mysql-column-extra (instance)
Writer: (setf mysql-column-extra) (instance)
Package

pgloader.source.mysql.

Source

mysql-cast-rules.lisp.

Target Slot

extra.

Reader: mysql-column-name (instance)
Writer: (setf mysql-column-name) (instance)
Package

pgloader.source.mysql.

Source

mysql-cast-rules.lisp.

Target Slot

name.

Reader: mysql-column-nullable (instance)
Writer: (setf mysql-column-nullable) (instance)
Package

pgloader.source.mysql.

Source

mysql-cast-rules.lisp.

Target Slot

nullable.

Function: mysql-column-p (object)
Package

pgloader.source.mysql.

Source

mysql-cast-rules.lisp.

Reader: mysql-column-table-name (instance)
Writer: (setf mysql-column-table-name) (instance)
Package

pgloader.source.mysql.

Source

mysql-cast-rules.lisp.

Target Slot

table-name.

Function: mysql-query (query &key row-fn as-text result-type)

Execute given QUERY within the current *connection*, and set proper defaults for pgloader.

Package

pgloader.source.mysql.

Source

mysql-connection.lisp.

Reader: new-label-dbname (instance)
Writer: (setf new-label-dbname) (instance)
Package

pgloader.monitor.

Source

monitor.lisp.

Target Slot

dbname.

Reader: new-label-label (instance)
Writer: (setf new-label-label) (instance)
Package

pgloader.monitor.

Source

monitor.lisp.

Target Slot

label.

Function: new-label-p (object)
Package

pgloader.monitor.

Source

monitor.lisp.

Reader: new-label-section (instance)
Writer: (setf new-label-section) (instance)
Package

pgloader.monitor.

Source

monitor.lisp.

Target Slot

section.

Function: new-pgsql-connection (pgconn)

Prepare a new connection object with all the same properties as pgconn, so as to avoid stepping on it’s handle

Package

pgloader.pgsql.

Source

connection.lisp.

Function: next-batch-rows (batch-rows current-batch-pos next-error)

How many rows should we process in next iteration?

Package

pgloader.pgcopy.

Source

copy-retry-batch.lisp.

Function: normalize (sqlite-type-name)

SQLite only has a notion of what MySQL calls column_type, or ctype in the CAST machinery. Transform it to the data_type, or dtype.

Package

pgloader.source.sqlite.

Source

sqlite-cast-rules.lisp.

Function: normalize-extra (extra)
Package

pgloader.pgsql.

Source

pgsql-schema.lisp.

Function: normalize-extra (extra)

Normalize MySQL strings into pgloader CL keywords for internal processing.

Package

pgloader.source.mysql.

Source

mysql-cast-rules.lisp.

Function: not-doublequote (char)
Package

pgloader.parser.

Source

command-sexp.lisp.

Function: optimize-table-copy-ordering (catalog)

Return a list of tables to copy over in optimized order

Package

pgloader.load.

Source

migrate-database.lisp.

Function: optname-char-p (char)
Package

pgloader.parser.

Source

command-options.lisp.

Function: optvalue-char-p (char)
Package

pgloader.parser.

Source

command-options.lisp.

Reader: params-columns (instance)
Writer: (setf params-columns) (instance)
Package

pgloader.ini.

Source

parse-ini.lisp.

Target Slot

columns.

Reader: params-empty-string (instance)
Writer: (setf params-empty-string) (instance)
Package

pgloader.ini.

Source

parse-ini.lisp.

Target Slot

empty-string.

Reader: params-encoding (instance)
Writer: (setf params-encoding) (instance)
Package

pgloader.ini.

Source

parse-ini.lisp.

Target Slot

encoding.

Reader: params-fields (instance)
Writer: (setf params-fields) (instance)
Package

pgloader.ini.

Source

parse-ini.lisp.

Target Slot

fields.

Reader: params-filename (instance)
Writer: (setf params-filename) (instance)
Package

pgloader.ini.

Source

parse-ini.lisp.

Target Slot

filename.

Reader: params-format (instance)
Writer: (setf params-format) (instance)
Package

pgloader.ini.

Source

parse-ini.lisp.

Target Slot

format.

Reader: params-gucs (instance)
Writer: (setf params-gucs) (instance)
Package

pgloader.ini.

Source

parse-ini.lisp.

Target Slot

gucs.

Reader: params-is-template (instance)
Writer: (setf params-is-template) (instance)
Package

pgloader.ini.

Source

parse-ini.lisp.

Target Slot

is-template.

Reader: params-logs (instance)
Writer: (setf params-logs) (instance)
Package

pgloader.ini.

Source

parse-ini.lisp.

Target Slot

logs.

Reader: params-null-as (instance)
Writer: (setf params-null-as) (instance)
Package

pgloader.ini.

Source

parse-ini.lisp.

Target Slot

null-as.

Function: params-p (object)
Package

pgloader.ini.

Source

parse-ini.lisp.

Reader: params-rejects (instance)
Writer: (setf params-rejects) (instance)
Package

pgloader.ini.

Source

parse-ini.lisp.

Target Slot

rejects.

Reader: params-separator (instance)
Writer: (setf params-separator) (instance)
Package

pgloader.ini.

Source

parse-ini.lisp.

Target Slot

separator.

Reader: params-skip-lines (instance)
Writer: (setf params-skip-lines) (instance)
Package

pgloader.ini.

Source

parse-ini.lisp.

Target Slot

skip-lines.

Reader: params-table (instance)
Writer: (setf params-table) (instance)
Package

pgloader.ini.

Source

parse-ini.lisp.

Target Slot

table.

Reader: params-truncate (instance)
Writer: (setf params-truncate) (instance)
Package

pgloader.ini.

Source

parse-ini.lisp.

Target Slot

truncate.

Reader: params-use-template (instance)
Writer: (setf params-use-template) (instance)
Package

pgloader.ini.

Source

parse-ini.lisp.

Target Slot

use-template.

Function: parse-ccl-encodings-desc (&optional desc)

Parse the output of the ccl:describe-character-encodings function.

Package

pgloader.utils.

Source

charsets.lisp.

Function: parse-ccl-encodings-desc-first-line (line)

Given a line with :ENCODING [Aliases: :X :Y] return a proper cons.

Package

pgloader.utils.

Source

charsets.lisp.

Function: parse-column-unsigned (data-type column-type)

See if we find the term unsigned in the column-type.

Package

pgloader.sources.

Source

casting-rules.lisp.

Function: parse-columns-spec (string config section &key trailing-sep)

Parse old-style columns specification, such as:
* –> nil
x, y, a, b, d:6, c:5 –> "x, y, a, b, d, c"

Returns the list of fields to read from the file and the list of columns to fill-in in the database as separate values.

Package

pgloader.ini.

Source

parse-ini.lisp.

Function: parse-copy-error-context (context)

Given a COPY command CONTEXT error message, return the batch position where the error comes from.

Package

pgloader.pgcopy.

Source

copy-retry-batch.lisp.

Function: parse-filename-for-source-type (filename)

Given just an existing filename, decide what data source might be found inside...

Package

pgloader.parser.

Source

command-parser.lisp.

Function: parse-index-column-names (columns index-definition)

Return a list of column names for the given index.

Package

pgloader.pgsql.

Source

pgsql-schema.lisp.

Function: parse-index-filter-clause (filter)

Parse the filter clause for a MS SQL index, see https://technet.microsoft.com/en-us/library/cc280372.aspx

Package

pgloader.source.mssql.index-filter.

Source

mssql-index-filters.lisp.

Function: parse-only-cols (columns only-cols)

columns = x, y, a, b, d:6, c:5
only_cols = 3-6

Note that parsing the columns value has already been done for us, what we are given here actually is (x y a b d c)

Returns (a b d c)

Package

pgloader.ini.

Source

parse-ini.lisp.

Function: parse-pgpass-file (&optional pgpass-filename)
Package

pgloader.parser.

Source

parse-pgpass.lisp.

Function: parse-postgresql-version-number (version-string)

Parse PostgreSQL select version() output for full version and major version.

Package

pgloader.pgsql.

Source

connection.lisp.

Function: parse-postgresql-version-string (version-string)
Package

pgloader.pgsql.

Source

connection.lisp.

Function: parse-postgresql-version-variant (version-string)

Parse PostgreSQL select version() output for Postgres variant, if any.

Package

pgloader.pgsql.

Source

connection.lisp.

Function: parse-query (stream &optional state)

Read a SQL query from STREAM, starting at whatever the current position is.

Returns another SQL query each time it’s called, or NIL when EOF is
reached expectedly. Signal end-of-file condition when reaching EOF in the
middle of a query.

See the following docs for some of the parser complexity background:

http://www.postgresql.org/docs/9.3/static/sql-syntax-lexical.html#SQL-SYNTAX-DOLLAR-QUOTING

Parser states are:

- EAT reading the query
- TAG reading a tag that could be an embedded $x$ tag or a closing tag
- EOT End Of Tag
- EQT Eat Quoted Text
- EDQ Eat Double-Quoted Text (identifiers)
- EOQ done reading the query
- ESC read espaced text (with backslash)

Package

pgloader.sql.

Source

read-sql-files.lisp.

Function: parse-row (fixed-cols-specs line)

Parse a single line of FIXED input file and return a row of columns.

Package

pgloader.source.fixed.

Source

fixed.lisp.

Function: parse-row (line &key delimiter null-as)

Parse a single line of COPY input file and return a row of columns.

Package

pgloader.source.copy.

Source

copy.lisp.

Function: parse-section (config section &optional params)

Parse a configuration section into a params structure.

Package

pgloader.ini.

Source

parse-ini.lisp.

Function: parse-summary-filename (summary debug)

Return the pathname where to write the summary output.

Package

pgloader.

Source

main.lisp.

Function: parse-summary-type (&optional pathname)

Return the summary type we want: human-readable, csv, json.

Package

pgloader.state.

Source

report.lisp.

Function: parse-value (value sqlite-type pgsql-type &key encoding)

Parse value given by SQLite to match what PostgreSQL is expecting. In some cases SQLite will give text output for a blob column (it’s base64) and at times will output binary data for text (utf-8 byte vector).

Package

pgloader.source.sqlite.

Source

sqlite.lisp.

Reader: parser-filename (instance)
Writer: (setf parser-filename) (instance)
Package

pgloader.sql.

Source

read-sql-files.lisp.

Target Slot

filename.

Function: parser-p (object)
Package

pgloader.sql.

Source

read-sql-files.lisp.

Reader: parser-state (instance)
Writer: (setf parser-state) (instance)
Package

pgloader.sql.

Source

read-sql-files.lisp.

Target Slot

state.

Reader: parser-stream (instance)
Writer: (setf parser-stream) (instance)
Package

pgloader.sql.

Source

read-sql-files.lisp.

Target Slot

stream.

Reader: parser-tags (instance)
Writer: (setf parser-tags) (instance)
Package

pgloader.sql.

Source

read-sql-files.lisp.

Target Slot

tags.

Function: pathname-to-url (pathname &optional root)

Transform given PATHNAME into an URL at which to serve it within URL-PATH.

Package

pgloader.queries.

Source

queries.lisp.

Reader: pf-legend (instance)
Writer: (setf pf-legend) (instance)
Package

pgloader.state.

Source

pretty-print-state.lisp.

Target Slot

legend.

Reader: pf-max-label-length (instance)
Writer: (setf pf-max-label-length) (instance)
Package

pgloader.state.

Source

pretty-print-state.lisp.

Target Slot

max-label-length.

Function: pgpass-char-p (char)
Package

pgloader.parser.

Source

parse-pgpass.lisp.

Reader: pgpass-database (instance)
Writer: (setf pgpass-database) (instance)
Package

pgloader.parser.

Source

parse-pgpass.lisp.

Target Slot

database.

Reader: pgpass-hostname (instance)
Writer: (setf pgpass-hostname) (instance)
Package

pgloader.parser.

Source

parse-pgpass.lisp.

Target Slot

hostname.

Function: pgpass-p (object)
Package

pgloader.parser.

Source

parse-pgpass.lisp.

Reader: pgpass-password (instance)
Writer: (setf pgpass-password) (instance)
Package

pgloader.parser.

Source

parse-pgpass.lisp.

Target Slot

password.

Reader: pgpass-port (instance)
Writer: (setf pgpass-port) (instance)
Package

pgloader.parser.

Source

parse-pgpass.lisp.

Target Slot

port.

Reader: pgpass-username (instance)
Writer: (setf pgpass-username) (instance)
Package

pgloader.parser.

Source

parse-pgpass.lisp.

Target Slot

username.

Function: pgsql-connection-bindings (pg-db-uri gucs)

Generate the code needed to set PostgreSQL connection bindings.

Package

pgloader.parser.

Source

command-db-uri.lisp.

Reader: pgstate-bytes (instance)
Writer: (setf pgstate-bytes) (instance)
Package

pgloader.state.

Source

state.lisp.

Target Slot

bytes.

Function: pgstate-p (object)
Package

pgloader.state.

Source

state.lisp.

Reader: pgstate-rs (instance)
Writer: (setf pgstate-rs) (instance)
Package

pgloader.state.

Source

state.lisp.

Target Slot

rs.

Reader: pgstate-ws (instance)
Writer: (setf pgstate-ws) (instance)
Package

pgloader.state.

Source

state.lisp.

Target Slot

ws.

Reader: pgtable-errs (instance)
Writer: (setf pgtable-errs) (instance)
Package

pgloader.state.

Source

state.lisp.

Target Slot

errs.

Reader: pgtable-name (instance)
Writer: (setf pgtable-name) (instance)
Package

pgloader.state.

Source

state.lisp.

Target Slot

name.

Function: pgtable-p (object)
Package

pgloader.state.

Source

state.lisp.

Reader: pgtable-read (instance)
Writer: (setf pgtable-read) (instance)
Package

pgloader.state.

Source

state.lisp.

Target Slot

read.

Reader: pgtable-rs (instance)
Writer: (setf pgtable-rs) (instance)
Package

pgloader.state.

Source

state.lisp.

Target Slot

rs.

Reader: pgtable-ws (instance)
Writer: (setf pgtable-ws) (instance)
Package

pgloader.state.

Source

state.lisp.

Target Slot

ws.

Function: prepare-and-format-row (copy nbcols row)

Prepare given ROW in PostgreSQL COPY format

Package

pgloader.pgcopy.

Source

copy-format.lisp.

Function: prepare-and-format-row-for-s3 (copy nbcols row)

Redshift doesn’t know how to parse COPY format, we need to upload CSV instead. That said, we don’t have to be as careful with the data layout and unicode representation when COPYing from a CSV file as we do when implementing the data streaming outselves.

Package

pgloader.pgcopy.

Source

copy-rows-in-batch-through-s3.lisp.

Function: prepare-copy-parameters (copy)

add some COPY activity related bits to our COPY object.

Package

pgloader.pgcopy.

Source

copy-from-queue.lisp.

Function: prepare-row (copy nbcols row)

Prepare given ROW by applying the pre-processing and transformation functions registered in the COPY context.

Package

pgloader.pgcopy.

Source

copy-format.lisp.

Function: print-backtrace (condition debug)

Depending on DEBUG, print out the full backtrace or just a shorter message on STREAM for given CONDITION.

Package

pgloader.

Source

main.lisp.

Function: print-csv-option (params option)

Print a CSV option in the new format.

Package

pgloader.ini.

Source

parse-ini.lisp.

Function: print-format-copy-p (object)
Package

pgloader.state.

Source

pretty-print-state.lisp.

Function: print-format-csv-p (object)
Package

pgloader.state.

Source

pretty-print-state.lisp.

Function: print-format-human-readable-p (object)
Package

pgloader.state.

Source

pretty-print-state.lisp.

Function: print-format-json-p (object)
Package

pgloader.state.

Source

pretty-print-state.lisp.

Function: print-format-p (object)
Package

pgloader.state.

Source

pretty-print-state.lisp.

Function: print-format-tab-p (object)
Package

pgloader.state.

Source

pretty-print-state.lisp.

Function: print-format-text-legend (instance)
Package

pgloader.state.

Source

pretty-print-state.lisp.

Function: (setf print-format-text-legend) (instance)
Package

pgloader.state.

Source

pretty-print-state.lisp.

Function: print-format-text-max-label-length (instance)
Package

pgloader.state.

Source

pretty-print-state.lisp.

Function: (setf print-format-text-max-label-length) (instance)
Package

pgloader.state.

Source

pretty-print-state.lisp.

Function: print-format-text-p (object)
Package

pgloader.state.

Source

pretty-print-state.lisp.

Function: print-format-verbose-legend (instance)
Package

pgloader.state.

Source

pretty-print-state.lisp.

Function: (setf print-format-verbose-legend) (instance)
Package

pgloader.state.

Source

pretty-print-state.lisp.

Function: print-format-verbose-max-label-length (instance)
Package

pgloader.state.

Source

pretty-print-state.lisp.

Function: (setf print-format-verbose-max-label-length) (instance)
Package

pgloader.state.

Source

pretty-print-state.lisp.

Function: print-format-verbose-p (object)
Package

pgloader.state.

Source

pretty-print-state.lisp.

Function: procedure-p (object)
Package

pgloader.catalog.

Source

catalog.lisp.

Function: process-catalog (copy catalog &key alter-table alter-schema distribute)

Do all the PostgreSQL catalog tweaking here: casts, index WHERE clause rewriting, pgloader level alter schema and alter table commands.

Package

pgloader.load.

Source

migrate-database.lisp.

Function: process-command-file (filename-list &key flush-summary)

Process each FILENAME in FILENAME-LIST as a pgloader command file (.load).

Package

pgloader.

Source

api.lisp.

Function: process-hostname (hostname)
Package

pgloader.parser.

Source

command-db-uri.lisp.

Function: process-quoted-regex (pr)

Helper function to process different kinds of quotes for regexps

Package

pgloader.parser.

Source

command-regexp.lisp.

Function: process-regression-test (load-file &key start-logger)

Run a regression test for given LOAD-FILE.

Package

pgloader.

Source

regress.lisp.

Function: process-source-and-target (source-string target-string &optional type encoding set with field cast before after)

Given exactly 2 CLI arguments, process them as source and target URIs. Parameters here are meant to be already parsed, see parse-cli-optargs.

Package

pgloader.

Source

api.lisp.

Function: process-triggers (table)

Return the list of PostgreSQL statements to create a catalog trigger.

Package

pgloader.pgsql.

Source

pgsql-trigger.lisp.

Function: process-true-false (value)

parse python boolean values

Package

pgloader.ini.

Source

parse-ini.lisp.

Function: process-update-stats-start-event (event label table)
Package

pgloader.monitor.

Source

monitor.lisp.

Function: process-update-stats-stop-event (event label table)
Package

pgloader.monitor.

Source

monitor.lisp.

Function: push-row (batch row row-bytes)
Package

pgloader.pgcopy.

Source

copy-batch.lisp.

Function: query-table-schema (table)

Get PostgreSQL schema name where to locate TABLE-NAME by following the current search_path rules. A PostgreSQL connection must be opened.

Package

pgloader.pgsql.

Source

pgsql-schema.lisp.

Function: read-default-value-for-param (config option &optional default)

Fetch value for OPTION in the global section.

Package

pgloader.ini.

Source

parse-ini.lisp.

Function: read-ini-file (filename)
Package

pgloader.parser.

Source

template.lisp.

Function: read-lines (filename &optional q)

Read lines from given filename and return them in a stream. Recursively apply i include instructions.

Package

pgloader.sql.

Source

read-sql-files.lisp.

Function: read-value-for-param (config section option &key template default)

Read the value of OPTION in the SECTION part of the CONFIG or its TEMPLATE when one is defined, finally using provided DEFAULT.

Package

pgloader.ini.

Source

parse-ini.lisp.

Function: regex-match-rule-p (object)
Package

pgloader.catalog.

Source

alter-table.lisp.

Function: regression-test-expected-data-source (load-file)

Returns the source specification where to read the expected result for the given LOAD-FILE.

Package

pgloader.

Source

regress.lisp.

Function: reject-data-file (table-name dbname)

Return the pathname to the reject file for STATE entry.

Package

pgloader.state.

Source

state.lisp.

Function: reject-log-file (table-name dbname)

Return the pathname to the reject file for STATE entry.

Package

pgloader.state.

Source

state.lisp.

Function: relative-pathname (filename type &optional dbname)

Return the pathname of a file of type TYPE (dat or log) under *ROOT-DIR*

Package

pgloader.state.

Source

state.lisp.

Function: remove-batch-control-option (options &key option-list extras)

Given a list of options, remove the generic ones that should already have been processed.

Package

pgloader.parser.

Source

command-options.lisp.

Function: remove-null-characters (string)

Remove NULL-characters (0x00) from STRING

Package

pgloader.transforms.

Source

transforms.lisp.

Function: report-current-summary (start-time)

Print out the current summary.

Package

pgloader.monitor.

Source

monitor.lisp.

Function: report-summary-p (object)
Package

pgloader.monitor.

Source

monitor.lisp.

Reader: report-summary-reset (instance)
Writer: (setf report-summary-reset) (instance)
Package

pgloader.monitor.

Source

monitor.lisp.

Target Slot

reset.

Function: reset-sql-definitions (table)

Reset source database given wholesale SQL definition for table’s indexes and foreign keys.

Package

pgloader.catalog.

Source

alter-table.lisp.

Function: retry-batch (table columns batch condition &optional current-batch-pos)

Batch is a list of rows containing at least one bad row, the first such row is known to be located at FIRST-ERROR index in the BATCH array.

Package

pgloader.pgcopy.

Source

copy-retry-batch.lisp.

Function: right-trim (string)

Remove whitespaces at end of STRING.

Package

pgloader.transforms.

Source

transforms.lisp.

Function: same-type-p (source-column target-column)

Evaluate if SOURCE-COLUMN and TARGET-COLUMN selected type names are similar enough that we may continue with the migration.

Package

pgloader.pgsql.

Source

merge-catalogs.lisp.

Reader: schema-matview-list (instance)
Writer: (setf schema-matview-list) (instance)
Package

pgloader.catalog.

Source

catalog.lisp.

Target Slot

matview-list.

Function: schema-p (object)
Package

pgloader.catalog.

Source

catalog.lisp.

Function: self-upgrade (namestring &optional debug)

Load pgloader sources at PATH-TO-PGLOADER-SOURCES.

Package

pgloader.

Source

main.lisp.

Function: send-batch (table columns batch &key db)

Copy current *writer-batch* into TABLE-NAME.

Package

pgloader.pgcopy.

Source

copy-rows-in-batch.lisp.

Function: send-batch-through-s3 (table columns batch &key db)

Copy current *writer-batch* into TABLE-NAME.

Package

pgloader.pgcopy.

Source

copy-rows-in-batch-through-s3.lisp.

Function: send-log-message (category description &rest arguments)

Send given message into our monitoring queue for processing.

Package

pgloader.monitor.

Source

monitor.lisp.

Function: set-postgresql-version (pgconn)

Get the PostgreSQL version string and parse it.

Package

pgloader.pgsql.

Source

connection.lisp.

Function: set-session-gucs (alist &key transaction database)

Set given GUCs to given values for the current session.

Package

pgloader.pgsql.

Source

connection.lisp.

Function: set-to-enum-array (set-string)

Transform a MySQL SET value into a PostgreSQL ENUM Array

Package

pgloader.transforms.

Source

transforms.lisp.

Function: socket-directory-character-p (char)
Package

pgloader.parser.

Source

command-db-uri.lisp.

Function: split-columns-specs (colspecs)

Return an alist of column name and column position from given COLSPEC

Package

pgloader.ini.

Source

parse-ini.lisp.

Function: sql-code-block (pgconn section commands label)

Return lisp code to run COMMANDS against DBNAME, updating STATE.

Package

pgloader.parser.

Source

command-sql-block.lisp.

Function: sql-server-bit-to-boolean (bit-string-or-integer)

We might receive bits as ’((0))’

Package

pgloader.transforms.

Source

transforms.lisp.

Function: sql-server-uniqueidentifier-to-uuid (id)
Package

pgloader.transforms.

Source

transforms.lisp.

Function: sqlite-encoding (db)

Return a BABEL suitable encoding for the SQLite db handle.

Package

pgloader.source.sqlite.

Source

sqlite-schema.lisp.

Function: sqlite-pragma-encoding (db)
Package

pgloader.source.sqlite.

Source

sqlite-schema.lisp.

Function: sqlite-timestamp-to-timestamp (date-string-or-integer)
Package

pgloader.transforms.

Source

transforms.lisp.

Function: sqltype-p (object)
Package

pgloader.catalog.

Source

catalog.lisp.

Function: start-p (object)
Package

pgloader.monitor.

Source

monitor.lisp.

Reader: start-start-logger (instance)
Writer: (setf start-start-logger) (instance)
Package

pgloader.monitor.

Source

monitor.lisp.

Target Slot

start-logger.

Reader: state-bytes (instance)
Writer: (setf state-bytes) (instance)
Package

pgloader.state.

Source

state.lisp.

Target Slot

bytes.

Function: state-p (object)
Package

pgloader.state.

Source

state.lisp.

Function: stop-p (object)
Package

pgloader.monitor.

Source

monitor.lisp.

Reader: stop-stop-logger (instance)
Writer: (setf stop-stop-logger) (instance)
Package

pgloader.monitor.

Source

monitor.lisp.

Target Slot

stop-logger.

Function: stream-row (stream copy nbcols row)

Send a single ROW down in the PostgreSQL COPY STREAM.

Package

pgloader.pgcopy.

Source

copy-rows-in-stream.lisp.

Function: stream-rows-to-copy (table columns copy nbcols queue &optional db)

Directly stream rows that we pop from QUEUE into PostgreSQL database connection DB.

Package

pgloader.pgcopy.

Source

copy-rows-in-stream.lisp.

Function: string-match-rule-p (object)
Package

pgloader.catalog.

Source

alter-table.lisp.

Function: string-to-copy-utf-8-bytes (string buffer &optional position)

Convert a string into an array of unsigned bytes containing its utf-8 representation.

Package

pgloader.pgcopy.

Source

copy-format.lisp.

Function: symbol-character-p (character)
Package

pgloader.parser.

Source

command-sexp.lisp.

Function: symbol-first-character-p (character)
Package

pgloader.parser.

Source

command-sexp.lisp.

Function: table-p (object)
Package

pgloader.catalog.

Source

catalog.lisp.

Function: test-casts ()

Just test some cases for the casts

Package

pgloader.source.mysql.

Source

mysql-cast-rules.lisp.

Function: test/parse-postgresql-version-string ()
Package

pgloader.pgsql.

Source

connection.lisp.

Function: time-with-no-separator (time-string &optional format)

Apply this function when input date in like ’08231560’

Package

pgloader.transforms.

Source

transforms.lisp.

Function: tinyint-to-boolean (integer-string)

When using MySQL, strange things will happen, like encoding booleans into tinyiny that are either 0 (false) or 1 (true). Of course PostgreSQL wants ’f’ and ’t’, respectively.

Package

pgloader.transforms.

Source

transforms.lisp.

Function: transform-function (field)

Return the transformation functions needed to cast from ixf-column data.

Package

pgloader.source.ixf.

Source

ixf-cast-rules.lisp.

Function: try-csv-params (lines cols &key separator quote escape)

Read LINES as CSV with SEPARATOR and ESCAPE params, and return T when each line in LINES then contains exactly COLS columns

Package

pgloader.source.csv.

Source

csv-guess.lisp.

Function: unix-timestamp-to-timestamptz (unixtime-string)

Takes a unix timestamp (seconds since beginning of 1970) and converts it into a string of format "YYYY-MM-DD hh:mm:ssZ".

Assumes that the unix timestamp is in UTC time.

Package

pgloader.transforms.

Source

transforms.lisp.

Function: untar (archive-file expand-directory)

Untar an archive

Package

pgloader.archive.

Source

archive.lisp.

Function: unzip (archive-file expand-directory)

Unzip an archive

Package

pgloader.archive.

Source

archive.lisp.

Reader: update-stats-bytes (instance)
Writer: (setf update-stats-bytes) (instance)
Package

pgloader.monitor.

Source

monitor.lisp.

Target Slot

bytes.

Reader: update-stats-errs (instance)
Writer: (setf update-stats-errs) (instance)
Package

pgloader.monitor.

Source

monitor.lisp.

Target Slot

errs.

Reader: update-stats-label (instance)
Writer: (setf update-stats-label) (instance)
Package

pgloader.monitor.

Source

monitor.lisp.

Target Slot

label.

Function: update-stats-p (object)
Package

pgloader.monitor.

Source

monitor.lisp.

Reader: update-stats-read (instance)
Writer: (setf update-stats-read) (instance)
Package

pgloader.monitor.

Source

monitor.lisp.

Target Slot

read.

Reader: update-stats-rows (instance)
Writer: (setf update-stats-rows) (instance)
Package

pgloader.monitor.

Source

monitor.lisp.

Target Slot

rows.

Reader: update-stats-rs (instance)
Writer: (setf update-stats-rs) (instance)
Package

pgloader.monitor.

Source

monitor.lisp.

Target Slot

rs.

Reader: update-stats-secs (instance)
Writer: (setf update-stats-secs) (instance)
Package

pgloader.monitor.

Source

monitor.lisp.

Target Slot

secs.

Reader: update-stats-section (instance)
Writer: (setf update-stats-section) (instance)
Package

pgloader.monitor.

Source

monitor.lisp.

Target Slot

section.

Reader: update-stats-start (instance)
Writer: (setf update-stats-start) (instance)
Package

pgloader.monitor.

Source

monitor.lisp.

Target Slot

start.

Reader: update-stats-stop (instance)
Writer: (setf update-stats-stop) (instance)
Package

pgloader.monitor.

Source

monitor.lisp.

Target Slot

stop.

Reader: update-stats-ws (instance)
Writer: (setf update-stats-ws) (instance)
Package

pgloader.monitor.

Source

monitor.lisp.

Target Slot

ws.

Function: usage (argv &key quit)

Show usage then QUIT if asked to.

Package

pgloader.

Source

main.lisp.

Function: user-defined-columns (config section)

Fetch all option that begin with udc_ as user defined columns

Package

pgloader.ini.

Source

parse-ini.lisp.

Function: varbinary-to-string (string)
Package

pgloader.transforms.

Source

transforms.lisp.

Function: walk-sources-and-build-fs ()
Package

pgloader.queries.

Source

queries.lisp.

Function: zero-dates-to-null (date-string)

MySQL accepts ’0000-00-00’ as a date, we want NIL (SQL NULL) instead.

Package

pgloader.transforms.

Source

transforms.lisp.


6.2.5 Generic functions

Generic Function: add-comment (object comment &key)
Package

pgloader.catalog.

Source

catalog.lisp.

Generic Function: apply-citus-rule (rule)

Apply a Citus distribution RULE to given TABLE.

Package

pgloader.citus.

Source

citus.lisp.

Methods
Method: apply-citus-rule ((rule citus-distributed-rule))
Method: apply-citus-rule ((rule citus-reference-rule))
Generic Reader: citus-rule (condition)
Generic Writer: (setf citus-rule) (condition)
Package

pgloader.citus.

Methods
Reader Method: citus-rule ((condition citus-rule-is-missing-from-list))
Writer Method: (setf citus-rule) ((condition citus-rule-is-missing-from-list))
Source

citus.lisp.

Target Slot

rule.

Generic Function: citus-rule-table (rule)

Returns the RULE’s table.

Package

pgloader.citus.

Source

citus.lisp.

Methods
Method: citus-rule-table ((rule citus-reference-rule))
Method: citus-rule-table ((rule citus-distributed-rule))
Generic Reader: citus-rule-table-not-found-schema-name (condition)
Generic Writer: (setf citus-rule-table-not-found-schema-name) (condition)
Package

pgloader.citus.

Methods
Reader Method: citus-rule-table-not-found-schema-name ((condition citus-rule-table-not-found))
Writer Method: (setf citus-rule-table-not-found-schema-name) ((condition citus-rule-table-not-found))
Source

citus.lisp.

Target Slot

schema-name.

Generic Reader: citus-rule-table-not-found-table-name (condition)
Generic Writer: (setf citus-rule-table-not-found-table-name) (condition)
Package

pgloader.citus.

Methods
Reader Method: citus-rule-table-not-found-table-name ((condition citus-rule-table-not-found))
Writer Method: (setf citus-rule-table-not-found-table-name) ((condition citus-rule-table-not-found))
Source

citus.lisp.

Target Slot

table-name.

Generic Function: citus-set-table (rule catalog)

Find citus RULE table in CATALOG and update the placeholder with the table found there.

Package

pgloader.citus.

Source

citus.lisp.

Methods
Method: citus-set-table ((rule citus-reference-rule) (catalog catalog))
Method: citus-set-table ((rule citus-distributed-rule) (catalog catalog))
Generic Function: compute-foreign-rules (rule table &key fkey-list)

Compute rules to apply that derive from the distribution rule RULE when following foreign-keys from TABLE.

Package

pgloader.citus.

Source

citus.lisp.

Methods
Method: compute-foreign-rules ((rule citus-distributed-rule) (table table) &key fkey-list)

Find every foreign key that points to TABLE and add return a list of new rules for the source of those foreign keys.

Method: compute-foreign-rules ((rule citus-reference-rule) (table table) &key)

There’s nothing to do here, reference table doesn’t impact the schema.

Generic Reader: connection-error-host (condition)
Package

pgloader.connection.

Methods
Reader Method: connection-error-host ((condition db-connection-error))
Source

connection.lisp.

Target Slot

host.

Generic Reader: connection-error-mesg (condition)
Package

pgloader.connection.

Methods
Reader Method: connection-error-mesg ((condition connection-error))
Source

connection.lisp.

Target Slot

mesg.

Generic Reader: connection-error-path (condition)
Package

pgloader.connection.

Methods
Reader Method: connection-error-path ((condition fd-connection-error))
Source

connection.lisp.

Target Slot

path.

Generic Reader: connection-error-port (condition)
Package

pgloader.connection.

Methods
Reader Method: connection-error-port ((condition db-connection-error))
Source

connection.lisp.

Target Slot

port.

Generic Reader: connection-error-type (condition)
Package

pgloader.connection.

Methods
Reader Method: connection-error-type ((condition connection-error))
Source

connection.lisp.

Target Slot

type.

Generic Reader: connection-error-user (condition)
Package

pgloader.connection.

Methods
Reader Method: connection-error-user ((condition db-connection-error))
Source

connection.lisp.

Target Slot

user.

Generic Reader: copy-init-error-columns (condition)
Package

pgloader.pgcopy.

Methods
Reader Method: copy-init-error-columns ((condition copy-init-error))
Source

copy-db-write.lisp.

Target Slot

columns.

Generic Reader: copy-init-error-condition (condition)
Package

pgloader.pgcopy.

Methods
Reader Method: copy-init-error-condition ((condition copy-init-error))
Source

copy-db-write.lisp.

Target Slot

condition.

Generic Reader: copy-init-error-table (condition)
Package

pgloader.pgcopy.

Methods
Reader Method: copy-init-error-table ((condition copy-init-error))
Source

copy-db-write.lisp.

Target Slot

table.

Generic Reader: csv-escape (object)
Package

pgloader.source.csv.

Methods
Reader Method: csv-escape ((copy-csv copy-csv))

automatically generated reader method

Source

csv.lisp.

Target Slot

escape.

Generic Writer: (setf csv-escape) (object)
Package

pgloader.source.csv.

Methods
Writer Method: (setf csv-escape) ((copy-csv copy-csv))

automatically generated writer method

Source

csv.lisp.

Target Slot

escape.

Generic Reader: csv-escape-mode (object)
Package

pgloader.source.csv.

Methods
Reader Method: csv-escape-mode ((copy-csv copy-csv))

automatically generated reader method

Source

csv.lisp.

Target Slot

escape-mode.

Generic Writer: (setf csv-escape-mode) (object)
Package

pgloader.source.csv.

Methods
Writer Method: (setf csv-escape-mode) ((copy-csv copy-csv))

automatically generated writer method

Source

csv.lisp.

Target Slot

escape-mode.

Generic Reader: csv-newline (object)
Package

pgloader.source.csv.

Methods
Reader Method: csv-newline ((copy-csv copy-csv))

automatically generated reader method

Source

csv.lisp.

Target Slot

newline.

Generic Writer: (setf csv-newline) (object)
Package

pgloader.source.csv.

Methods
Writer Method: (setf csv-newline) ((copy-csv copy-csv))

automatically generated writer method

Source

csv.lisp.

Target Slot

newline.

Generic Reader: csv-quote (object)
Package

pgloader.source.csv.

Methods
Reader Method: csv-quote ((copy-csv copy-csv))

automatically generated reader method

Source

csv.lisp.

Target Slot

quote.

Generic Writer: (setf csv-quote) (object)
Package

pgloader.source.csv.

Methods
Writer Method: (setf csv-quote) ((copy-csv copy-csv))

automatically generated writer method

Source

csv.lisp.

Target Slot

quote.

Generic Reader: csv-separator (object)
Package

pgloader.source.csv.

Methods
Reader Method: csv-separator ((copy-csv copy-csv))

automatically generated reader method

Source

csv.lisp.

Target Slot

separator.

Generic Writer: (setf csv-separator) (object)
Package

pgloader.source.csv.

Methods
Writer Method: (setf csv-separator) ((copy-csv copy-csv))

automatically generated writer method

Source

csv.lisp.

Target Slot

separator.

Generic Reader: csv-trim-blanks (object)
Package

pgloader.source.csv.

Methods
Reader Method: csv-trim-blanks ((copy-csv copy-csv))

automatically generated reader method

Source

csv.lisp.

Target Slot

trim-blanks.

Generic Writer: (setf csv-trim-blanks) (object)
Package

pgloader.source.csv.

Methods
Writer Method: (setf csv-trim-blanks) ((copy-csv copy-csv))

automatically generated writer method

Source

csv.lisp.

Target Slot

trim-blanks.

Generic Reader: db (object)
Package

pgloader.source.sqlite.

Methods
Reader Method: db ((copy-sqlite copy-sqlite))

automatically generated reader method

Source

sqlite-schema.lisp.

Target Slot

db.

Generic Writer: (setf db) (object)
Package

pgloader.source.sqlite.

Methods
Writer Method: (setf db) ((copy-sqlite copy-sqlite))

automatically generated writer method

Source

sqlite-schema.lisp.

Target Slot

db.

Generic Reader: delimiter (object)
Package

pgloader.source.copy.

Methods
Reader Method: delimiter ((copy-copy copy-copy))

automatically generated reader method

Source

copy.lisp.

Target Slot

delimiter.

Generic Writer: (setf delimiter) (object)
Package

pgloader.source.copy.

Methods
Writer Method: (setf delimiter) ((copy-copy copy-copy))

automatically generated writer method

Source

copy.lisp.

Target Slot

delimiter.

Generic Function: dumb-down-data-types-for-redshift (object)
Package

pgloader.pgsql.

Source

pgsql-finalize-catalogs.lisp.

Methods
Method: dumb-down-data-types-for-redshift ((column column))
Method: dumb-down-data-types-for-redshift ((table table))
Method: dumb-down-data-types-for-redshift ((schema schema))
Method: dumb-down-data-types-for-redshift ((catalog catalog))
Generic Function: extend-current-tag (p char)
Package

pgloader.sql.

Methods
Method: extend-current-tag ((p parser) char)

The TAGS slot of the parser is a stack, maintain it properly.

Source

read-sql-files.lisp.

Generic Reader: fd-arch (object)
Package

pgloader.connection.

Methods
Reader Method: fd-arch ((fd-connection fd-connection))

automatically generated reader method

Source

connection.lisp.

Target Slot

arch.

Generic Writer: (setf fd-arch) (object)
Package

pgloader.connection.

Methods
Writer Method: (setf fd-arch) ((fd-connection fd-connection))

automatically generated writer method

Source

connection.lisp.

Target Slot

arch.

Generic Reader: fd-db3 (object)
Package

pgloader.source.db3.

Methods
Reader Method: fd-db3 ((dbf-connection dbf-connection))

automatically generated reader method

Source

db3-connection.lisp.

Target Slot

db3.

Generic Writer: (setf fd-db3) (object)
Package

pgloader.source.db3.

Methods
Writer Method: (setf fd-db3) ((dbf-connection dbf-connection))

automatically generated writer method

Source

db3-connection.lisp.

Target Slot

db3.

Generic Reader: fd-uri (object)
Package

pgloader.connection.

Methods
Reader Method: fd-uri ((fd-connection fd-connection))

automatically generated reader method

Source

connection.lisp.

Target Slot

uri.

Generic Writer: (setf fd-uri) (object)
Package

pgloader.connection.

Methods
Writer Method: (setf fd-uri) ((fd-connection fd-connection))

automatically generated writer method

Source

connection.lisp.

Target Slot

uri.

Generic Function: fetch-table-row-count (schema mysql &key including excluding)
Package

pgloader.source.mysql.

Methods
Method: fetch-table-row-count ((schema schema) (mysql copy-mysql) &key including excluding)

Retrieve and set the row count estimate for given MySQL tables.

Source

mysql-schema.lisp.

Generic Function: fetch-table-row-count (catalog db-copy &key including excluding)

Retrieve and set the row count estimate for given tables.

Package

pgloader.sources.

Source

api.lisp.

Generic Function: format-current-tag (p &optional stream)
Package

pgloader.sql.

Methods
Method: format-current-tag ((p parser) &optional stream)

Output the current tag to the current stream.

Source

read-sql-files.lisp.

Generic Function: get-first-lines (filename-or-stream &optional n)

Get the first line of given FILENAME-OR-STREAM.

Package

pgloader.source.fixed.

Source

fixed-guess.lisp.

Methods
Method: get-first-lines ((stream stream) &optional n)
Method: get-first-lines ((filename string) &optional n)
Generic Reader: has-sequences (object)
Package

pgloader.source.sqlite.

Methods
Reader Method: has-sequences ((sqlite-connection sqlite-connection))

automatically generated reader method

Source

sqlite-connection.lisp.

Target Slot

has-sequences.

Generic Writer: (setf has-sequences) (object)
Package

pgloader.source.sqlite.

Methods
Writer Method: (setf has-sequences) ((sqlite-connection sqlite-connection))

automatically generated writer method

Source

sqlite-connection.lisp.

Target Slot

has-sequences.

Generic Function: maybe-close-tags (p &optional stream)
Package

pgloader.sql.

Methods
Method: maybe-close-tags ((p parser) &optional stream)

If the two top tags in the TAGS slot of the parser P are the
same (compared using EQUALP), then pop them out of the stack and print the closing tag to STREAM.

Source

read-sql-files.lisp.

Generic Reader: monitor-real-error (condition)
Package

pgloader.monitor.

Methods
Reader Method: monitor-real-error ((condition monitor-error))
Source

monitor.lisp.

Target Slot

root-cause.

Generic Function: mssql-column-ctype (col)
Package

pgloader.source.mssql.

Methods
Method: mssql-column-ctype ((col mssql-column))

Build the ctype definition from the full mssql-column information.

Source

mssql-cast-rules.lisp.

Generic Reader: myconn-use-ssl (object)
Package

pgloader.source.mysql.

Methods
Reader Method: myconn-use-ssl ((mysql-connection mysql-connection))

automatically generated reader method

Source

mysql-connection.lisp.

Target Slot

use-ssl.

Generic Writer: (setf myconn-use-ssl) (object)
Package

pgloader.source.mysql.

Methods
Writer Method: (setf myconn-use-ssl) ((mysql-connection mysql-connection))

automatically generated writer method

Source

mysql-connection.lisp.

Target Slot

use-ssl.

Generic Reader: null-as (object)
Package

pgloader.source.copy.

Methods
Reader Method: null-as ((copy-copy copy-copy))

automatically generated reader method

Source

copy.lisp.

Target Slot

null-as.

Generic Writer: (setf null-as) (object)
Package

pgloader.source.copy.

Methods
Writer Method: (setf null-as) ((copy-copy copy-copy))

automatically generated writer method

Source

copy.lisp.

Target Slot

null-as.

Generic Reader: on-error-condition (condition)
Package

pgloader.params.

Methods
Reader Method: on-error-condition ((condition on-error-stop))
Source

params.lisp.

Target Slot

on-condition.

Generic Function: pgsql-column-ctype (column)
Package

pgloader.source.pgsql.

Methods
Method: pgsql-column-ctype ((column column))

Build the ctype definition from the PostgreSQL column information.

Source

pgsql-cast-rules.lisp.

Generic Function: pop-current-tag (p)
Package

pgloader.sql.

Methods
Method: pop-current-tag ((p parser))

Remove current tag entry

Source

read-sql-files.lisp.

Generic Function: pretty-print (stream state format &key legend max-label-length header footer extra-sep-line)
Package

pgloader.state.

Source

pretty-print-state.lisp.

Methods
Method: pretty-print ((stream stream) (pgtable pgtable) (format print-format-copy) &key legend)
Method: pretty-print ((stream stream) (pgstate pgstate) (format print-format-copy) &key)
Method: pretty-print ((stream stream) (pgtable pgtable) (format print-format-csv) &key legend)
Method: pretty-print ((stream stream) (pgstate pgstate) (format print-format-csv) &key)
Method: pretty-print ((stream stream) (pgtable pgtable) (format print-format-verbose) &key legend max-label-length)
Method: pretty-print ((stream stream) (pgstate pgstate) (format print-format-verbose) &key header footer extra-sep-line)
Method: pretty-print ((stream stream) (pgtable pgtable) (format print-format-text) &key legend max-label-length)
Method: pretty-print ((stream stream) (pgstate pgstate) (format print-format-text) &key header footer extra-sep-line)
Method: pretty-print ((stream stream) (state state) (format print-format-human-readable) &key)
Method: pretty-print ((stream stream) (state state) (format print-format-json) &key)
Method: pretty-print ((stream stream) (state state) (format print-format-tab) &key)
Generic Function: proprocess-row (source)

Some source readers have pre-processing to do on the raw data, such as CSV user-defined field projections to PostgreSQL columns. This function returns the pre-processing function, which must be a funcallable object.

Package

pgloader.sources.

Source

api.lisp.

Generic Function: push-new-tag (p)
Package

pgloader.sql.

Methods
Method: push-new-tag ((p parser))

Add a new element on the TAGS slot, a stack

Source

read-sql-files.lisp.

Generic Function: queue-raw-data (source queue concurrency)

Send raw data from the reader to the worker queue.

Package

pgloader.sources.

Source

api.lisp.

Generic Reader: range-list (object)
Package

pgloader.source.mysql.

Methods
Reader Method: range-list ((copy-mysql copy-mysql))

automatically generated reader method

Source

mysql-schema.lisp.

Target Slot

range-list.

Generic Writer: (setf range-list) (object)
Package

pgloader.source.mysql.

Methods
Writer Method: (setf range-list) ((copy-mysql copy-mysql))

automatically generated writer method

Source

mysql-schema.lisp.

Target Slot

range-list.

Generic Reader: regression-test-filename (condition)
Package

pgloader.

Methods
Reader Method: regression-test-filename ((condition regression-test-error))
Source

regress.lisp.

Target Slot

filename.

Generic Function: reset-state (p)
Package

pgloader.sql.

Methods
Method: reset-state ((p parser))

Depending on the current tags stack, set P state to either :eat or :eqt

Source

read-sql-files.lisp.

Generic Function: rule-matches (match-rule object)

Returns non-nill when MATCH-RULE matches with OBJECT.

Package

pgloader.catalog.

Source

alter-table.lisp.

Methods
Method: rule-matches ((match-rule match-rule) (schema schema))

Return non-nil when TABLE matches given MATCH-RULE.

Method: rule-matches ((match-rule match-rule) (table table))

Return non-nil when TABLE matches given MATCH-RULE.

Generic Function: set-gucs (params config section)
Package

pgloader.ini.

Methods
Method: set-gucs ((params params) config section)
Source

parse-ini.lisp.

Generic Function: set-param (params config section option param &optional default)
Package

pgloader.ini.

Methods
Method: set-param ((params params) config section option param &optional default)

Set the params structure slot PARAM, reading its value in the SECTION part of the CONFIG or its TEMPLATE when one is defined, finally using provided DEFAULT.

Source

parse-ini.lisp.

Generic Reader: source-definition-error-mesg (condition)
Package

pgloader.

Methods
Reader Method: source-definition-error-mesg ((condition source-definition-error))
Source

api.lisp.

Target Slot

mesg.

Generic Reader: source-type (object)
Package

pgloader.source.csv.

Methods
Reader Method: source-type ((copy-csv copy-csv))

automatically generated reader method

Source

csv.lisp.

Target Slot

source-type.

Generic Writer: (setf source-type) (object)
Package

pgloader.source.csv.

Methods
Writer Method: (setf source-type) ((copy-csv copy-csv))

automatically generated writer method

Source

csv.lisp.

Target Slot

source-type.

Generic Function: ssl-enable-p (pgconn)
Package

pgloader.pgsql.

Methods
Method: ssl-enable-p ((pgconn pgsql-connection))

Return non-nil when the connection uses SSL

Source

connection.lisp.

Generic Function: ssl-mode (myconn)
Package

pgloader.source.mysql.

Methods
Method: ssl-mode ((myconn mysql-connection))

Return non-nil when the connection uses SSL

Source

mysql-connection.lisp.

Generic Reader: timezone (object)
Package

pgloader.source.ixf.

Methods
Reader Method: timezone ((copy-ixf copy-ixf))

automatically generated reader method

Source

ixf-schema.lisp.

Target Slot

timezone.

Generic Writer: (setf timezone) (object)
Package

pgloader.source.ixf.

Methods
Writer Method: (setf timezone) ((copy-ixf copy-ixf))

automatically generated writer method

Source

ixf-schema.lisp.

Target Slot

timezone.


6.2.6 Conditions

Condition: cli-parsing-error
Package

pgloader.

Source

api.lisp.

Direct superclasses

error.

Condition: configuration-limit-exceeded
Package

pgloader.pgsql.

Source

connection.lisp.

Direct superclasses

insufficient-resources.

Condition: load-files-not-found-error
Package

pgloader.

Source

api.lisp.

Direct superclasses

error.

Direct slots
Slot: filename-list
Initargs

:filename-list

Condition: regression-test-error
Package

pgloader.

Source

regress.lisp.

Direct superclasses

error.

Direct methods

regression-test-filename.

Direct slots
Slot: filename
Initargs

:filename

Readers

regression-test-filename.

Writers

This slot is read-only.

Condition: source-definition-error
Package

pgloader.

Source

api.lisp.

Direct superclasses

error.

Direct methods

source-definition-error-mesg.

Direct slots
Slot: mesg
Initargs

:mesg

Readers

source-definition-error-mesg.

Writers

This slot is read-only.

Condition: too-many-connections
Package

pgloader.pgsql.

Source

connection.lisp.

Direct superclasses

insufficient-resources.


6.2.7 Structures

Structure: bad-row
Package

pgloader.monitor.

Source

monitor.lisp.

Direct superclasses

structure-object.

Direct slots
Slot: section
Readers

bad-row-section.

Writers

(setf bad-row-section).

Slot: label
Readers

bad-row-label.

Writers

(setf bad-row-label).

Slot: condition
Package

common-lisp.

Readers

bad-row-condition.

Writers

(setf bad-row-condition).

Slot: data
Readers

bad-row-data.

Writers

(setf bad-row-data).

Structure: batch
Package

pgloader.pgcopy.

Source

copy-batch.lisp.

Direct superclasses

structure-object.

Direct slots
Slot: start
Type

fixnum

Initform

(get-internal-real-time)

Readers

batch-start.

Writers

(setf batch-start).

Slot: data
Type

array

Readers

batch-data.

Writers

(setf batch-data).

Slot: count
Package

common-lisp.

Type

fixnum

Initform

0

Readers

batch-count.

Writers

(setf batch-count).

Slot: max-count
Type

fixnum

Initform

0

Readers

batch-max-count.

Writers

(setf batch-max-count).

Slot: bytes
Type

fixnum

Initform

0

Readers

batch-bytes.

Writers

(setf batch-bytes).

Structure: coldef
Package

pgloader.source.sqlite.

Source

sqlite-cast-rules.lisp.

Direct superclasses

structure-object.

Direct methods

cast.

Direct slots
Slot: table-name
Package

pgloader.catalog.

Readers

coldef-table-name.

Writers

(setf coldef-table-name).

Slot: seq
Readers

coldef-seq.

Writers

(setf coldef-seq).

Slot: name
Readers

coldef-name.

Writers

(setf coldef-name).

Slot: dtype
Readers

coldef-dtype.

Writers

(setf coldef-dtype).

Slot: ctype
Readers

coldef-ctype.

Writers

(setf coldef-ctype).

Slot: nullable
Readers

coldef-nullable.

Writers

(setf coldef-nullable).

Slot: default
Readers

coldef-default.

Writers

(setf coldef-default).

Slot: pk-id
Readers

coldef-pk-id.

Writers

(setf coldef-pk-id).

Slot: extra
Readers

coldef-extra.

Writers

(setf coldef-extra).

Structure: db3-coldef
Package

pgloader.source.db3.

Source

db3-cast-rules.lisp.

Direct superclasses

structure-object.

Direct methods

cast.

Direct slots
Slot: name
Readers

db3-coldef-name.

Writers

(setf db3-coldef-name).

Slot: type
Package

common-lisp.

Readers

db3-coldef-type.

Writers

(setf db3-coldef-type).

Slot: length
Package

common-lisp.

Readers

db3-coldef-length.

Writers

(setf db3-coldef-length).

Slot: default
Readers

db3-coldef-default.

Writers

(setf db3-coldef-default).

Slot: nullable
Initform

t

Readers

db3-coldef-nullable.

Writers

(setf db3-coldef-nullable).

Slot: extra
Readers

db3-coldef-extra.

Writers

(setf db3-coldef-extra).

Structure: mssql-column
Package

pgloader.source.mssql.

Source

mssql-cast-rules.lisp.

Direct superclasses

structure-object.

Direct methods
Direct slots
Slot: schema
Package

pgloader.catalog.

Readers

mssql-column-schema.

Writers

(setf mssql-column-schema).

Slot: table-name
Package

pgloader.catalog.

Readers

mssql-column-table-name.

Writers

(setf mssql-column-table-name).

Slot: name
Readers

mssql-column-name.

Writers

(setf mssql-column-name).

Slot: type
Package

common-lisp.

Readers

mssql-column-type.

Writers

(setf mssql-column-type).

Slot: default
Readers

mssql-column-default.

Writers

(setf mssql-column-default).

Slot: nullable
Readers

mssql-column-nullable.

Writers

(setf mssql-column-nullable).

Slot: identity
Package

common-lisp.

Readers

mssql-column-identity.

Writers

(setf mssql-column-identity).

Slot: character-maximum-length
Readers

mssql-column-character-maximum-length.

Writers

(setf mssql-column-character-maximum-length).

Slot: numeric-precision
Readers

mssql-column-numeric-precision.

Writers

(setf mssql-column-numeric-precision).

Slot: numeric-precision-radix
Readers

mssql-column-numeric-precision-radix.

Writers

(setf mssql-column-numeric-precision-radix).

Slot: numeric-scale
Readers

mssql-column-numeric-scale.

Writers

(setf mssql-column-numeric-scale).

Slot: datetime-precision
Readers

mssql-column-datetime-precision.

Writers

(setf mssql-column-datetime-precision).

Slot: character-set-name
Readers

mssql-column-character-set-name.

Writers

(setf mssql-column-character-set-name).

Slot: collation-name
Readers

mssql-column-collation-name.

Writers

(setf mssql-column-collation-name).

Structure: mysql-column
Package

pgloader.source.mysql.

Source

mysql-cast-rules.lisp.

Direct superclasses

structure-object.

Direct methods
Direct slots
Slot: table-name
Package

pgloader.catalog.

Readers

mysql-column-table-name.

Writers

(setf mysql-column-table-name).

Slot: name
Readers

mysql-column-name.

Writers

(setf mysql-column-name).

Slot: dtype
Readers

mysql-column-dtype.

Writers

(setf mysql-column-dtype).

Slot: ctype
Readers

mysql-column-ctype.

Writers

(setf mysql-column-ctype).

Slot: default
Readers

mysql-column-default.

Writers

(setf mysql-column-default).

Slot: nullable
Readers

mysql-column-nullable.

Writers

(setf mysql-column-nullable).

Slot: extra
Readers

mysql-column-extra.

Writers

(setf mysql-column-extra).

Slot: comment
Readers

mysql-column-comment.

Writers

(setf mysql-column-comment).

Structure: params
Package

pgloader.ini.

Source

parse-ini.lisp.

Direct superclasses

structure-object.

Direct methods
Direct slots
Slot: filename
Readers

params-filename.

Writers

(setf params-filename).

Slot: table
Package

pgloader.catalog.

Readers

params-table.

Writers

(setf params-table).

Slot: format
Package

common-lisp.

Readers

params-format.

Writers

(setf params-format).

Slot: is-template
Readers

params-is-template.

Writers

(setf params-is-template).

Slot: use-template
Readers

params-use-template.

Writers

(setf params-use-template).

Slot: fields
Readers

params-fields.

Writers

(setf params-fields).

Slot: columns
Readers

params-columns.

Writers

(setf params-columns).

Slot: truncate
Package

common-lisp.

Readers

params-truncate.

Writers

(setf params-truncate).

Slot: encoding
Readers

params-encoding.

Writers

(setf params-encoding).

Slot: logs
Readers

params-logs.

Writers

(setf params-logs).

Slot: rejects
Readers

params-rejects.

Writers

(setf params-rejects).

Slot: gucs
Readers

params-gucs.

Writers

(setf params-gucs).

Slot: separator
Readers

params-separator.

Writers

(setf params-separator).

Slot: null-as
Readers

params-null-as.

Writers

(setf params-null-as).

Slot: empty-string
Readers

params-empty-string.

Writers

(setf params-empty-string).

Slot: skip-lines
Readers

params-skip-lines.

Writers

(setf params-skip-lines).

Structure: parser
Package

pgloader.sql.

Source

read-sql-files.lisp.

Direct superclasses

structure-object.

Direct methods
Direct slots
Slot: filename
Readers

parser-filename.

Writers

(setf parser-filename).

Slot: stream
Package

common-lisp.

Initform

(make-string-output-stream)

Readers

parser-stream.

Writers

(setf parser-stream).

Slot: state
Initform

:eat

Readers

parser-state.

Writers

(setf parser-state).

Slot: tags
Readers

parser-tags.

Writers

(setf parser-tags).

Structure: pgpass
Package

pgloader.parser.

Source

parse-pgpass.lisp.

Direct superclasses

structure-object.

Direct slots
Slot: hostname
Readers

pgpass-hostname.

Writers

(setf pgpass-hostname).

Slot: port
Readers

pgpass-port.

Writers

(setf pgpass-port).

Slot: database
Readers

pgpass-database.

Writers

(setf pgpass-database).

Slot: username
Readers

pgpass-username.

Writers

(setf pgpass-username).

Slot: password
Readers

pgpass-password.

Writers

(setf pgpass-password).

Structure: pgstate
Package

pgloader.state.

Source

state.lisp.

Direct superclasses

structure-object.

Direct methods
Direct slots
Slot: tables
Initform

(make-hash-table :test (quote equal))

Readers

pgstate-tables.

Writers

(setf pgstate-tables).

Slot: tabnames
Readers

pgstate-tabnames.

Writers

(setf pgstate-tabnames).

Slot: read
Package

common-lisp.

Type

fixnum

Initform

0

Readers

pgstate-read.

Writers

(setf pgstate-read).

Slot: rows
Type

fixnum

Initform

0

Readers

pgstate-rows.

Writers

(setf pgstate-rows).

Slot: errs
Type

fixnum

Initform

0

Readers

pgstate-errs.

Writers

(setf pgstate-errs).

Slot: secs
Type

float

Initform

0.0

Readers

pgstate-secs.

Writers

(setf pgstate-secs).

Slot: rs
Type

float

Initform

0.0

Readers

pgstate-rs.

Writers

(setf pgstate-rs).

Slot: ws
Type

float

Initform

0.0

Readers

pgstate-ws.

Writers

(setf pgstate-ws).

Slot: bytes
Type

fixnum

Initform

0

Readers

pgstate-bytes.

Writers

(setf pgstate-bytes).

Structure: pgtable
Package

pgloader.state.

Source

state.lisp.

Direct superclasses

structure-object.

Direct methods
Direct slots
Slot: name
Readers

pgtable-name.

Writers

(setf pgtable-name).

Slot: read
Package

common-lisp.

Type

fixnum

Initform

0

Readers

pgtable-read.

Writers

(setf pgtable-read).

Slot: rows
Type

fixnum

Initform

0

Readers

pgtable-rows.

Writers

(setf pgtable-rows).

Slot: errs
Type

fixnum

Initform

0

Readers

pgtable-errs.

Writers

(setf pgtable-errs).

Slot: secs
Type

float

Initform

0.0

Readers

pgtable-secs.

Writers

(setf pgtable-secs).

Slot: rs
Type

float

Initform

0.0

Readers

pgtable-rs.

Writers

(setf pgtable-rs).

Slot: ws
Type

float

Initform

0.0

Readers

pgtable-ws.

Writers

(setf pgtable-ws).

Slot: bytes
Type

fixnum

Initform

0

Readers

pgtable-bytes.

Writers

(setf pgtable-bytes).

Slot: start
Type

integer

Initform

0

Readers

pgtable-start.

Writers

(setf pgtable-start).

Slot: stop
Type

integer

Initform

0

Readers

pgtable-stop.

Writers

(setf pgtable-stop).

Slot: reject-data
Readers

pgtable-reject-data.

Writers

(setf pgtable-reject-data).

Slot: reject-logs
Readers

pgtable-reject-logs.

Writers

(setf pgtable-reject-logs).

Structure: print-format
Package

pgloader.state.

Source

pretty-print-state.lisp.

Direct superclasses

structure-object.

Direct subclasses
Structure: print-format-copy
Package

pgloader.state.

Source

pretty-print-state.lisp.

Direct superclasses

print-format-tab.

Direct methods
Structure: print-format-csv
Package

pgloader.state.

Source

pretty-print-state.lisp.

Direct superclasses

print-format-tab.

Direct methods
Structure: print-format-human-readable
Package

pgloader.state.

Source

pretty-print-state.lisp.

Direct superclasses

print-format.

Direct subclasses
Direct methods

pretty-print.

Direct slots
Slot: legend
Type

(or null string)

Readers

pf-legend.

Writers

(setf pf-legend).

Slot: max-label-length
Type

fixnum

Initform

1

Readers

pf-max-label-length.

Writers

(setf pf-max-label-length).

Structure: print-format-json
Package

pgloader.state.

Source

pretty-print-state.lisp.

Direct superclasses

print-format.

Direct methods

pretty-print.

Structure: print-format-tab
Package

pgloader.state.

Source

pretty-print-state.lisp.

Direct superclasses

print-format.

Direct subclasses
Direct methods

pretty-print.

Structure: print-format-text
Package

pgloader.state.

Source

pretty-print-state.lisp.

Direct superclasses

print-format-human-readable.

Direct methods
Structure: print-format-verbose
Package

pgloader.state.

Source

pretty-print-state.lisp.

Direct superclasses

print-format-human-readable.

Direct methods
Structure: start
Package

pgloader.monitor.

Source

monitor.lisp.

Direct superclasses

structure-object.

Direct slots
Slot: start-logger
Readers

start-start-logger.

Writers

(setf start-start-logger).

Structure: state
Package

pgloader.state.

Source

state.lisp.

Direct superclasses

structure-object.

Direct methods
Direct slots
Slot: preload
Type

(or null pgloader.state::pgstate)

Readers

state-preload.

Writers

(setf state-preload).

Slot: data
Type

(or null pgloader.state::pgstate)

Readers

state-data.

Writers

(setf state-data).

Slot: postload
Type

(or null pgloader.state::pgstate)

Readers

state-postload.

Writers

(setf state-postload).

Slot: bytes
Type

fixnum

Initform

0

Readers

state-bytes.

Writers

(setf state-bytes).

Slot: secs
Type

float

Initform

0.0

Readers

state-secs.

Writers

(setf state-secs).

Structure: stop
Package

pgloader.monitor.

Source

monitor.lisp.

Direct superclasses

structure-object.

Direct slots
Slot: stop-logger
Readers

stop-stop-logger.

Writers

(setf stop-stop-logger).


Appendix A Indexes


A.1 Concepts


A.2 Functions

Jump to:   %   (  
A   B   C   D   E   F   G   H   I   L   M   N   O   P   Q   R   S   T   U   V   W   Z  
Index Entry  Section

%
%process-bad-row: Private ordinary functions

(
(setf bad-row-condition): Private ordinary functions
(setf bad-row-data): Private ordinary functions
(setf bad-row-label): Private ordinary functions
(setf bad-row-section): Private ordinary functions
(setf batch-bytes): Private ordinary functions
(setf batch-count): Private ordinary functions
(setf batch-data): Private ordinary functions
(setf batch-max-count): Private ordinary functions
(setf batch-start): Private ordinary functions
(setf catalog-distribution-rules): Public ordinary functions
(setf catalog-name): Public ordinary functions
(setf catalog-schema-list): Public ordinary functions
(setf catalog-types-without-btree): Public ordinary functions
(setf citus-distributed-rule-from): Public ordinary functions
(setf citus-distributed-rule-table): Public ordinary functions
(setf citus-distributed-rule-using): Public ordinary functions
(setf citus-reference-rule-table): Public ordinary functions
(setf citus-rule): Private generic functions
(setf citus-rule): Private generic functions
(setf citus-rule-table-not-found-schema-name): Private generic functions
(setf citus-rule-table-not-found-schema-name): Private generic functions
(setf citus-rule-table-not-found-table-name): Private generic functions
(setf citus-rule-table-not-found-table-name): Private generic functions
(setf coldef-ctype): Private ordinary functions
(setf coldef-default): Private ordinary functions
(setf coldef-dtype): Private ordinary functions
(setf coldef-extra): Private ordinary functions
(setf coldef-name): Private ordinary functions
(setf coldef-nullable): Private ordinary functions
(setf coldef-pk-id): Private ordinary functions
(setf coldef-seq): Private ordinary functions
(setf coldef-table-name): Private ordinary functions
(setf column-comment): Public ordinary functions
(setf column-default): Public ordinary functions
(setf column-extra): Public ordinary functions
(setf column-name): Public ordinary functions
(setf column-nullable): Public ordinary functions
(setf column-table): Private ordinary functions
(setf column-transform): Public ordinary functions
(setf column-transform-default): Public ordinary functions
(setf column-type-mod): Public ordinary functions
(setf column-type-name): Public ordinary functions
(setf columns): Public generic functions
(setf columns): Public generic functions
(setf conn-handle): Public generic functions
(setf conn-handle): Public generic functions
(setf conn-type): Public generic functions
(setf conn-type): Public generic functions
(setf copy-format): Public generic functions
(setf copy-format): Public generic functions
(setf csv-escape): Private generic functions
(setf csv-escape): Private generic functions
(setf csv-escape-mode): Private generic functions
(setf csv-escape-mode): Private generic functions
(setf csv-newline): Private generic functions
(setf csv-newline): Private generic functions
(setf csv-quote): Private generic functions
(setf csv-quote): Private generic functions
(setf csv-separator): Private generic functions
(setf csv-separator): Private generic functions
(setf csv-trim-blanks): Private generic functions
(setf csv-trim-blanks): Private generic functions
(setf db): Private generic functions
(setf db): Private generic functions
(setf db-host): Public generic functions
(setf db-host): Public generic functions
(setf db-name): Public generic functions
(setf db-name): Public generic functions
(setf db-pass): Public generic functions
(setf db-pass): Public generic functions
(setf db-port): Public generic functions
(setf db-port): Public generic functions
(setf db-user): Public generic functions
(setf db-user): Public generic functions
(setf db3-coldef-default): Private ordinary functions
(setf db3-coldef-extra): Private ordinary functions
(setf db3-coldef-length): Private ordinary functions
(setf db3-coldef-name): Private ordinary functions
(setf db3-coldef-nullable): Private ordinary functions
(setf db3-coldef-type): Private ordinary functions
(setf delimiter): Private generic functions
(setf delimiter): Private generic functions
(setf encoding): Public generic functions
(setf encoding): Public generic functions
(setf encoding): Public generic functions
(setf encoding): Public generic functions
(setf encoding): Public generic functions
(setf extension-name): Public ordinary functions
(setf extension-schema): Public ordinary functions
(setf fd-arch): Private generic functions
(setf fd-arch): Private generic functions
(setf fd-db3): Private generic functions
(setf fd-db3): Private generic functions
(setf fd-path): Public generic functions
(setf fd-path): Public generic functions
(setf fd-uri): Private generic functions
(setf fd-uri): Private generic functions
(setf fields): Public generic functions
(setf fields): Public generic functions
(setf fkey-columns): Public ordinary functions
(setf fkey-condef): Public ordinary functions
(setf fkey-deferrable): Public ordinary functions
(setf fkey-delete-rule): Public ordinary functions
(setf fkey-foreign-columns): Public ordinary functions
(setf fkey-foreign-table): Public ordinary functions
(setf fkey-initially-deferred): Public ordinary functions
(setf fkey-match-rule): Public ordinary functions
(setf fkey-name): Public ordinary functions
(setf fkey-oid): Public ordinary functions
(setf fkey-pkey): Private ordinary functions
(setf fkey-table): Public ordinary functions
(setf fkey-update-rule): Public ordinary functions
(setf has-sequences): Private generic functions
(setf has-sequences): Private generic functions
(setf header): Public generic functions
(setf header): Public generic functions
(setf index-columns): Public ordinary functions
(setf index-condef): Public ordinary functions
(setf index-conname): Public ordinary functions
(setf index-filter): Public ordinary functions
(setf index-fk-deps): Public ordinary functions
(setf index-name): Public ordinary functions
(setf index-oid): Public ordinary functions
(setf index-primary): Public ordinary functions
(setf index-schema): Public ordinary functions
(setf index-sql): Public ordinary functions
(setf index-table): Public ordinary functions
(setf index-type): Public ordinary functions
(setf index-unique): Public ordinary functions
(setf log-message-arguments): Private ordinary functions
(setf log-message-category): Private ordinary functions
(setf log-message-description): Private ordinary functions
(setf match-rule-action): Public ordinary functions
(setf match-rule-args): Public ordinary functions
(setf match-rule-rule): Public ordinary functions
(setf match-rule-schema): Public ordinary functions
(setf matview-definition): Public ordinary functions
(setf matview-name): Public ordinary functions
(setf matview-schema): Public ordinary functions
(setf matview-source-name): Public ordinary functions
(setf md-spec): Public generic functions
(setf md-spec): Public generic functions
(setf md-strm): Public generic functions
(setf md-strm): Public generic functions
(setf mssql-column-character-maximum-length): Private ordinary functions
(setf mssql-column-character-set-name): Private ordinary functions
(setf mssql-column-collation-name): Private ordinary functions
(setf mssql-column-datetime-precision): Private ordinary functions
(setf mssql-column-default): Private ordinary functions
(setf mssql-column-identity): Private ordinary functions
(setf mssql-column-name): Private ordinary functions
(setf mssql-column-nullable): Private ordinary functions
(setf mssql-column-numeric-precision): Private ordinary functions
(setf mssql-column-numeric-precision-radix): Private ordinary functions
(setf mssql-column-numeric-scale): Private ordinary functions
(setf mssql-column-schema): Private ordinary functions
(setf mssql-column-table-name): Private ordinary functions
(setf mssql-column-type): Private ordinary functions
(setf myconn-use-ssl): Private generic functions
(setf myconn-use-ssl): Private generic functions
(setf mysql-column-comment): Private ordinary functions
(setf mysql-column-ctype): Private ordinary functions
(setf mysql-column-default): Private ordinary functions
(setf mysql-column-dtype): Private ordinary functions
(setf mysql-column-extra): Private ordinary functions
(setf mysql-column-name): Private ordinary functions
(setf mysql-column-nullable): Private ordinary functions
(setf mysql-column-table-name): Private ordinary functions
(setf new-label-dbname): Private ordinary functions
(setf new-label-label): Private ordinary functions
(setf new-label-section): Private ordinary functions
(setf null-as): Private generic functions
(setf null-as): Private generic functions
(setf params-columns): Private ordinary functions
(setf params-empty-string): Private ordinary functions
(setf params-encoding): Private ordinary functions
(setf params-fields): Private ordinary functions
(setf params-filename): Private ordinary functions
(setf params-format): Private ordinary functions
(setf params-gucs): Private ordinary functions
(setf params-is-template): Private ordinary functions
(setf params-logs): Private ordinary functions
(setf params-null-as): Private ordinary functions
(setf params-rejects): Private ordinary functions
(setf params-separator): Private ordinary functions
(setf params-skip-lines): Private ordinary functions
(setf params-table): Private ordinary functions
(setf params-truncate): Private ordinary functions
(setf params-use-template): Private ordinary functions
(setf parser-filename): Private ordinary functions
(setf parser-state): Private ordinary functions
(setf parser-stream): Private ordinary functions
(setf parser-tags): Private ordinary functions
(setf pf-legend): Private ordinary functions
(setf pf-max-label-length): Private ordinary functions
(setf pgconn-major-version): Public generic functions
(setf pgconn-major-version): Public generic functions
(setf pgconn-table-name): Public generic functions
(setf pgconn-table-name): Public generic functions
(setf pgconn-use-ssl): Public generic functions
(setf pgconn-use-ssl): Public generic functions
(setf pgconn-variant): Public generic functions
(setf pgconn-variant): Public generic functions
(setf pgconn-version-string): Public generic functions
(setf pgconn-version-string): Public generic functions
(setf pgpass-database): Private ordinary functions
(setf pgpass-hostname): Private ordinary functions
(setf pgpass-password): Private ordinary functions
(setf pgpass-port): Private ordinary functions
(setf pgpass-username): Private ordinary functions
(setf pgstate-bytes): Private ordinary functions
(setf pgstate-errs): Public ordinary functions
(setf pgstate-read): Public ordinary functions
(setf pgstate-rows): Public ordinary functions
(setf pgstate-rs): Private ordinary functions
(setf pgstate-secs): Public ordinary functions
(setf pgstate-tables): Public ordinary functions
(setf pgstate-tabnames): Public ordinary functions
(setf pgstate-ws): Private ordinary functions
(setf pgtable-bytes): Public ordinary functions
(setf pgtable-errs): Private ordinary functions
(setf pgtable-name): Private ordinary functions
(setf pgtable-read): Private ordinary functions
(setf pgtable-reject-data): Public ordinary functions
(setf pgtable-reject-logs): Public ordinary functions
(setf pgtable-rows): Public ordinary functions
(setf pgtable-rs): Private ordinary functions
(setf pgtable-secs): Public ordinary functions
(setf pgtable-start): Public ordinary functions
(setf pgtable-stop): Public ordinary functions
(setf pgtable-ws): Private ordinary functions
(setf preprocessor): Public generic functions
(setf preprocessor): Public generic functions
(setf print-format-text-legend): Private ordinary functions
(setf print-format-text-max-label-length): Private ordinary functions
(setf print-format-verbose-legend): Private ordinary functions
(setf print-format-verbose-max-label-length): Private ordinary functions
(setf procedure-body): Public ordinary functions
(setf procedure-language): Public ordinary functions
(setf procedure-name): Public ordinary functions
(setf procedure-returns): Public ordinary functions
(setf procedure-schema): Public ordinary functions
(setf range-list): Private generic functions
(setf range-list): Private generic functions
(setf regex-match-rule-target): Public ordinary functions
(setf report-summary-reset): Private ordinary functions
(setf schema-catalog): Public ordinary functions
(setf schema-extension-list): Public ordinary functions
(setf schema-in-search-path): Public ordinary functions
(setf schema-matview-list): Private ordinary functions
(setf schema-name): Public ordinary functions
(setf schema-source-name): Public ordinary functions
(setf schema-sqltype-list): Public ordinary functions
(setf schema-table-list): Public ordinary functions
(setf schema-view-list): Public ordinary functions
(setf skip-lines): Public generic functions
(setf skip-lines): Public generic functions
(setf source): Public generic functions
(setf source): Public generic functions
(setf source-db): Public generic functions
(setf source-db): Public generic functions
(setf source-type): Private generic functions
(setf source-type): Private generic functions
(setf sqltype-extension): Public ordinary functions
(setf sqltype-extra): Public ordinary functions
(setf sqltype-name): Public ordinary functions
(setf sqltype-schema): Public ordinary functions
(setf sqltype-source-def): Public ordinary functions
(setf sqltype-type): Public ordinary functions
(setf start-start-logger): Private ordinary functions
(setf state-bytes): Private ordinary functions
(setf state-data): Public ordinary functions
(setf state-postload): Public ordinary functions
(setf state-preload): Public ordinary functions
(setf state-secs): Public ordinary functions
(setf stop-stop-logger): Private ordinary functions
(setf string-match-rule-target): Public ordinary functions
(setf table-citus-rule): Public ordinary functions
(setf table-column-list): Public ordinary functions
(setf table-comment): Public ordinary functions
(setf table-field-list): Public ordinary functions
(setf table-fkey-list): Public ordinary functions
(setf table-index-list): Public ordinary functions
(setf table-name): Public ordinary functions
(setf table-oid): Public ordinary functions
(setf table-row-count-estimate): Public ordinary functions
(setf table-schema): Public ordinary functions
(setf table-source-name): Public ordinary functions
(setf table-storage-parameter-list): Public ordinary functions
(setf table-tablespace): Public ordinary functions
(setf table-trigger-list): Public ordinary functions
(setf target): Public generic functions
(setf target): Public generic functions
(setf target-db): Public generic functions
(setf target-db): Public generic functions
(setf timezone): Private generic functions
(setf timezone): Private generic functions
(setf transforms): Public generic functions
(setf transforms): Public generic functions
(setf trigger-action): Public ordinary functions
(setf trigger-name): Public ordinary functions
(setf trigger-procedure): Public ordinary functions
(setf trigger-table): Public ordinary functions
(setf update-stats-bytes): Private ordinary functions
(setf update-stats-errs): Private ordinary functions
(setf update-stats-label): Private ordinary functions
(setf update-stats-read): Private ordinary functions
(setf update-stats-rows): Private ordinary functions
(setf update-stats-rs): Private ordinary functions
(setf update-stats-secs): Private ordinary functions
(setf update-stats-section): Private ordinary functions
(setf update-stats-start): Private ordinary functions
(setf update-stats-stop): Private ordinary functions
(setf update-stats-ws): Private ordinary functions

A
add-column: Public generic functions
add-column: Public generic functions
add-column: Public generic functions
add-column-to-pkey: Private ordinary functions
add-comment: Private generic functions
add-extension: Public generic functions
add-extension: Public generic functions
add-field: Public generic functions
add-field: Public generic functions
add-fkey: Public generic functions
add-fkey: Public generic functions
add-index: Public generic functions
add-index: Public generic functions
add-row-to-current-batch: Private ordinary functions
add-schema: Public generic functions
add-schema: Public generic functions
add-sqltype: Public generic functions
add-sqltype: Public generic functions
add-table: Public generic functions
add-table: Public generic functions
add-to-search-path: Public ordinary functions
add-unlisted-primary-key-index: Private ordinary functions
add-view: Public generic functions
add-view: Public generic functions
adjust-data-types: Public generic functions
adjust-data-types: Public generic functions
adjust-data-types: Public generic functions
alter-schema: Public generic functions
alter-schema: Public generic functions
alter-schema: Public generic functions
alter-schema-rename: Private ordinary functions
alter-table: Public generic functions
alter-table: Public generic functions
alter-table: Public generic functions
alter-table: Public generic functions
alter-table-rename: Private ordinary functions
alter-table-set-schema: Private ordinary functions
alter-table-set-storage-parameters: Private ordinary functions
alter-table-set-tablespace: Private ordinary functions
apply-casting-rules: Public ordinary functions
apply-citus-rule: Private generic functions
apply-citus-rule: Private generic functions
apply-citus-rule: Private generic functions
apply-decoding-as-filters: Private ordinary functions
apply-identifier-case: Public ordinary functions
apply-template: Private ordinary functions
apply-transforms: Private ordinary functions
archive-type: Private ordinary functions
archivep: Public ordinary functions
arr-to-bytes-rev: Private macros
as-copy-utf-8-bytes: Private macros

B
bad-row-condition: Private ordinary functions
bad-row-data: Private ordinary functions
bad-row-label: Private ordinary functions
bad-row-p: Private ordinary functions
bad-row-section: Private ordinary functions
base64-decode: Private ordinary functions
batch-as-single-vector: Private ordinary functions
batch-bytes: Private ordinary functions
batch-control-bindings: Private ordinary functions
batch-count: Private ordinary functions
batch-data: Private ordinary functions
batch-full-p: Private ordinary functions
batch-max-count: Private ordinary functions
batch-oversized-p: Private ordinary functions
batch-p: Private ordinary functions
batch-rows-to-copy: Private ordinary functions
batch-rows-to-s3-then-copy: Private ordinary functions
batch-start: Private ordinary functions
bits-to-boolean: Private ordinary functions
bits-to-hex-bitstring: Private ordinary functions
build-format-spec: Private ordinary functions
build-identifier: Public ordinary functions
build-trigger: Private ordinary functions
byte-vector-to-bytea: Private ordinary functions
byte-vector-to-hexstring: Private ordinary functions

C
call-with-encoding-handler: Private ordinary functions
call-with-monitor: Private ordinary functions
camelcase-to-colname: Public ordinary functions
cast: Public generic functions
cast: Public generic functions
cast: Public generic functions
cast: Public generic functions
cast: Public generic functions
cast: Public generic functions
cast: Public generic functions
cast: Public generic functions
cast: Public generic functions
cast: Public generic functions
cast-ixf-type: Private ordinary functions
cast-rule-matches: Private ordinary functions
catalog-distribution-rules: Public ordinary functions
catalog-name: Public ordinary functions
catalog-p: Private ordinary functions
catalog-schema-list: Public ordinary functions
catalog-types-without-btree: Public ordinary functions
check-connection: Public generic functions
check-connection: Public generic functions
check-connection: Public generic functions
check-table-columns: Private ordinary functions
citus-backfill-table-p: Public ordinary functions
citus-distribute-schema: Public ordinary functions
citus-distributed-rule-from: Public ordinary functions
citus-distributed-rule-p: Public ordinary functions
citus-distributed-rule-table: Public ordinary functions
citus-distributed-rule-using: Public ordinary functions
citus-find-table: Private ordinary functions
citus-format-sql-select: Public ordinary functions
citus-reference-rule-p: Public ordinary functions
citus-reference-rule-table: Public ordinary functions
citus-rule: Private generic functions
citus-rule: Private generic functions
citus-rule-table: Private generic functions
citus-rule-table: Private generic functions
citus-rule-table: Private generic functions
citus-rule-table-not-found-schema-name: Private generic functions
citus-rule-table-not-found-schema-name: Private generic functions
citus-rule-table-not-found-table-name: Private generic functions
citus-rule-table-not-found-table-name: Private generic functions
citus-set-table: Private generic functions
citus-set-table: Private generic functions
citus-set-table: Private generic functions
cleanup: Public generic functions
cleanup: Public generic functions
cleanup: Public generic functions
cleanup: Public generic functions
cleanup: Public generic functions
cleanup-default-value: Private ordinary functions
clone-connection: Public generic functions
clone-connection: Public generic functions
clone-connection: Public generic functions
clone-connection: Public generic functions
clone-connection: Public generic functions
clone-connection: Public generic functions
clone-connection: Public generic functions
clone-connection: Public generic functions
clone-connection: Public generic functions
clone-copy-for: Public generic functions
clone-copy-for: Public generic functions
clone-copy-for: Public generic functions
clone-copy-for: Public generic functions
clone-copy-for: Public generic functions
close-connection: Public generic functions
close-connection: Public generic functions
close-connection: Public generic functions
close-connection: Public generic functions
close-connection: Public generic functions
close-connection: Public generic functions
close-connection: Public generic functions
close-connection: Public generic functions
col-null-p: Private ordinary functions
coldef-ctype: Private ordinary functions
coldef-default: Private ordinary functions
coldef-dtype: Private ordinary functions
coldef-extra: Private ordinary functions
coldef-name: Private ordinary functions
coldef-nullable: Private ordinary functions
coldef-p: Private ordinary functions
coldef-pk-id: Private ordinary functions
coldef-seq: Private ordinary functions
coldef-table-name: Private ordinary functions
column-comment: Public ordinary functions
column-default: Public ordinary functions
column-extra: Public ordinary functions
column-name: Public ordinary functions
column-nullable: Public ordinary functions
column-p: Private ordinary functions
column-table: Private ordinary functions
column-transform: Public ordinary functions
column-transform-default: Public ordinary functions
column-type-mod: Public ordinary functions
column-type-name: Public ordinary functions
columns: Public generic functions
columns: Public generic functions
comment-on-tables-and-columns: Public ordinary functions
compile-lisp-command: Private ordinary functions
complete-pgsql-database: Public generic functions
complete-pgsql-database: Public generic functions
compute-columns: Private ordinary functions
compute-foreign-rules: Private generic functions
compute-foreign-rules: Private generic functions
compute-foreign-rules: Private generic functions
concurrency-support: Public generic functions
concurrency-support: Public generic functions
conn-handle: Public generic functions
conn-handle: Public generic functions
conn-type: Public generic functions
conn-type: Public generic functions
connection-error-host: Private generic functions
connection-error-host: Private generic functions
connection-error-mesg: Private generic functions
connection-error-mesg: Private generic functions
connection-error-path: Private generic functions
connection-error-path: Private generic functions
connection-error-port: Private generic functions
connection-error-port: Private generic functions
connection-error-type: Private generic functions
connection-error-type: Private generic functions
connection-error-user: Private generic functions
connection-error-user: Private generic functions
context-get-from-environment: Private ordinary functions
convert-ini-into-commands: Public ordinary functions
convert-ini-into-files: Public ordinary functions
convert-mysql-linestring: Private ordinary functions
convert-mysql-point: Private ordinary functions
copy-bad-row: Private ordinary functions
copy-batch: Private ordinary functions
copy-catalog: Private ordinary functions
copy-citus-distributed-rule: Private ordinary functions
copy-citus-reference-rule: Private ordinary functions
copy-coldef: Private ordinary functions
copy-column: Private ordinary functions
copy-column-list: Public generic functions
copy-column-list: Public generic functions
copy-column-list: Public generic functions
copy-column-list: Public generic functions
copy-column-list: Public generic functions
copy-column-list: Public generic functions
copy-column-list: Public generic functions
copy-database: Public generic functions
copy-database: Public generic functions
copy-database: Public generic functions
copy-db3-coldef: Private ordinary functions
copy-extension: Private ordinary functions
copy-fkey: Private ordinary functions
copy-format: Public generic functions
copy-format: Public generic functions
copy-from: Public generic functions
copy-from: Public generic functions
copy-index: Private ordinary functions
copy-init-error-columns: Private generic functions
copy-init-error-columns: Private generic functions
copy-init-error-condition: Private generic functions
copy-init-error-condition: Private generic functions
copy-init-error-table: Private generic functions
copy-init-error-table: Private generic functions
copy-log-message: Private ordinary functions
copy-match-rule: Private ordinary functions
copy-matview: Private ordinary functions
copy-mssql-column: Private ordinary functions
copy-mysql-column: Private ordinary functions
copy-new-label: Private ordinary functions
copy-params: Private ordinary functions
copy-parser: Private ordinary functions
copy-partial-batch: Private ordinary functions
copy-pgpass: Private ordinary functions
copy-pgstate: Private ordinary functions
copy-pgtable: Private ordinary functions
copy-print-format: Private ordinary functions
copy-print-format-copy: Private ordinary functions
copy-print-format-csv: Private ordinary functions
copy-print-format-human-readable: Private ordinary functions
copy-print-format-json: Private ordinary functions
copy-print-format-tab: Private ordinary functions
copy-print-format-text: Private ordinary functions
copy-print-format-verbose: Private ordinary functions
copy-procedure: Private ordinary functions
copy-regex-match-rule: Private ordinary functions
copy-report-summary: Private ordinary functions
copy-rows-from-queue: Public ordinary functions
copy-schema: Private ordinary functions
copy-sqltype: Private ordinary functions
copy-start: Private ordinary functions
copy-state: Private ordinary functions
copy-stop: Private ordinary functions
copy-string-match-rule: Private ordinary functions
copy-table: Private ordinary functions
copy-to: Public generic functions
copy-to: Public generic functions
copy-trigger: Private ordinary functions
copy-update-stats: Private ordinary functions
copy-utf-8-byte-length: Private ordinary functions
count-fkeys: Public generic functions
count-fkeys: Public generic functions
count-fkeys: Public generic functions
count-fkeys: Public generic functions
count-indexes: Public generic functions
count-indexes: Public generic functions
count-indexes: Public generic functions
count-indexes: Public generic functions
count-tables: Public generic functions
count-tables: Public generic functions
count-tables: Public generic functions
count-views: Public generic functions
count-views: Public generic functions
count-views: Public generic functions
create-distributed-table: Public ordinary functions
create-extensions: Public ordinary functions
create-indexes-again: Public ordinary functions
create-indexes-in-kernel: Public ordinary functions
create-matviews: Public generic functions
create-matviews: Public generic functions
create-pgsql-fkeys: Public ordinary functions
create-schemas: Public ordinary functions
create-sqltypes: Public ordinary functions
create-state: Public ordinary functions
create-table: Public ordinary functions
create-table-from-dsn-table-name: Private ordinary functions
create-table-list: Private ordinary functions
create-table-sql-list: Private ordinary functions
create-tables: Public ordinary functions
create-triggers: Public ordinary functions
create-views: Public ordinary functions
csv-escape: Private generic functions
csv-escape: Private generic functions
csv-escape-mode: Private generic functions
csv-escape-mode: Private generic functions
csv-newline: Private generic functions
csv-newline: Private generic functions
csv-quote: Private generic functions
csv-quote: Private generic functions
csv-separator: Private generic functions
csv-separator: Private generic functions
csv-trim-blanks: Private generic functions
csv-trim-blanks: Private generic functions
ctype-to-dtype: Private ordinary functions

D
data-is-preformatted-p: Public generic functions
data-is-preformatted-p: Public generic functions
data-is-preformatted-p: Public generic functions
date-with-no-separator: Private ordinary functions
db: Private generic functions
db: Private generic functions
db-host: Public generic functions
db-host: Public generic functions
db-name: Public generic functions
db-name: Public generic functions
db-pass: Public generic functions
db-pass: Public generic functions
db-port: Public generic functions
db-port: Public generic functions
db-user: Public generic functions
db-user: Public generic functions
db-write-batch: Private ordinary functions
db-write-escaped-vector-row: Private ordinary functions
db-write-row: Private ordinary functions
db-write-vector-row: Private ordinary functions
db3-coldef-default: Private ordinary functions
db3-coldef-extra: Private ordinary functions
db3-coldef-length: Private ordinary functions
db3-coldef-name: Private ordinary functions
db3-coldef-nullable: Private ordinary functions
db3-coldef-p: Private ordinary functions
db3-coldef-type: Private ordinary functions
db3-date-to-pgsql-date: Private ordinary functions
db3-numeric-to-pgsql-integer: Private ordinary functions
db3-numeric-to-pgsql-numeric: Private ordinary functions
db3-trim-string: Private ordinary functions
def-keyword-rule: Private macros
define-yason-encoder: Private macros
delimiter: Private generic functions
delimiter: Private generic functions
disable-triggers: Private ordinary functions
distribute: Public ordinary functions
drop-indexes: Public ordinary functions
drop-matviews: Public generic functions
drop-matviews: Public generic functions
drop-pgsql-fkeys: Public ordinary functions
dumb-down-data-types-for-redshift: Private generic functions
dumb-down-data-types-for-redshift: Private generic functions
dumb-down-data-types-for-redshift: Private generic functions
dumb-down-data-types-for-redshift: Private generic functions
dumb-down-data-types-for-redshift: Private generic functions

E
elapsed-time-since: Public ordinary functions
empty-string-to-null: Private ordinary functions
enable-triggers: Private ordinary functions
encode: Public standalone methods
encode: Public standalone methods
encode: Public standalone methods
encode: Public standalone methods
encoding: Public generic functions
encoding: Public generic functions
encoding: Public generic functions
encoding: Public generic functions
encoding: Public generic functions
ensure-parse-integer: Private ordinary functions
ensure-quoted: Public ordinary functions
ensure-unquoted: Public ordinary functions
enum-or-set-name: Private ordinary functions
execute-sql-code-block: Public ordinary functions
expand: Public generic functions
expand: Public generic functions
expand: Public generic functions
expand-archive: Public ordinary functions
expand-spec: Public generic functions
expand-spec: Public generic functions
expand-user-homedir-pathname: Public ordinary functions
explode-mysql-enum: Private ordinary functions
extend-current-tag: Private generic functions
extend-current-tag: Private generic functions
extension-list: Public generic functions
extension-list: Public generic functions
extension-list: Public generic functions
extension-name: Public ordinary functions
extension-p: Private ordinary functions
extension-schema: Public ordinary functions

F
fd-arch: Private generic functions
fd-arch: Private generic functions
fd-db3: Private generic functions
fd-db3: Private generic functions
fd-path: Public generic functions
fd-path: Public generic functions
fd-uri: Private generic functions
fd-uri: Private generic functions
fetch-columns: Public generic functions
fetch-columns: Public generic functions
fetch-columns: Public generic functions
fetch-columns: Public generic functions
fetch-columns: Public generic functions
fetch-columns: Public generic functions
fetch-comments: Public generic functions
fetch-file: Public generic functions
fetch-file: Public generic functions
fetch-file: Public generic functions
fetch-foreign-keys: Public generic functions
fetch-foreign-keys: Public generic functions
fetch-foreign-keys: Public generic functions
fetch-foreign-keys: Public generic functions
fetch-indexes: Public generic functions
fetch-indexes: Public generic functions
fetch-indexes: Public generic functions
fetch-indexes: Public generic functions
fetch-metadata: Public generic functions
fetch-metadata: Public generic functions
fetch-metadata: Public generic functions
fetch-metadata: Public generic functions
fetch-metadata: Public generic functions
fetch-metadata: Public generic functions
fetch-metadata: Public generic functions
fetch-pgsql-catalog: Public ordinary functions
fetch-table-row-count: Private generic functions
fetch-table-row-count: Private generic functions
fetch-table-row-count: Private generic functions
field-name: Public generic functions
field-name: Public generic functions
field-name: Public generic functions
field-name: Public generic functions
fields: Public generic functions
fields: Public generic functions
filename-character-p: Private ordinary functions
filter-directory: Private ordinary functions
filter-list-to-where-clause: Public generic functions
filter-list-to-where-clause: Public generic functions
filter-list-to-where-clause: Public generic functions
filter-list-to-where-clause: Public generic functions
filter-list-to-where-clause: Private ordinary functions
finalize-catalogs: Public ordinary functions
find-auto-increment-in-create-sql: Private ordinary functions
find-encoding-by-name-or-alias: Private ordinary functions
find-extension: Public generic functions
find-extension: Public generic functions
find-fkey: Public generic functions
find-fkey: Public generic functions
find-index: Public generic functions
find-index: Public generic functions
find-schema: Public generic functions
find-schema: Public generic functions
find-sequence: Private ordinary functions
find-table: Public generic functions
find-table: Public generic functions
find-view: Public generic functions
find-view: Public generic functions
fix-target-type: Private ordinary functions
fkey-columns: Public ordinary functions
fkey-condef: Public ordinary functions
fkey-deferrable: Public ordinary functions
fkey-delete-rule: Public ordinary functions
fkey-foreign-columns: Public ordinary functions
fkey-foreign-table: Public ordinary functions
fkey-initially-deferred: Public ordinary functions
fkey-match-rule: Public ordinary functions
fkey-name: Public ordinary functions
fkey-oid: Public ordinary functions
fkey-p: Private ordinary functions
fkey-pkey: Private ordinary functions
fkey-table: Public ordinary functions
fkey-update-rule: Public ordinary functions
flatten-option-list: Private ordinary functions
float-to-string: Private ordinary functions
flush-summary: Public ordinary functions
format-citus-join-clause: Private ordinary functions
format-create-sql: Public generic functions
format-create-sql: Public generic functions
format-create-sql: Public generic functions
format-create-sql: Public generic functions
format-create-sql: Public generic functions
format-create-sql: Public generic functions
format-create-sql: Public generic functions
format-create-sql: Public generic functions
format-create-sql: Public generic functions
format-create-sql: Public generic functions
format-create-sql: Public generic functions
format-create-sql: Public generic functions
format-current-tag: Private generic functions
format-current-tag: Private generic functions
format-default-value: Public generic functions
format-default-value: Public generic functions
format-drop-sql: Public generic functions
format-drop-sql: Public generic functions
format-drop-sql: Public generic functions
format-drop-sql: Public generic functions
format-drop-sql: Public generic functions
format-drop-sql: Public generic functions
format-drop-sql: Public generic functions
format-drop-sql: Public generic functions
format-drop-sql: Public generic functions
format-escaped-vector-row: Private ordinary functions
format-interval: Private ordinary functions
format-interval-guess: Private ordinary functions
format-matview-name: Public generic functions
format-matview-name: Public generic functions
format-row-in-batch: Private ordinary functions
format-table-name: Public generic functions
format-table-name: Public generic functions
format-table-name-as-including-exp: Private ordinary functions
format-vector-row: Public ordinary functions
fraction-to-nsecs: Private ordinary functions
Function, %process-bad-row: Private ordinary functions
Function, (setf bad-row-condition): Private ordinary functions
Function, (setf bad-row-data): Private ordinary functions
Function, (setf bad-row-label): Private ordinary functions
Function, (setf bad-row-section): Private ordinary functions
Function, (setf batch-bytes): Private ordinary functions
Function, (setf batch-count): Private ordinary functions
Function, (setf batch-data): Private ordinary functions
Function, (setf batch-max-count): Private ordinary functions
Function, (setf batch-start): Private ordinary functions
Function, (setf catalog-distribution-rules): Public ordinary functions
Function, (setf catalog-name): Public ordinary functions
Function, (setf catalog-schema-list): Public ordinary functions
Function, (setf catalog-types-without-btree): Public ordinary functions
Function, (setf citus-distributed-rule-from): Public ordinary functions
Function, (setf citus-distributed-rule-table): Public ordinary functions
Function, (setf citus-distributed-rule-using): Public ordinary functions
Function, (setf citus-reference-rule-table): Public ordinary functions
Function, (setf coldef-ctype): Private ordinary functions
Function, (setf coldef-default): Private ordinary functions
Function, (setf coldef-dtype): Private ordinary functions
Function, (setf coldef-extra): Private ordinary functions
Function, (setf coldef-name): Private ordinary functions
Function, (setf coldef-nullable): Private ordinary functions
Function, (setf coldef-pk-id): Private ordinary functions
Function, (setf coldef-seq): Private ordinary functions
Function, (setf coldef-table-name): Private ordinary functions
Function, (setf column-comment): Public ordinary functions
Function, (setf column-default): Public ordinary functions
Function, (setf column-extra): Public ordinary functions
Function, (setf column-name): Public ordinary functions
Function, (setf column-nullable): Public ordinary functions
Function, (setf column-table): Private ordinary functions
Function, (setf column-transform): Public ordinary functions
Function, (setf column-transform-default): Public ordinary functions
Function, (setf column-type-mod): Public ordinary functions
Function, (setf column-type-name): Public ordinary functions
Function, (setf db3-coldef-default): Private ordinary functions
Function, (setf db3-coldef-extra): Private ordinary functions
Function, (setf db3-coldef-length): Private ordinary functions
Function, (setf db3-coldef-name): Private ordinary functions
Function, (setf db3-coldef-nullable): Private ordinary functions
Function, (setf db3-coldef-type): Private ordinary functions
Function, (setf extension-name): Public ordinary functions
Function, (setf extension-schema): Public ordinary functions
Function, (setf fkey-columns): Public ordinary functions
Function, (setf fkey-condef): Public ordinary functions
Function, (setf fkey-deferrable): Public ordinary functions
Function, (setf fkey-delete-rule): Public ordinary functions
Function, (setf fkey-foreign-columns): Public ordinary functions
Function, (setf fkey-foreign-table): Public ordinary functions
Function, (setf fkey-initially-deferred): Public ordinary functions
Function, (setf fkey-match-rule): Public ordinary functions
Function, (setf fkey-name): Public ordinary functions
Function, (setf fkey-oid): Public ordinary functions
Function, (setf fkey-pkey): Private ordinary functions
Function, (setf fkey-table): Public ordinary functions
Function, (setf fkey-update-rule): Public ordinary functions
Function, (setf index-columns): Public ordinary functions
Function, (setf index-condef): Public ordinary functions
Function, (setf index-conname): Public ordinary functions
Function, (setf index-filter): Public ordinary functions
Function, (setf index-fk-deps): Public ordinary functions
Function, (setf index-name): Public ordinary functions
Function, (setf index-oid): Public ordinary functions
Function, (setf index-primary): Public ordinary functions
Function, (setf index-schema): Public ordinary functions
Function, (setf index-sql): Public ordinary functions
Function, (setf index-table): Public ordinary functions
Function, (setf index-type): Public ordinary functions
Function, (setf index-unique): Public ordinary functions
Function, (setf log-message-arguments): Private ordinary functions
Function, (setf log-message-category): Private ordinary functions
Function, (setf log-message-description): Private ordinary functions
Function, (setf match-rule-action): Public ordinary functions
Function, (setf match-rule-args): Public ordinary functions
Function, (setf match-rule-rule): Public ordinary functions
Function, (setf match-rule-schema): Public ordinary functions
Function, (setf matview-definition): Public ordinary functions
Function, (setf matview-name): Public ordinary functions
Function, (setf matview-schema): Public ordinary functions
Function, (setf matview-source-name): Public ordinary functions
Function, (setf mssql-column-character-maximum-length): Private ordinary functions
Function, (setf mssql-column-character-set-name): Private ordinary functions
Function, (setf mssql-column-collation-name): Private ordinary functions
Function, (setf mssql-column-datetime-precision): Private ordinary functions
Function, (setf mssql-column-default): Private ordinary functions
Function, (setf mssql-column-identity): Private ordinary functions
Function, (setf mssql-column-name): Private ordinary functions
Function, (setf mssql-column-nullable): Private ordinary functions
Function, (setf mssql-column-numeric-precision): Private ordinary functions
Function, (setf mssql-column-numeric-precision-radix): Private ordinary functions
Function, (setf mssql-column-numeric-scale): Private ordinary functions
Function, (setf mssql-column-schema): Private ordinary functions
Function, (setf mssql-column-table-name): Private ordinary functions
Function, (setf mssql-column-type): Private ordinary functions
Function, (setf mysql-column-comment): Private ordinary functions
Function, (setf mysql-column-ctype): Private ordinary functions
Function, (setf mysql-column-default): Private ordinary functions
Function, (setf mysql-column-dtype): Private ordinary functions
Function, (setf mysql-column-extra): Private ordinary functions
Function, (setf mysql-column-name): Private ordinary functions
Function, (setf mysql-column-nullable): Private ordinary functions
Function, (setf mysql-column-table-name): Private ordinary functions
Function, (setf new-label-dbname): Private ordinary functions
Function, (setf new-label-label): Private ordinary functions
Function, (setf new-label-section): Private ordinary functions
Function, (setf params-columns): Private ordinary functions
Function, (setf params-empty-string): Private ordinary functions
Function, (setf params-encoding): Private ordinary functions
Function, (setf params-fields): Private ordinary functions
Function, (setf params-filename): Private ordinary functions
Function, (setf params-format): Private ordinary functions
Function, (setf params-gucs): Private ordinary functions
Function, (setf params-is-template): Private ordinary functions
Function, (setf params-logs): Private ordinary functions
Function, (setf params-null-as): Private ordinary functions
Function, (setf params-rejects): Private ordinary functions
Function, (setf params-separator): Private ordinary functions
Function, (setf params-skip-lines): Private ordinary functions
Function, (setf params-table): Private ordinary functions
Function, (setf params-truncate): Private ordinary functions
Function, (setf params-use-template): Private ordinary functions
Function, (setf parser-filename): Private ordinary functions
Function, (setf parser-state): Private ordinary functions
Function, (setf parser-stream): Private ordinary functions
Function, (setf parser-tags): Private ordinary functions
Function, (setf pf-legend): Private ordinary functions
Function, (setf pf-max-label-length): Private ordinary functions
Function, (setf pgpass-database): Private ordinary functions
Function, (setf pgpass-hostname): Private ordinary functions
Function, (setf pgpass-password): Private ordinary functions
Function, (setf pgpass-port): Private ordinary functions
Function, (setf pgpass-username): Private ordinary functions
Function, (setf pgstate-bytes): Private ordinary functions
Function, (setf pgstate-errs): Public ordinary functions
Function, (setf pgstate-read): Public ordinary functions
Function, (setf pgstate-rows): Public ordinary functions
Function, (setf pgstate-rs): Private ordinary functions
Function, (setf pgstate-secs): Public ordinary functions
Function, (setf pgstate-tables): Public ordinary functions
Function, (setf pgstate-tabnames): Public ordinary functions
Function, (setf pgstate-ws): Private ordinary functions
Function, (setf pgtable-bytes): Public ordinary functions
Function, (setf pgtable-errs): Private ordinary functions
Function, (setf pgtable-name): Private ordinary functions
Function, (setf pgtable-read): Private ordinary functions
Function, (setf pgtable-reject-data): Public ordinary functions
Function, (setf pgtable-reject-logs): Public ordinary functions
Function, (setf pgtable-rows): Public ordinary functions
Function, (setf pgtable-rs): Private ordinary functions
Function, (setf pgtable-secs): Public ordinary functions
Function, (setf pgtable-start): Public ordinary functions
Function, (setf pgtable-stop): Public ordinary functions
Function, (setf pgtable-ws): Private ordinary functions
Function, (setf print-format-text-legend): Private ordinary functions
Function, (setf print-format-text-max-label-length): Private ordinary functions
Function, (setf print-format-verbose-legend): Private ordinary functions
Function, (setf print-format-verbose-max-label-length): Private ordinary functions
Function, (setf procedure-body): Public ordinary functions
Function, (setf procedure-language): Public ordinary functions
Function, (setf procedure-name): Public ordinary functions
Function, (setf procedure-returns): Public ordinary functions
Function, (setf procedure-schema): Public ordinary functions
Function, (setf regex-match-rule-target): Public ordinary functions
Function, (setf report-summary-reset): Private ordinary functions
Function, (setf schema-catalog): Public ordinary functions
Function, (setf schema-extension-list): Public ordinary functions
Function, (setf schema-in-search-path): Public ordinary functions
Function, (setf schema-matview-list): Private ordinary functions
Function, (setf schema-name): Public ordinary functions
Function, (setf schema-source-name): Public ordinary functions
Function, (setf schema-sqltype-list): Public ordinary functions
Function, (setf schema-table-list): Public ordinary functions
Function, (setf schema-view-list): Public ordinary functions
Function, (setf sqltype-extension): Public ordinary functions
Function, (setf sqltype-extra): Public ordinary functions
Function, (setf sqltype-name): Public ordinary functions
Function, (setf sqltype-schema): Public ordinary functions
Function, (setf sqltype-source-def): Public ordinary functions
Function, (setf sqltype-type): Public ordinary functions
Function, (setf start-start-logger): Private ordinary functions
Function, (setf state-bytes): Private ordinary functions
Function, (setf state-data): Public ordinary functions
Function, (setf state-postload): Public ordinary functions
Function, (setf state-preload): Public ordinary functions
Function, (setf state-secs): Public ordinary functions
Function, (setf stop-stop-logger): Private ordinary functions
Function, (setf string-match-rule-target): Public ordinary functions
Function, (setf table-citus-rule): Public ordinary functions
Function, (setf table-column-list): Public ordinary functions
Function, (setf table-comment): Public ordinary functions
Function, (setf table-field-list): Public ordinary functions
Function, (setf table-fkey-list): Public ordinary functions
Function, (setf table-index-list): Public ordinary functions
Function, (setf table-name): Public ordinary functions
Function, (setf table-oid): Public ordinary functions
Function, (setf table-row-count-estimate): Public ordinary functions
Function, (setf table-schema): Public ordinary functions
Function, (setf table-source-name): Public ordinary functions
Function, (setf table-storage-parameter-list): Public ordinary functions
Function, (setf table-tablespace): Public ordinary functions
Function, (setf table-trigger-list): Public ordinary functions
Function, (setf trigger-action): Public ordinary functions
Function, (setf trigger-name): Public ordinary functions
Function, (setf trigger-procedure): Public ordinary functions
Function, (setf trigger-table): Public ordinary functions
Function, (setf update-stats-bytes): Private ordinary functions
Function, (setf update-stats-errs): Private ordinary functions
Function, (setf update-stats-label): Private ordinary functions
Function, (setf update-stats-read): Private ordinary functions
Function, (setf update-stats-rows): Private ordinary functions
Function, (setf update-stats-rs): Private ordinary functions
Function, (setf update-stats-secs): Private ordinary functions
Function, (setf update-stats-section): Private ordinary functions
Function, (setf update-stats-start): Private ordinary functions
Function, (setf update-stats-stop): Private ordinary functions
Function, (setf update-stats-ws): Private ordinary functions
Function, add-column-to-pkey: Private ordinary functions
Function, add-row-to-current-batch: Private ordinary functions
Function, add-to-search-path: Public ordinary functions
Function, add-unlisted-primary-key-index: Private ordinary functions
Function, alter-schema-rename: Private ordinary functions
Function, alter-table-rename: Private ordinary functions
Function, alter-table-set-schema: Private ordinary functions
Function, alter-table-set-storage-parameters: Private ordinary functions
Function, alter-table-set-tablespace: Private ordinary functions
Function, apply-casting-rules: Public ordinary functions
Function, apply-decoding-as-filters: Private ordinary functions
Function, apply-identifier-case: Public ordinary functions
Function, apply-template: Private ordinary functions
Function, apply-transforms: Private ordinary functions
Function, archive-type: Private ordinary functions
Function, archivep: Public ordinary functions
Function, bad-row-condition: Private ordinary functions
Function, bad-row-data: Private ordinary functions
Function, bad-row-label: Private ordinary functions
Function, bad-row-p: Private ordinary functions
Function, bad-row-section: Private ordinary functions
Function, base64-decode: Private ordinary functions
Function, batch-as-single-vector: Private ordinary functions
Function, batch-bytes: Private ordinary functions
Function, batch-control-bindings: Private ordinary functions
Function, batch-count: Private ordinary functions
Function, batch-data: Private ordinary functions
Function, batch-full-p: Private ordinary functions
Function, batch-max-count: Private ordinary functions
Function, batch-oversized-p: Private ordinary functions
Function, batch-p: Private ordinary functions
Function, batch-rows-to-copy: Private ordinary functions
Function, batch-rows-to-s3-then-copy: Private ordinary functions
Function, batch-start: Private ordinary functions
Function, bits-to-boolean: Private ordinary functions
Function, bits-to-hex-bitstring: Private ordinary functions
Function, build-format-spec: Private ordinary functions
Function, build-identifier: Public ordinary functions
Function, build-trigger: Private ordinary functions
Function, byte-vector-to-bytea: Private ordinary functions
Function, byte-vector-to-hexstring: Private ordinary functions
Function, call-with-encoding-handler: Private ordinary functions
Function, call-with-monitor: Private ordinary functions
Function, camelcase-to-colname: Public ordinary functions
Function, cast-ixf-type: Private ordinary functions
Function, cast-rule-matches: Private ordinary functions
Function, catalog-distribution-rules: Public ordinary functions
Function, catalog-name: Public ordinary functions
Function, catalog-p: Private ordinary functions
Function, catalog-schema-list: Public ordinary functions
Function, catalog-types-without-btree: Public ordinary functions
Function, check-table-columns: Private ordinary functions
Function, citus-backfill-table-p: Public ordinary functions
Function, citus-distribute-schema: Public ordinary functions
Function, citus-distributed-rule-from: Public ordinary functions
Function, citus-distributed-rule-p: Public ordinary functions
Function, citus-distributed-rule-table: Public ordinary functions
Function, citus-distributed-rule-using: Public ordinary functions
Function, citus-find-table: Private ordinary functions
Function, citus-format-sql-select: Public ordinary functions
Function, citus-reference-rule-p: Public ordinary functions
Function, citus-reference-rule-table: Public ordinary functions
Function, cleanup-default-value: Private ordinary functions
Function, col-null-p: Private ordinary functions
Function, coldef-ctype: Private ordinary functions
Function, coldef-default: Private ordinary functions
Function, coldef-dtype: Private ordinary functions
Function, coldef-extra: Private ordinary functions
Function, coldef-name: Private ordinary functions
Function, coldef-nullable: Private ordinary functions
Function, coldef-p: Private ordinary functions
Function, coldef-pk-id: Private ordinary functions
Function, coldef-seq: Private ordinary functions
Function, coldef-table-name: Private ordinary functions
Function, column-comment: Public ordinary functions
Function, column-default: Public ordinary functions
Function, column-extra: Public ordinary functions
Function, column-name: Public ordinary functions
Function, column-nullable: Public ordinary functions
Function, column-p: Private ordinary functions
Function, column-table: Private ordinary functions
Function, column-transform: Public ordinary functions
Function, column-transform-default: Public ordinary functions
Function, column-type-mod: Public ordinary functions
Function, column-type-name: Public ordinary functions
Function, comment-on-tables-and-columns: Public ordinary functions
Function, compile-lisp-command: Private ordinary functions
Function, compute-columns: Private ordinary functions
Function, context-get-from-environment: Private ordinary functions
Function, convert-ini-into-commands: Public ordinary functions
Function, convert-ini-into-files: Public ordinary functions
Function, convert-mysql-linestring: Private ordinary functions
Function, convert-mysql-point: Private ordinary functions
Function, copy-bad-row: Private ordinary functions
Function, copy-batch: Private ordinary functions
Function, copy-catalog: Private ordinary functions
Function, copy-citus-distributed-rule: Private ordinary functions
Function, copy-citus-reference-rule: Private ordinary functions
Function, copy-coldef: Private ordinary functions
Function, copy-column: Private ordinary functions
Function, copy-db3-coldef: Private ordinary functions
Function, copy-extension: Private ordinary functions
Function, copy-fkey: Private ordinary functions
Function, copy-index: Private ordinary functions
Function, copy-log-message: Private ordinary functions
Function, copy-match-rule: Private ordinary functions
Function, copy-matview: Private ordinary functions
Function, copy-mssql-column: Private ordinary functions
Function, copy-mysql-column: Private ordinary functions
Function, copy-new-label: Private ordinary functions
Function, copy-params: Private ordinary functions
Function, copy-parser: Private ordinary functions
Function, copy-partial-batch: Private ordinary functions
Function, copy-pgpass: Private ordinary functions
Function, copy-pgstate: Private ordinary functions
Function, copy-pgtable: Private ordinary functions
Function, copy-print-format: Private ordinary functions
Function, copy-print-format-copy: Private ordinary functions
Function, copy-print-format-csv: Private ordinary functions
Function, copy-print-format-human-readable: Private ordinary functions
Function, copy-print-format-json: Private ordinary functions
Function, copy-print-format-tab: Private ordinary functions
Function, copy-print-format-text: Private ordinary functions
Function, copy-print-format-verbose: Private ordinary functions
Function, copy-procedure: Private ordinary functions
Function, copy-regex-match-rule: Private ordinary functions
Function, copy-report-summary: Private ordinary functions
Function, copy-rows-from-queue: Public ordinary functions
Function, copy-schema: Private ordinary functions
Function, copy-sqltype: Private ordinary functions
Function, copy-start: Private ordinary functions
Function, copy-state: Private ordinary functions
Function, copy-stop: Private ordinary functions
Function, copy-string-match-rule: Private ordinary functions
Function, copy-table: Private ordinary functions
Function, copy-trigger: Private ordinary functions
Function, copy-update-stats: Private ordinary functions
Function, copy-utf-8-byte-length: Private ordinary functions
Function, create-distributed-table: Public ordinary functions
Function, create-extensions: Public ordinary functions
Function, create-indexes-again: Public ordinary functions
Function, create-indexes-in-kernel: Public ordinary functions
Function, create-pgsql-fkeys: Public ordinary functions
Function, create-schemas: Public ordinary functions
Function, create-sqltypes: Public ordinary functions
Function, create-state: Public ordinary functions
Function, create-table: Public ordinary functions
Function, create-table-from-dsn-table-name: Private ordinary functions
Function, create-table-list: Private ordinary functions
Function, create-table-sql-list: Private ordinary functions
Function, create-tables: Public ordinary functions
Function, create-triggers: Public ordinary functions
Function, create-views: Public ordinary functions
Function, ctype-to-dtype: Private ordinary functions
Function, date-with-no-separator: Private ordinary functions
Function, db-write-batch: Private ordinary functions
Function, db-write-escaped-vector-row: Private ordinary functions
Function, db-write-row: Private ordinary functions
Function, db-write-vector-row: Private ordinary functions
Function, db3-coldef-default: Private ordinary functions
Function, db3-coldef-extra: Private ordinary functions
Function, db3-coldef-length: Private ordinary functions
Function, db3-coldef-name: Private ordinary functions
Function, db3-coldef-nullable: Private ordinary functions
Function, db3-coldef-p: Private ordinary functions
Function, db3-coldef-type: Private ordinary functions
Function, db3-date-to-pgsql-date: Private ordinary functions
Function, db3-numeric-to-pgsql-integer: Private ordinary functions
Function, db3-numeric-to-pgsql-numeric: Private ordinary functions
Function, db3-trim-string: Private ordinary functions
Function, disable-triggers: Private ordinary functions
Function, distribute: Public ordinary functions
Function, drop-indexes: Public ordinary functions
Function, drop-pgsql-fkeys: Public ordinary functions
Function, elapsed-time-since: Public ordinary functions
Function, empty-string-to-null: Private ordinary functions
Function, enable-triggers: Private ordinary functions
Function, ensure-parse-integer: Private ordinary functions
Function, ensure-quoted: Public ordinary functions
Function, ensure-unquoted: Public ordinary functions
Function, enum-or-set-name: Private ordinary functions
Function, execute-sql-code-block: Public ordinary functions
Function, expand-archive: Public ordinary functions
Function, expand-user-homedir-pathname: Public ordinary functions
Function, explode-mysql-enum: Private ordinary functions
Function, extension-name: Public ordinary functions
Function, extension-p: Private ordinary functions
Function, extension-schema: Public ordinary functions
Function, fetch-pgsql-catalog: Public ordinary functions
Function, filename-character-p: Private ordinary functions
Function, filter-directory: Private ordinary functions
Function, filter-list-to-where-clause: Private ordinary functions
Function, finalize-catalogs: Public ordinary functions
Function, find-auto-increment-in-create-sql: Private ordinary functions
Function, find-encoding-by-name-or-alias: Private ordinary functions
Function, find-sequence: Private ordinary functions
Function, fix-target-type: Private ordinary functions
Function, fkey-columns: Public ordinary functions
Function, fkey-condef: Public ordinary functions
Function, fkey-deferrable: Public ordinary functions
Function, fkey-delete-rule: Public ordinary functions
Function, fkey-foreign-columns: Public ordinary functions
Function, fkey-foreign-table: Public ordinary functions
Function, fkey-initially-deferred: Public ordinary functions
Function, fkey-match-rule: Public ordinary functions
Function, fkey-name: Public ordinary functions
Function, fkey-oid: Public ordinary functions
Function, fkey-p: Private ordinary functions
Function, fkey-pkey: Private ordinary functions
Function, fkey-table: Public ordinary functions
Function, fkey-update-rule: Public ordinary functions
Function, flatten-option-list: Private ordinary functions
Function, float-to-string: Private ordinary functions
Function, flush-summary: Public ordinary functions
Function, format-citus-join-clause: Private ordinary functions
Function, format-escaped-vector-row: Private ordinary functions
Function, format-interval: Private ordinary functions
Function, format-interval-guess: Private ordinary functions
Function, format-row-in-batch: Private ordinary functions
Function, format-table-name-as-including-exp: Private ordinary functions
Function, format-vector-row: Public ordinary functions
Function, fraction-to-nsecs: Private ordinary functions
Function, function-name-character-p: Private ordinary functions
Function, get-aws-credentials-and-setup: Private ordinary functions
Function, get-column-type-name-from-sqltype: Private ordinary functions
Function, get-connection-params: Private ordinary functions
Function, get-connection-string: Private ordinary functions
Function, get-current-database: Private ordinary functions
Function, get-file-sample: Private ordinary functions
Function, get-gucs: Private ordinary functions
Function, get-matching-filenames: Public ordinary functions
Function, get-pathname: Public ordinary functions
Function, get-pgpass-filename: Private ordinary functions
Function, get-pgsql-column-specs: Private ordinary functions
Function, get-pgsslmode: Private ordinary functions
Function, get-state-section: Public ordinary functions
Function, get-stream-sample: Private ordinary functions
Function, get-type-name: Private ordinary functions
Function, get-unix-socket-dir: Private ordinary functions
Function, getenv-default: Public ordinary functions
Function, git-hash: Private ordinary functions
Function, guess-csv-params: Public ordinary functions
Function, guess-fixed-specs: Private ordinary functions
Function, guess-fixed-specs-from-header: Private ordinary functions
Function, gunzip: Private ordinary functions
Function, hex-to-dec: Private ordinary functions
Function, hexdigit-char-p: Private ordinary functions
Function, http-fetch-file: Public ordinary functions
Function, identifier-case-binding: Private ordinary functions
Function, index-access-method: Private ordinary functions
Function, index-columns: Public ordinary functions
Function, index-condef: Public ordinary functions
Function, index-conname: Public ordinary functions
Function, index-filter: Public ordinary functions
Function, index-fk-deps: Public ordinary functions
Function, index-name: Public ordinary functions
Function, index-oid: Public ordinary functions
Function, index-p: Private ordinary functions
Function, index-primary: Public ordinary functions
Function, index-schema: Public ordinary functions
Function, index-sql: Public ordinary functions
Function, index-table: Public ordinary functions
Function, index-type: Public ordinary functions
Function, index-unique: Public ordinary functions
Function, init-batch-max-count: Private ordinary functions
Function, init-params-from-environment: Public ordinary functions
Function, initialize-context: Public ordinary functions
Function, inject-inline-data-position: Private ordinary functions
Function, insert-copy-null: Private ordinary functions
Function, insert-copy-separator: Private ordinary functions
Function, int-to-ip: Private ordinary functions
Function, integer-to-string: Private ordinary functions
Function, intern-symbol: Public ordinary functions
Function, ip-range: Private ordinary functions
Function, is-index-pk: Private ordinary functions
Function, lisp-code-for-csv-dry-run: Private ordinary functions
Function, lisp-code-for-dbf-dry-run: Private ordinary functions
Function, lisp-code-for-loading: Private ordinary functions
Function, lisp-code-for-loading-from-copy: Public ordinary functions
Function, lisp-code-for-loading-from-csv: Public ordinary functions
Function, lisp-code-for-loading-from-dbf: Public ordinary functions
Function, lisp-code-for-loading-from-fixed: Public ordinary functions
Function, lisp-code-for-loading-from-ixf: Public ordinary functions
Function, lisp-code-for-loading-from-mssql: Public ordinary functions
Function, lisp-code-for-loading-from-mysql: Public ordinary functions
Function, lisp-code-for-loading-from-pgsql: Public ordinary functions
Function, lisp-code-for-loading-from-sqlite: Public ordinary functions
Function, lisp-code-for-mssql-dry-run: Private ordinary functions
Function, lisp-code-for-mysql-dry-run: Private ordinary functions
Function, lisp-code-for-pgsql-dry-run: Private ordinary functions
Function, lisp-code-for-sqlite-dry-run: Private ordinary functions
Function, list-all-columns: Public ordinary functions
Function, list-all-fkeys: Public ordinary functions
Function, list-all-indexes: Public ordinary functions
Function, list-all-sqltypes: Public ordinary functions
Function, list-columns: Private ordinary functions
Function, list-columns: Private ordinary functions
Function, list-columns-comments: Private ordinary functions
Function, list-encodings-and-aliases: Public ordinary functions
Function, list-fkeys: Private ordinary functions
Function, list-index-cols: Private ordinary functions
Function, list-indexes: Private ordinary functions
Function, list-missing-fk-deps: Public ordinary functions
Function, list-reserved-keywords: Public ordinary functions
Function, list-schemas: Public ordinary functions
Function, list-search-path: Private ordinary functions
Function, list-symbols: Private ordinary functions
Function, list-table-comments: Private ordinary functions
Function, list-table-oids: Public ordinary functions
Function, list-tables: Private ordinary functions
Function, list-typenames-without-btree-support: Public ordinary functions
Function, load-data: Public ordinary functions
Function, load-extra-transformation-functions: Private ordinary functions
Function, load-static-directory: Private ordinary functions
Function, load-static-file: Private ordinary functions
Function, log-file-name: Private ordinary functions
Function, log-message-arguments: Private ordinary functions
Function, log-message-category: Private ordinary functions
Function, log-message-description: Private ordinary functions
Function, log-message-p: Private ordinary functions
Function, log-threshold: Private ordinary functions
Function, logical-to-boolean: Private ordinary functions
Function, main: Private ordinary functions
Function, make-bad-row: Private ordinary functions
Function, make-batch: Private ordinary functions
Function, make-catalog: Public ordinary functions
Function, make-citus-distributed-rule: Public ordinary functions
Function, make-citus-reference-rule: Public ordinary functions
Function, make-coldef: Private ordinary functions
Function, make-column: Public ordinary functions
Function, make-db3-coldef: Private ordinary functions
Function, make-distributed-table-from-fkey: Private ordinary functions
Function, make-extension: Private ordinary functions
Function, make-external-format: Public ordinary functions
Function, make-fkey: Public ordinary functions
Function, make-including-expr-from-catalog: Public ordinary functions
Function, make-including-expr-from-table: Private ordinary functions
Function, make-including-expr-from-view-names: Public ordinary functions
Function, make-index: Public ordinary functions
Function, make-kernel: Public ordinary functions
Function, make-log-message: Private ordinary functions
Function, make-match-rule: Public ordinary functions
Function, make-matview: Public ordinary functions
Function, make-mssql-column: Private ordinary functions
Function, make-mysql-column: Private ordinary functions
Function, make-new-label: Private ordinary functions
Function, make-params: Private ordinary functions
Function, make-parser: Private ordinary functions
Function, make-pgpass: Private ordinary functions
Function, make-pgsql-type: Private ordinary functions
Function, make-pgstate: Public ordinary functions
Function, make-pgtable: Private ordinary functions
Function, make-print-format: Private ordinary functions
Function, make-print-format-copy: Private ordinary functions
Function, make-print-format-csv: Private ordinary functions
Function, make-print-format-human-readable: Private ordinary functions
Function, make-print-format-json: Private ordinary functions
Function, make-print-format-tab: Private ordinary functions
Function, make-print-format-text: Private ordinary functions
Function, make-print-format-verbose: Private ordinary functions
Function, make-procedure: Public ordinary functions
Function, make-regex-match-rule: Public ordinary functions
Function, make-report-summary: Private ordinary functions
Function, make-schema: Public ordinary functions
Function, make-sqltype: Public ordinary functions
Function, make-start: Private ordinary functions
Function, make-state: Public ordinary functions
Function, make-stop: Private ordinary functions
Function, make-string-match-rule: Public ordinary functions
Function, make-table: Public ordinary functions
Function, make-trigger: Public ordinary functions
Function, make-update-stats: Private ordinary functions
Function, match-hostname: Private ordinary functions
Function, match-pgpass: Private ordinary functions
Function, match-pgpass-entries: Private ordinary functions
Function, match-pgpass-file: Private ordinary functions
Function, match-rule-action: Public ordinary functions
Function, match-rule-args: Public ordinary functions
Function, match-rule-p: Private ordinary functions
Function, match-rule-rule: Public ordinary functions
Function, match-rule-schema: Public ordinary functions
Function, matview-definition: Public ordinary functions
Function, matview-name: Public ordinary functions
Function, matview-p: Private ordinary functions
Function, matview-schema: Public ordinary functions
Function, matview-source-name: Public ordinary functions
Function, max-length-table-name: Private ordinary functions
Function, maybe-drop-indexes: Public ordinary functions
Function, maybe-log-progress-message: Private ordinary functions
Function, merge-catalogs: Public ordinary functions
Function, merge-gucs: Private ordinary functions
Function, mkdir-or-die: Private ordinary functions
Function, monitor: Private ordinary functions
Function, mssql-column-character-maximum-length: Private ordinary functions
Function, mssql-column-character-set-name: Private ordinary functions
Function, mssql-column-collation-name: Private ordinary functions
Function, mssql-column-datetime-precision: Private ordinary functions
Function, mssql-column-default: Private ordinary functions
Function, mssql-column-identity: Private ordinary functions
Function, mssql-column-name: Private ordinary functions
Function, mssql-column-nullable: Private ordinary functions
Function, mssql-column-numeric-precision: Private ordinary functions
Function, mssql-column-numeric-precision-radix: Private ordinary functions
Function, mssql-column-numeric-scale: Private ordinary functions
Function, mssql-column-p: Private ordinary functions
Function, mssql-column-schema: Private ordinary functions
Function, mssql-column-table-name: Private ordinary functions
Function, mssql-column-type: Private ordinary functions
Function, mssql-query: Private ordinary functions
Function, mysql-column-comment: Private ordinary functions
Function, mysql-column-ctype: Private ordinary functions
Function, mysql-column-default: Private ordinary functions
Function, mysql-column-dtype: Private ordinary functions
Function, mysql-column-extra: Private ordinary functions
Function, mysql-column-name: Private ordinary functions
Function, mysql-column-nullable: Private ordinary functions
Function, mysql-column-p: Private ordinary functions
Function, mysql-column-table-name: Private ordinary functions
Function, mysql-query: Private ordinary functions
Function, new-label: Public ordinary functions
Function, new-label-dbname: Private ordinary functions
Function, new-label-label: Private ordinary functions
Function, new-label-p: Private ordinary functions
Function, new-label-section: Private ordinary functions
Function, new-pgsql-connection: Private ordinary functions
Function, next-batch-rows: Private ordinary functions
Function, normalize: Private ordinary functions
Function, normalize-extra: Private ordinary functions
Function, normalize-extra: Private ordinary functions
Function, not-doublequote: Private ordinary functions
Function, optimize-table-copy-ordering: Private ordinary functions
Function, optname-char-p: Private ordinary functions
Function, optvalue-char-p: Private ordinary functions
Function, params-columns: Private ordinary functions
Function, params-empty-string: Private ordinary functions
Function, params-encoding: Private ordinary functions
Function, params-fields: Private ordinary functions
Function, params-filename: Private ordinary functions
Function, params-format: Private ordinary functions
Function, params-gucs: Private ordinary functions
Function, params-is-template: Private ordinary functions
Function, params-logs: Private ordinary functions
Function, params-null-as: Private ordinary functions
Function, params-p: Private ordinary functions
Function, params-rejects: Private ordinary functions
Function, params-separator: Private ordinary functions
Function, params-skip-lines: Private ordinary functions
Function, params-table: Private ordinary functions
Function, params-truncate: Private ordinary functions
Function, params-use-template: Private ordinary functions
Function, parse-ccl-encodings-desc: Private ordinary functions
Function, parse-ccl-encodings-desc-first-line: Private ordinary functions
Function, parse-cli-casts: Public ordinary functions
Function, parse-cli-encoding: Public ordinary functions
Function, parse-cli-fields: Public ordinary functions
Function, parse-cli-gucs: Public ordinary functions
Function, parse-cli-options: Public ordinary functions
Function, parse-cli-type: Public ordinary functions
Function, parse-column-typemod: Public ordinary functions
Function, parse-column-unsigned: Private ordinary functions
Function, parse-columns-spec: Private ordinary functions
Function, parse-commands: Public ordinary functions
Function, parse-commands-from-file: Public ordinary functions
Function, parse-copy-error-context: Private ordinary functions
Function, parse-date-format: Public ordinary functions
Function, parse-date-string: Public ordinary functions
Function, parse-filename-for-source-type: Private ordinary functions
Function, parse-index-column-names: Private ordinary functions
Function, parse-index-filter-clause: Private ordinary functions
Function, parse-ini-file: Public ordinary functions
Function, parse-only-cols: Private ordinary functions
Function, parse-pgpass-file: Private ordinary functions
Function, parse-postgresql-version-number: Private ordinary functions
Function, parse-postgresql-version-string: Private ordinary functions
Function, parse-postgresql-version-variant: Private ordinary functions
Function, parse-query: Private ordinary functions
Function, parse-row: Private ordinary functions
Function, parse-row: Private ordinary functions
Function, parse-section: Private ordinary functions
Function, parse-source-string: Public ordinary functions
Function, parse-source-string-for-type: Public ordinary functions
Function, parse-sql-file: Public ordinary functions
Function, parse-sqlite-type-name: Public ordinary functions
Function, parse-summary-filename: Private ordinary functions
Function, parse-summary-type: Private ordinary functions
Function, parse-target-pg-db-uri: Public ordinary functions
Function, parse-target-string: Public ordinary functions
Function, parse-value: Private ordinary functions
Function, parser-filename: Private ordinary functions
Function, parser-p: Private ordinary functions
Function, parser-state: Private ordinary functions
Function, parser-stream: Private ordinary functions
Function, parser-tags: Private ordinary functions
Function, pathname-to-url: Private ordinary functions
Function, pf-legend: Private ordinary functions
Function, pf-max-label-length: Private ordinary functions
Function, pgpass-char-p: Private ordinary functions
Function, pgpass-database: Private ordinary functions
Function, pgpass-hostname: Private ordinary functions
Function, pgpass-p: Private ordinary functions
Function, pgpass-password: Private ordinary functions
Function, pgpass-port: Private ordinary functions
Function, pgpass-username: Private ordinary functions
Function, pgsql-connect-and-execute-with-timing: Public ordinary functions
Function, pgsql-connection-bindings: Private ordinary functions
Function, pgsql-execute: Public ordinary functions
Function, pgsql-execute-with-timing: Public ordinary functions
Function, pgstate-bytes: Private ordinary functions
Function, pgstate-decf: Public ordinary functions
Function, pgstate-errs: Public ordinary functions
Function, pgstate-get-label: Public ordinary functions
Function, pgstate-incf: Public ordinary functions
Function, pgstate-new-label: Public ordinary functions
Function, pgstate-p: Private ordinary functions
Function, pgstate-read: Public ordinary functions
Function, pgstate-rows: Public ordinary functions
Function, pgstate-rs: Private ordinary functions
Function, pgstate-secs: Public ordinary functions
Function, pgstate-setf: Public ordinary functions
Function, pgstate-tables: Public ordinary functions
Function, pgstate-tabnames: Public ordinary functions
Function, pgstate-ws: Private ordinary functions
Function, pgtable-bytes: Public ordinary functions
Function, pgtable-errs: Private ordinary functions
Function, pgtable-name: Private ordinary functions
Function, pgtable-p: Private ordinary functions
Function, pgtable-read: Private ordinary functions
Function, pgtable-reject-data: Public ordinary functions
Function, pgtable-reject-logs: Public ordinary functions
Function, pgtable-rows: Public ordinary functions
Function, pgtable-rs: Private ordinary functions
Function, pgtable-secs: Public ordinary functions
Function, pgtable-start: Public ordinary functions
Function, pgtable-stop: Public ordinary functions
Function, pgtable-ws: Private ordinary functions
Function, prepare-and-format-row: Private ordinary functions
Function, prepare-and-format-row-for-s3: Private ordinary functions
Function, prepare-copy-parameters: Private ordinary functions
Function, prepare-row: Private ordinary functions
Function, pretty-print-bytes: Public ordinary functions
Function, print-backtrace: Private ordinary functions
Function, print-csv-option: Private ordinary functions
Function, print-format-copy-p: Private ordinary functions
Function, print-format-csv-p: Private ordinary functions
Function, print-format-human-readable-p: Private ordinary functions
Function, print-format-json-p: Private ordinary functions
Function, print-format-p: Private ordinary functions
Function, print-format-tab-p: Private ordinary functions
Function, print-format-text-legend: Private ordinary functions
Function, print-format-text-max-label-length: Private ordinary functions
Function, print-format-text-p: Private ordinary functions
Function, print-format-verbose-legend: Private ordinary functions
Function, print-format-verbose-max-label-length: Private ordinary functions
Function, print-format-verbose-p: Private ordinary functions
Function, procedure-body: Public ordinary functions
Function, procedure-language: Public ordinary functions
Function, procedure-name: Public ordinary functions
Function, procedure-p: Private ordinary functions
Function, procedure-returns: Public ordinary functions
Function, procedure-schema: Public ordinary functions
Function, process-bad-row: Public ordinary functions
Function, process-catalog: Private ordinary functions
Function, process-command-file: Private ordinary functions
Function, process-hostname: Private ordinary functions
Function, process-quoted-regex: Private ordinary functions
Function, process-regression-test: Private ordinary functions
Function, process-relative-pathnames: Public ordinary functions
Function, process-source-and-target: Private ordinary functions
Function, process-triggers: Private ordinary functions
Function, process-true-false: Private ordinary functions
Function, process-update-stats-start-event: Private ordinary functions
Function, process-update-stats-stop-event: Private ordinary functions
Function, project-fields: Public ordinary functions
Function, push-row: Private ordinary functions
Function, query-table-schema: Private ordinary functions
Function, quoted-p: Public ordinary functions
Function, read-default-value-for-param: Private ordinary functions
Function, read-ini-file: Public ordinary functions
Function, read-ini-file: Private ordinary functions
Function, read-lines: Private ordinary functions
Function, read-queries: Public ordinary functions
Function, read-value-for-param: Private ordinary functions
Function, reformat-then-process: Public ordinary functions
Function, regex-match-rule-p: Private ordinary functions
Function, regex-match-rule-target: Public ordinary functions
Function, regression-test-expected-data-source: Private ordinary functions
Function, reject-data-file: Private ordinary functions
Function, reject-log-file: Private ordinary functions
Function, relative-pathname: Private ordinary functions
Function, remove-batch-control-option: Private ordinary functions
Function, remove-null-characters: Private ordinary functions
Function, report-current-summary: Private ordinary functions
Function, report-full-summary: Public ordinary functions
Function, report-summary-p: Private ordinary functions
Function, report-summary-reset: Private ordinary functions
Function, reset-sequences: Public ordinary functions
Function, reset-sql-definitions: Private ordinary functions
Function, retry-batch: Private ordinary functions
Function, right-trim: Private ordinary functions
Function, run-commands: Public ordinary functions
Function, same-type-p: Private ordinary functions
Function, sanitize-user-gucs: Public ordinary functions
Function, schema-catalog: Public ordinary functions
Function, schema-extension-list: Public ordinary functions
Function, schema-in-search-path: Public ordinary functions
Function, schema-matview-list: Private ordinary functions
Function, schema-name: Public ordinary functions
Function, schema-p: Private ordinary functions
Function, schema-source-name: Public ordinary functions
Function, schema-sqltype-list: Public ordinary functions
Function, schema-table-list: Public ordinary functions
Function, schema-view-list: Public ordinary functions
Function, self-upgrade: Private ordinary functions
Function, send-batch: Private ordinary functions
Function, send-batch-through-s3: Private ordinary functions
Function, send-event: Public ordinary functions
Function, send-log-message: Private ordinary functions
Function, set-postgresql-version: Private ordinary functions
Function, set-session-gucs: Private ordinary functions
Function, set-table-oids: Public ordinary functions
Function, set-to-enum-array: Private ordinary functions
Function, show-encodings: Public ordinary functions
Function, socket-directory-character-p: Private ordinary functions
Function, split-columns-specs: Private ordinary functions
Function, split-range: Public ordinary functions
Function, sql: Public ordinary functions
Function, sql-code-block: Private ordinary functions
Function, sql-server-bit-to-boolean: Private ordinary functions
Function, sql-server-uniqueidentifier-to-uuid: Private ordinary functions
Function, sql-url-for-variant: Public ordinary functions
Function, sqlite-encoding: Private ordinary functions
Function, sqlite-pragma-encoding: Private ordinary functions
Function, sqlite-timestamp-to-timestamp: Private ordinary functions
Function, sqltype-extension: Public ordinary functions
Function, sqltype-extra: Public ordinary functions
Function, sqltype-name: Public ordinary functions
Function, sqltype-p: Private ordinary functions
Function, sqltype-schema: Public ordinary functions
Function, sqltype-source-def: Public ordinary functions
Function, sqltype-type: Public ordinary functions
Function, start-logger: Public ordinary functions
Function, start-monitor: Public ordinary functions
Function, start-p: Private ordinary functions
Function, start-start-logger: Private ordinary functions
Function, state-bytes: Private ordinary functions
Function, state-data: Public ordinary functions
Function, state-p: Private ordinary functions
Function, state-postload: Public ordinary functions
Function, state-preload: Public ordinary functions
Function, state-secs: Public ordinary functions
Function, stop-logger: Public ordinary functions
Function, stop-monitor: Public ordinary functions
Function, stop-p: Private ordinary functions
Function, stop-stop-logger: Private ordinary functions
Function, stream-row: Private ordinary functions
Function, stream-rows-to-copy: Private ordinary functions
Function, string-match-rule-p: Private ordinary functions
Function, string-match-rule-target: Public ordinary functions
Function, string-to-copy-utf-8-bytes: Private ordinary functions
Function, symbol-character-p: Private ordinary functions
Function, symbol-first-character-p: Private ordinary functions
Function, table-citus-rule: Public ordinary functions
Function, table-column-list: Public ordinary functions
Function, table-comment: Public ordinary functions
Function, table-field-list: Public ordinary functions
Function, table-fkey-list: Public ordinary functions
Function, table-index-list: Public ordinary functions
Function, table-name: Public ordinary functions
Function, table-oid: Public ordinary functions
Function, table-p: Private ordinary functions
Function, table-row-count-estimate: Public ordinary functions
Function, table-schema: Public ordinary functions
Function, table-source-name: Public ordinary functions
Function, table-storage-parameter-list: Public ordinary functions
Function, table-tablespace: Public ordinary functions
Function, table-trigger-list: Public ordinary functions
Function, test-casts: Private ordinary functions
Function, test/parse-postgresql-version-string: Private ordinary functions
Function, time-with-no-separator: Private ordinary functions
Function, tinyint-to-boolean: Private ordinary functions
Function, transform-function: Private ordinary functions
Function, trigger-action: Public ordinary functions
Function, trigger-name: Public ordinary functions
Function, trigger-p: Public ordinary functions
Function, trigger-procedure: Public ordinary functions
Function, trigger-table: Public ordinary functions
Function, truncate-tables: Public ordinary functions
Function, try-csv-params: Private ordinary functions
Function, typemod-expr-matches-p: Public ordinary functions
Function, typemod-expr-to-function: Public ordinary functions
Function, unix-timestamp-to-timestamptz: Private ordinary functions
Function, unquote: Public ordinary functions
Function, untar: Private ordinary functions
Function, unzip: Private ordinary functions
Function, update-stats: Public ordinary functions
Function, update-stats-bytes: Private ordinary functions
Function, update-stats-errs: Private ordinary functions
Function, update-stats-label: Private ordinary functions
Function, update-stats-p: Private ordinary functions
Function, update-stats-read: Private ordinary functions
Function, update-stats-rows: Private ordinary functions
Function, update-stats-rs: Private ordinary functions
Function, update-stats-secs: Private ordinary functions
Function, update-stats-section: Private ordinary functions
Function, update-stats-start: Private ordinary functions
Function, update-stats-stop: Private ordinary functions
Function, update-stats-ws: Private ordinary functions
Function, usage: Private ordinary functions
Function, user-defined-columns: Private ordinary functions
Function, varbinary-to-string: Private ordinary functions
Function, walk-sources-and-build-fs: Private ordinary functions
Function, write-command-to-string: Public ordinary functions
Function, zero-dates-to-null: Private ordinary functions
function-name-character-p: Private ordinary functions

G
Generic Function, (setf citus-rule): Private generic functions
Generic Function, (setf citus-rule-table-not-found-schema-name): Private generic functions
Generic Function, (setf citus-rule-table-not-found-table-name): Private generic functions
Generic Function, (setf columns): Public generic functions
Generic Function, (setf conn-handle): Public generic functions
Generic Function, (setf conn-type): Public generic functions
Generic Function, (setf copy-format): Public generic functions
Generic Function, (setf csv-escape): Private generic functions
Generic Function, (setf csv-escape-mode): Private generic functions
Generic Function, (setf csv-newline): Private generic functions
Generic Function, (setf csv-quote): Private generic functions
Generic Function, (setf csv-separator): Private generic functions
Generic Function, (setf csv-trim-blanks): Private generic functions
Generic Function, (setf db): Private generic functions
Generic Function, (setf db-host): Public generic functions
Generic Function, (setf db-name): Public generic functions
Generic Function, (setf db-pass): Public generic functions
Generic Function, (setf db-port): Public generic functions
Generic Function, (setf db-user): Public generic functions
Generic Function, (setf delimiter): Private generic functions
Generic Function, (setf encoding): Public generic functions
Generic Function, (setf fd-arch): Private generic functions
Generic Function, (setf fd-db3): Private generic functions
Generic Function, (setf fd-path): Public generic functions
Generic Function, (setf fd-uri): Private generic functions
Generic Function, (setf fields): Public generic functions
Generic Function, (setf has-sequences): Private generic functions
Generic Function, (setf header): Public generic functions
Generic Function, (setf md-spec): Public generic functions
Generic Function, (setf md-strm): Public generic functions
Generic Function, (setf myconn-use-ssl): Private generic functions
Generic Function, (setf null-as): Private generic functions
Generic Function, (setf pgconn-major-version): Public generic functions
Generic Function, (setf pgconn-table-name): Public generic functions
Generic Function, (setf pgconn-use-ssl): Public generic functions
Generic Function, (setf pgconn-variant): Public generic functions
Generic Function, (setf pgconn-version-string): Public generic functions
Generic Function, (setf preprocessor): Public generic functions
Generic Function, (setf range-list): Private generic functions
Generic Function, (setf skip-lines): Public generic functions
Generic Function, (setf source): Public generic functions
Generic Function, (setf source-db): Public generic functions
Generic Function, (setf source-type): Private generic functions
Generic Function, (setf target): Public generic functions
Generic Function, (setf target-db): Public generic functions
Generic Function, (setf timezone): Private generic functions
Generic Function, (setf transforms): Public generic functions
Generic Function, add-column: Public generic functions
Generic Function, add-comment: Private generic functions
Generic Function, add-extension: Public generic functions
Generic Function, add-field: Public generic functions
Generic Function, add-fkey: Public generic functions
Generic Function, add-index: Public generic functions
Generic Function, add-schema: Public generic functions
Generic Function, add-sqltype: Public generic functions
Generic Function, add-table: Public generic functions
Generic Function, add-view: Public generic functions
Generic Function, adjust-data-types: Public generic functions
Generic Function, alter-schema: Public generic functions
Generic Function, alter-table: Public generic functions
Generic Function, apply-citus-rule: Private generic functions
Generic Function, cast: Public generic functions
Generic Function, check-connection: Public generic functions
Generic Function, citus-rule: Private generic functions
Generic Function, citus-rule-table: Private generic functions
Generic Function, citus-rule-table-not-found-schema-name: Private generic functions
Generic Function, citus-rule-table-not-found-table-name: Private generic functions
Generic Function, citus-set-table: Private generic functions
Generic Function, cleanup: Public generic functions
Generic Function, clone-connection: Public generic functions
Generic Function, clone-copy-for: Public generic functions
Generic Function, close-connection: Public generic functions
Generic Function, columns: Public generic functions
Generic Function, complete-pgsql-database: Public generic functions
Generic Function, compute-foreign-rules: Private generic functions
Generic Function, concurrency-support: Public generic functions
Generic Function, conn-handle: Public generic functions
Generic Function, conn-type: Public generic functions
Generic Function, connection-error-host: Private generic functions
Generic Function, connection-error-mesg: Private generic functions
Generic Function, connection-error-path: Private generic functions
Generic Function, connection-error-port: Private generic functions
Generic Function, connection-error-type: Private generic functions
Generic Function, connection-error-user: Private generic functions
Generic Function, copy-column-list: Public generic functions
Generic Function, copy-database: Public generic functions
Generic Function, copy-format: Public generic functions
Generic Function, copy-from: Public generic functions
Generic Function, copy-init-error-columns: Private generic functions
Generic Function, copy-init-error-condition: Private generic functions
Generic Function, copy-init-error-table: Private generic functions
Generic Function, copy-to: Public generic functions
Generic Function, count-fkeys: Public generic functions
Generic Function, count-indexes: Public generic functions
Generic Function, count-tables: Public generic functions
Generic Function, count-views: Public generic functions
Generic Function, create-matviews: Public generic functions
Generic Function, csv-escape: Private generic functions
Generic Function, csv-escape-mode: Private generic functions
Generic Function, csv-newline: Private generic functions
Generic Function, csv-quote: Private generic functions
Generic Function, csv-separator: Private generic functions
Generic Function, csv-trim-blanks: Private generic functions
Generic Function, data-is-preformatted-p: Public generic functions
Generic Function, db: Private generic functions
Generic Function, db-host: Public generic functions
Generic Function, db-name: Public generic functions
Generic Function, db-pass: Public generic functions
Generic Function, db-port: Public generic functions
Generic Function, db-user: Public generic functions
Generic Function, delimiter: Private generic functions
Generic Function, drop-matviews: Public generic functions
Generic Function, dumb-down-data-types-for-redshift: Private generic functions
Generic Function, encoding: Public generic functions
Generic Function, expand: Public generic functions
Generic Function, expand-spec: Public generic functions
Generic Function, extend-current-tag: Private generic functions
Generic Function, extension-list: Public generic functions
Generic Function, fd-arch: Private generic functions
Generic Function, fd-db3: Private generic functions
Generic Function, fd-path: Public generic functions
Generic Function, fd-uri: Private generic functions
Generic Function, fetch-columns: Public generic functions
Generic Function, fetch-comments: Public generic functions
Generic Function, fetch-file: Public generic functions
Generic Function, fetch-foreign-keys: Public generic functions
Generic Function, fetch-indexes: Public generic functions
Generic Function, fetch-metadata: Public generic functions
Generic Function, fetch-table-row-count: Private generic functions
Generic Function, fetch-table-row-count: Private generic functions
Generic Function, field-name: Public generic functions
Generic Function, fields: Public generic functions
Generic Function, filter-list-to-where-clause: Public generic functions
Generic Function, find-extension: Public generic functions
Generic Function, find-fkey: Public generic functions
Generic Function, find-index: Public generic functions
Generic Function, find-schema: Public generic functions
Generic Function, find-table: Public generic functions
Generic Function, find-view: Public generic functions
Generic Function, format-create-sql: Public generic functions
Generic Function, format-current-tag: Private generic functions
Generic Function, format-default-value: Public generic functions
Generic Function, format-drop-sql: Public generic functions
Generic Function, format-matview-name: Public generic functions
Generic Function, format-table-name: Public generic functions
Generic Function, get-column-list: Public generic functions
Generic Function, get-column-sql-expression: Public generic functions
Generic Function, get-first-lines: Private generic functions
Generic Function, has-sequences: Private generic functions
Generic Function, header: Public generic functions
Generic Function, instanciate-table-copy-object: Public generic functions
Generic Function, map-rows: Public generic functions
Generic Function, matches: Public generic functions
Generic Function, max-indexes-per-table: Public generic functions
Generic Function, maybe-add-extension: Public generic functions
Generic Function, maybe-add-fkey: Public generic functions
Generic Function, maybe-add-index: Public generic functions
Generic Function, maybe-add-schema: Public generic functions
Generic Function, maybe-add-table: Public generic functions
Generic Function, maybe-add-view: Public generic functions
Generic Function, maybe-close-tags: Private generic functions
Generic Function, md-spec: Public generic functions
Generic Function, md-strm: Public generic functions
Generic Function, monitor-real-error: Private generic functions
Generic Function, mssql-column-ctype: Private generic functions
Generic Function, myconn-use-ssl: Private generic functions
Generic Function, null-as: Private generic functions
Generic Function, on-error-condition: Private generic functions
Generic Function, open-connection: Public generic functions
Generic Function, parse-header: Public generic functions
Generic Function, pgconn-major-version: Public generic functions
Generic Function, pgconn-table-name: Public generic functions
Generic Function, pgconn-use-ssl: Public generic functions
Generic Function, pgconn-variant: Public generic functions
Generic Function, pgconn-version-string: Public generic functions
Generic Function, pgsql-column-ctype: Private generic functions
Generic Function, pgtable-initialize-reject-files: Public generic functions
Generic Function, pop-current-tag: Private generic functions
Generic Function, prepare-pgsql-database: Public generic functions
Generic Function, preprocess-row: Public generic functions
Generic Function, preprocessor: Public generic functions
Generic Function, pretty-print: Private generic functions
Generic Function, process-index-definitions: Public generic functions
Generic Function, process-rows: Public generic functions
Generic Function, proprocess-row: Private generic functions
Generic Function, push-new-tag: Private generic functions
Generic Function, query: Public generic functions
Generic Function, queue-raw-data: Public generic functions
Generic Function, queue-raw-data: Private generic functions
Generic Function, range-list: Private generic functions
Generic Function, regression-test-filename: Private generic functions
Generic Function, reset-state: Private generic functions
Generic Function, rule-matches: Private generic functions
Generic Function, set-gucs: Private generic functions
Generic Function, set-param: Private generic functions
Generic Function, skip-lines: Public generic functions
Generic Function, source: Public generic functions
Generic Function, source-db: Public generic functions
Generic Function, source-definition-error-mesg: Private generic functions
Generic Function, source-type: Private generic functions
Generic Function, sqltype-list: Public generic functions
Generic Function, ssl-enable-p: Private generic functions
Generic Function, ssl-mode: Private generic functions
Generic Function, table-list: Public generic functions
Generic Function, target: Public generic functions
Generic Function, target-db: Public generic functions
Generic Function, timezone: Private generic functions
Generic Function, transforms: Public generic functions
Generic Function, translate-index-filter: Public generic functions
Generic Function, view-list: Public generic functions
get-aws-credentials-and-setup: Private ordinary functions
get-column-list: Public generic functions
get-column-list: Public generic functions
get-column-list: Public generic functions
get-column-sql-expression: Public generic functions
get-column-sql-expression: Public generic functions
get-column-sql-expression: Public generic functions
get-column-type-name-from-sqltype: Private ordinary functions
get-connection-params: Private ordinary functions
get-connection-string: Private ordinary functions
get-current-database: Private ordinary functions
get-file-sample: Private ordinary functions
get-first-lines: Private generic functions
get-first-lines: Private generic functions
get-first-lines: Private generic functions
get-gucs: Private ordinary functions
get-matching-filenames: Public ordinary functions
get-pathname: Public ordinary functions
get-pgpass-filename: Private ordinary functions
get-pgsql-column-specs: Private ordinary functions
get-pgsslmode: Private ordinary functions
get-state-section: Public ordinary functions
get-stream-sample: Private ordinary functions
get-type-name: Private ordinary functions
get-unix-socket-dir: Private ordinary functions
getenv-default: Public ordinary functions
git-hash: Private ordinary functions
guess-csv-params: Public ordinary functions
guess-fixed-specs: Private ordinary functions
guess-fixed-specs-from-header: Private ordinary functions
gunzip: Private ordinary functions

H
handling-pgsql-notices: Private macros
has-sequences: Private generic functions
has-sequences: Private generic functions
header: Public generic functions
header: Public generic functions
hex-to-dec: Private ordinary functions
hexdigit-char-p: Private ordinary functions
http-fetch-file: Public ordinary functions

I
identifier-case-binding: Private ordinary functions
index-access-method: Private ordinary functions
index-columns: Public ordinary functions
index-condef: Public ordinary functions
index-conname: Public ordinary functions
index-filter: Public ordinary functions
index-fk-deps: Public ordinary functions
index-name: Public ordinary functions
index-oid: Public ordinary functions
index-p: Private ordinary functions
index-primary: Public ordinary functions
index-schema: Public ordinary functions
index-sql: Public ordinary functions
index-table: Public ordinary functions
index-type: Public ordinary functions
index-unique: Public ordinary functions
init-batch-max-count: Private ordinary functions
init-params-from-environment: Public ordinary functions
initialize-context: Public ordinary functions
initialize-instance: Public standalone methods
initialize-instance: Public standalone methods
initialize-instance: Public standalone methods
initialize-instance: Public standalone methods
initialize-instance: Public standalone methods
initialize-instance: Public standalone methods
initialize-instance: Public standalone methods
initialize-instance: Public standalone methods
initialize-instance: Public standalone methods
initialize-instance: Public standalone methods
initialize-instance: Public standalone methods
initialize-instance: Public standalone methods
inject-inline-data-position: Private ordinary functions
insert-copy-null: Private ordinary functions
insert-copy-separator: Private ordinary functions
instanciate-table-copy-object: Public generic functions
instanciate-table-copy-object: Public generic functions
instanciate-table-copy-object: Public generic functions
instanciate-table-copy-object: Public generic functions
instanciate-table-copy-object: Public generic functions
int-to-ip: Private ordinary functions
integer-to-string: Private ordinary functions
intern-symbol: Public ordinary functions
ip-range: Private ordinary functions
is-index-pk: Private ordinary functions

L
lisp-code-for-csv-dry-run: Private ordinary functions
lisp-code-for-dbf-dry-run: Private ordinary functions
lisp-code-for-loading: Private ordinary functions
lisp-code-for-loading-from-copy: Public ordinary functions
lisp-code-for-loading-from-csv: Public ordinary functions
lisp-code-for-loading-from-dbf: Public ordinary functions
lisp-code-for-loading-from-fixed: Public ordinary functions
lisp-code-for-loading-from-ixf: Public ordinary functions
lisp-code-for-loading-from-mssql: Public ordinary functions
lisp-code-for-loading-from-mysql: Public ordinary functions
lisp-code-for-loading-from-pgsql: Public ordinary functions
lisp-code-for-loading-from-sqlite: Public ordinary functions
lisp-code-for-mssql-dry-run: Private ordinary functions
lisp-code-for-mysql-dry-run: Private ordinary functions
lisp-code-for-pgsql-dry-run: Private ordinary functions
lisp-code-for-sqlite-dry-run: Private ordinary functions
list-all-columns: Public ordinary functions
list-all-fkeys: Public ordinary functions
list-all-indexes: Public ordinary functions
list-all-sqltypes: Public ordinary functions
list-columns: Private ordinary functions
list-columns: Private ordinary functions
list-columns-comments: Private ordinary functions
list-encodings-and-aliases: Public ordinary functions
list-fkeys: Private ordinary functions
list-index-cols: Private ordinary functions
list-indexes: Private ordinary functions
list-missing-fk-deps: Public ordinary functions
list-reserved-keywords: Public ordinary functions
list-schemas: Public ordinary functions
list-search-path: Private ordinary functions
list-symbols: Private ordinary functions
list-table-comments: Private ordinary functions
list-table-oids: Public ordinary functions
list-tables: Private ordinary functions
list-typenames-without-btree-support: Public ordinary functions
load-data: Public ordinary functions
load-extra-transformation-functions: Private ordinary functions
load-static-directory: Private ordinary functions
load-static-file: Private ordinary functions
log-file-name: Private ordinary functions
log-message: Public macros
log-message-arguments: Private ordinary functions
log-message-category: Private ordinary functions
log-message-description: Private ordinary functions
log-message-p: Private ordinary functions
log-threshold: Private ordinary functions
logical-to-boolean: Private ordinary functions

M
Macro, arr-to-bytes-rev: Private macros
Macro, as-copy-utf-8-bytes: Private macros
Macro, def-keyword-rule: Private macros
Macro, define-yason-encoder: Private macros
Macro, handling-pgsql-notices: Private macros
Macro, log-message: Public macros
Macro, make-dsn-option-rule: Private macros
Macro, make-option-rule: Private macros
Macro, push-to-end: Public macros
Macro, timing: Public macros
Macro, with-connection: Public macros
Macro, with-disabled-triggers: Public macros
Macro, with-encoding-handler: Private macros
Macro, with-monitor: Public macros
Macro, with-pgsql-connection: Public macros
Macro, with-pgsql-transaction: Public macros
Macro, with-schema: Public macros
Macro, with-stats-collection: Public macros
main: Private ordinary functions
make-bad-row: Private ordinary functions
make-batch: Private ordinary functions
make-catalog: Public ordinary functions
make-citus-distributed-rule: Public ordinary functions
make-citus-reference-rule: Public ordinary functions
make-coldef: Private ordinary functions
make-column: Public ordinary functions
make-db3-coldef: Private ordinary functions
make-distributed-table-from-fkey: Private ordinary functions
make-dsn-option-rule: Private macros
make-extension: Private ordinary functions
make-external-format: Public ordinary functions
make-fkey: Public ordinary functions
make-including-expr-from-catalog: Public ordinary functions
make-including-expr-from-table: Private ordinary functions
make-including-expr-from-view-names: Public ordinary functions
make-index: Public ordinary functions
make-kernel: Public ordinary functions
make-log-message: Private ordinary functions
make-match-rule: Public ordinary functions
make-matview: Public ordinary functions
make-mssql-column: Private ordinary functions
make-mysql-column: Private ordinary functions
make-new-label: Private ordinary functions
make-option-rule: Private macros
make-params: Private ordinary functions
make-parser: Private ordinary functions
make-pgpass: Private ordinary functions
make-pgsql-type: Private ordinary functions
make-pgstate: Public ordinary functions
make-pgtable: Private ordinary functions
make-print-format: Private ordinary functions
make-print-format-copy: Private ordinary functions
make-print-format-csv: Private ordinary functions
make-print-format-human-readable: Private ordinary functions
make-print-format-json: Private ordinary functions
make-print-format-tab: Private ordinary functions
make-print-format-text: Private ordinary functions
make-print-format-verbose: Private ordinary functions
make-procedure: Public ordinary functions
make-regex-match-rule: Public ordinary functions
make-report-summary: Private ordinary functions
make-schema: Public ordinary functions
make-sqltype: Public ordinary functions
make-start: Private ordinary functions
make-state: Public ordinary functions
make-stop: Private ordinary functions
make-string-match-rule: Public ordinary functions
make-table: Public ordinary functions
make-trigger: Public ordinary functions
make-update-stats: Private ordinary functions
map-rows: Public generic functions
map-rows: Public generic functions
map-rows: Public generic functions
map-rows: Public generic functions
map-rows: Public generic functions
map-rows: Public generic functions
map-rows: Public generic functions
map-rows: Public generic functions
match-hostname: Private ordinary functions
match-pgpass: Private ordinary functions
match-pgpass-entries: Private ordinary functions
match-pgpass-file: Private ordinary functions
match-rule-action: Public ordinary functions
match-rule-args: Public ordinary functions
match-rule-p: Private ordinary functions
match-rule-rule: Public ordinary functions
match-rule-schema: Public ordinary functions
matches: Public generic functions
matches: Public generic functions
matches: Public generic functions
matview-definition: Public ordinary functions
matview-name: Public ordinary functions
matview-p: Private ordinary functions
matview-schema: Public ordinary functions
matview-source-name: Public ordinary functions
max-indexes-per-table: Public generic functions
max-indexes-per-table: Public generic functions
max-indexes-per-table: Public generic functions
max-length-table-name: Private ordinary functions
maybe-add-extension: Public generic functions
maybe-add-extension: Public generic functions
maybe-add-fkey: Public generic functions
maybe-add-fkey: Public generic functions
maybe-add-index: Public generic functions
maybe-add-index: Public generic functions
maybe-add-schema: Public generic functions
maybe-add-schema: Public generic functions
maybe-add-table: Public generic functions
maybe-add-table: Public generic functions
maybe-add-view: Public generic functions
maybe-add-view: Public generic functions
maybe-close-tags: Private generic functions
maybe-close-tags: Private generic functions
maybe-drop-indexes: Public ordinary functions
maybe-log-progress-message: Private ordinary functions
md-spec: Public generic functions
md-spec: Public generic functions
md-strm: Public generic functions
md-strm: Public generic functions
merge-catalogs: Public ordinary functions
merge-gucs: Private ordinary functions
Method, (setf citus-rule): Private generic functions
Method, (setf citus-rule-table-not-found-schema-name): Private generic functions
Method, (setf citus-rule-table-not-found-table-name): Private generic functions
Method, (setf columns): Public generic functions
Method, (setf conn-handle): Public generic functions
Method, (setf conn-type): Public generic functions
Method, (setf copy-format): Public generic functions
Method, (setf csv-escape): Private generic functions
Method, (setf csv-escape-mode): Private generic functions
Method, (setf csv-newline): Private generic functions
Method, (setf csv-quote): Private generic functions
Method, (setf csv-separator): Private generic functions
Method, (setf csv-trim-blanks): Private generic functions
Method, (setf db): Private generic functions
Method, (setf db-host): Public generic functions
Method, (setf db-name): Public generic functions
Method, (setf db-pass): Public generic functions
Method, (setf db-port): Public generic functions
Method, (setf db-user): Public generic functions
Method, (setf delimiter): Private generic functions
Method, (setf encoding): Public generic functions
Method, (setf encoding): Public generic functions
Method, (setf encoding): Public generic functions
Method, (setf encoding): Public generic functions
Method, (setf fd-arch): Private generic functions
Method, (setf fd-db3): Private generic functions
Method, (setf fd-path): Public generic functions
Method, (setf fd-uri): Private generic functions
Method, (setf fields): Public generic functions
Method, (setf has-sequences): Private generic functions
Method, (setf header): Public generic functions
Method, (setf md-spec): Public generic functions
Method, (setf md-strm): Public generic functions
Method, (setf myconn-use-ssl): Private generic functions
Method, (setf null-as): Private generic functions
Method, (setf pgconn-major-version): Public generic functions
Method, (setf pgconn-table-name): Public generic functions
Method, (setf pgconn-use-ssl): Public generic functions
Method, (setf pgconn-variant): Public generic functions
Method, (setf pgconn-version-string): Public generic functions
Method, (setf preprocessor): Public generic functions
Method, (setf range-list): Private generic functions
Method, (setf skip-lines): Public generic functions
Method, (setf source): Public generic functions
Method, (setf source-db): Public generic functions
Method, (setf source-type): Private generic functions
Method, (setf target): Public generic functions
Method, (setf target-db): Public generic functions
Method, (setf timezone): Private generic functions
Method, (setf transforms): Public generic functions
Method, add-column: Public generic functions
Method, add-column: Public generic functions
Method, add-extension: Public generic functions
Method, add-field: Public generic functions
Method, add-fkey: Public generic functions
Method, add-index: Public generic functions
Method, add-schema: Public generic functions
Method, add-sqltype: Public generic functions
Method, add-table: Public generic functions
Method, add-view: Public generic functions
Method, adjust-data-types: Public generic functions
Method, adjust-data-types: Public generic functions
Method, alter-schema: Public generic functions
Method, alter-schema: Public generic functions
Method, alter-table: Public generic functions
Method, alter-table: Public generic functions
Method, alter-table: Public generic functions
Method, apply-citus-rule: Private generic functions
Method, apply-citus-rule: Private generic functions
Method, cast: Public generic functions
Method, cast: Public generic functions
Method, cast: Public generic functions
Method, cast: Public generic functions
Method, cast: Public generic functions
Method, cast: Public generic functions
Method, cast: Public generic functions
Method, cast: Public generic functions
Method, cast: Public generic functions
Method, check-connection: Public generic functions
Method, check-connection: Public generic functions
Method, citus-rule: Private generic functions
Method, citus-rule-table: Private generic functions
Method, citus-rule-table: Private generic functions
Method, citus-rule-table-not-found-schema-name: Private generic functions
Method, citus-rule-table-not-found-table-name: Private generic functions
Method, citus-set-table: Private generic functions
Method, citus-set-table: Private generic functions
Method, cleanup: Public generic functions
Method, cleanup: Public generic functions
Method, cleanup: Public generic functions
Method, cleanup: Public generic functions
Method, clone-connection: Public generic functions
Method, clone-connection: Public generic functions
Method, clone-connection: Public generic functions
Method, clone-connection: Public generic functions
Method, clone-connection: Public generic functions
Method, clone-connection: Public generic functions
Method, clone-connection: Public generic functions
Method, clone-connection: Public generic functions
Method, clone-copy-for: Public generic functions
Method, clone-copy-for: Public generic functions
Method, clone-copy-for: Public generic functions
Method, clone-copy-for: Public generic functions
Method, close-connection: Public generic functions
Method, close-connection: Public generic functions
Method, close-connection: Public generic functions
Method, close-connection: Public generic functions
Method, close-connection: Public generic functions
Method, close-connection: Public generic functions
Method, close-connection: Public generic functions
Method, columns: Public generic functions
Method, complete-pgsql-database: Public generic functions
Method, compute-foreign-rules: Private generic functions
Method, compute-foreign-rules: Private generic functions
Method, concurrency-support: Public generic functions
Method, conn-handle: Public generic functions
Method, conn-type: Public generic functions
Method, connection-error-host: Private generic functions
Method, connection-error-mesg: Private generic functions
Method, connection-error-path: Private generic functions
Method, connection-error-port: Private generic functions
Method, connection-error-type: Private generic functions
Method, connection-error-user: Private generic functions
Method, copy-column-list: Public generic functions
Method, copy-column-list: Public generic functions
Method, copy-column-list: Public generic functions
Method, copy-column-list: Public generic functions
Method, copy-column-list: Public generic functions
Method, copy-column-list: Public generic functions
Method, copy-database: Public generic functions
Method, copy-database: Public generic functions
Method, copy-format: Public generic functions
Method, copy-from: Public generic functions
Method, copy-init-error-columns: Private generic functions
Method, copy-init-error-condition: Private generic functions
Method, copy-init-error-table: Private generic functions
Method, copy-to: Public generic functions
Method, count-fkeys: Public generic functions
Method, count-fkeys: Public generic functions
Method, count-fkeys: Public generic functions
Method, count-indexes: Public generic functions
Method, count-indexes: Public generic functions
Method, count-indexes: Public generic functions
Method, count-tables: Public generic functions
Method, count-tables: Public generic functions
Method, count-views: Public generic functions
Method, count-views: Public generic functions
Method, create-matviews: Public generic functions
Method, csv-escape: Private generic functions
Method, csv-escape-mode: Private generic functions
Method, csv-newline: Private generic functions
Method, csv-quote: Private generic functions
Method, csv-separator: Private generic functions
Method, csv-trim-blanks: Private generic functions
Method, data-is-preformatted-p: Public generic functions
Method, data-is-preformatted-p: Public generic functions
Method, db: Private generic functions
Method, db-host: Public generic functions
Method, db-name: Public generic functions
Method, db-pass: Public generic functions
Method, db-port: Public generic functions
Method, db-user: Public generic functions
Method, delimiter: Private generic functions
Method, drop-matviews: Public generic functions
Method, dumb-down-data-types-for-redshift: Private generic functions
Method, dumb-down-data-types-for-redshift: Private generic functions
Method, dumb-down-data-types-for-redshift: Private generic functions
Method, dumb-down-data-types-for-redshift: Private generic functions
Method, encode: Public standalone methods
Method, encode: Public standalone methods
Method, encode: Public standalone methods
Method, encode: Public standalone methods
Method, encoding: Public generic functions
Method, encoding: Public generic functions
Method, encoding: Public generic functions
Method, encoding: Public generic functions
Method, expand: Public generic functions
Method, expand: Public generic functions
Method, expand-spec: Public generic functions
Method, extend-current-tag: Private generic functions
Method, extension-list: Public generic functions
Method, extension-list: Public generic functions
Method, fd-arch: Private generic functions
Method, fd-db3: Private generic functions
Method, fd-path: Public generic functions
Method, fd-uri: Private generic functions
Method, fetch-columns: Public generic functions
Method, fetch-columns: Public generic functions
Method, fetch-columns: Public generic functions
Method, fetch-columns: Public generic functions
Method, fetch-columns: Public generic functions
Method, fetch-file: Public generic functions
Method, fetch-file: Public generic functions
Method, fetch-foreign-keys: Public generic functions
Method, fetch-foreign-keys: Public generic functions
Method, fetch-foreign-keys: Public generic functions
Method, fetch-indexes: Public generic functions
Method, fetch-indexes: Public generic functions
Method, fetch-indexes: Public generic functions
Method, fetch-metadata: Public generic functions
Method, fetch-metadata: Public generic functions
Method, fetch-metadata: Public generic functions
Method, fetch-metadata: Public generic functions
Method, fetch-metadata: Public generic functions
Method, fetch-metadata: Public generic functions
Method, fetch-table-row-count: Private generic functions
Method, field-name: Public generic functions
Method, field-name: Public generic functions
Method, field-name: Public generic functions
Method, fields: Public generic functions
Method, filter-list-to-where-clause: Public generic functions
Method, filter-list-to-where-clause: Public generic functions
Method, filter-list-to-where-clause: Public generic functions
Method, find-extension: Public generic functions
Method, find-fkey: Public generic functions
Method, find-index: Public generic functions
Method, find-schema: Public generic functions
Method, find-table: Public generic functions
Method, find-view: Public generic functions
Method, format-create-sql: Public generic functions
Method, format-create-sql: Public generic functions
Method, format-create-sql: Public generic functions
Method, format-create-sql: Public generic functions
Method, format-create-sql: Public generic functions
Method, format-create-sql: Public generic functions
Method, format-create-sql: Public generic functions
Method, format-create-sql: Public generic functions
Method, format-create-sql: Public generic functions
Method, format-create-sql: Public generic functions
Method, format-create-sql: Public generic functions
Method, format-current-tag: Private generic functions
Method, format-default-value: Public generic functions
Method, format-drop-sql: Public generic functions
Method, format-drop-sql: Public generic functions
Method, format-drop-sql: Public generic functions
Method, format-drop-sql: Public generic functions
Method, format-drop-sql: Public generic functions
Method, format-drop-sql: Public generic functions
Method, format-drop-sql: Public generic functions
Method, format-drop-sql: Public generic functions
Method, format-matview-name: Public generic functions
Method, format-table-name: Public generic functions
Method, get-column-list: Public generic functions
Method, get-column-list: Public generic functions
Method, get-column-sql-expression: Public generic functions
Method, get-column-sql-expression: Public generic functions
Method, get-first-lines: Private generic functions
Method, get-first-lines: Private generic functions
Method, has-sequences: Private generic functions
Method, header: Public generic functions
Method, initialize-instance: Public standalone methods
Method, initialize-instance: Public standalone methods
Method, initialize-instance: Public standalone methods
Method, initialize-instance: Public standalone methods
Method, initialize-instance: Public standalone methods
Method, initialize-instance: Public standalone methods
Method, initialize-instance: Public standalone methods
Method, initialize-instance: Public standalone methods
Method, initialize-instance: Public standalone methods
Method, initialize-instance: Public standalone methods
Method, initialize-instance: Public standalone methods
Method, initialize-instance: Public standalone methods
Method, instanciate-table-copy-object: Public generic functions
Method, instanciate-table-copy-object: Public generic functions
Method, instanciate-table-copy-object: Public generic functions
Method, instanciate-table-copy-object: Public generic functions
Method, map-rows: Public generic functions
Method, map-rows: Public generic functions
Method, map-rows: Public generic functions
Method, map-rows: Public generic functions
Method, map-rows: Public generic functions
Method, map-rows: Public generic functions
Method, map-rows: Public generic functions
Method, matches: Public generic functions
Method, matches: Public generic functions
Method, max-indexes-per-table: Public generic functions
Method, max-indexes-per-table: Public generic functions
Method, maybe-add-extension: Public generic functions
Method, maybe-add-fkey: Public generic functions
Method, maybe-add-index: Public generic functions
Method, maybe-add-schema: Public generic functions
Method, maybe-add-table: Public generic functions
Method, maybe-add-view: Public generic functions
Method, maybe-close-tags: Private generic functions
Method, md-spec: Public generic functions
Method, md-strm: Public generic functions
Method, monitor-real-error: Private generic functions
Method, mssql-column-ctype: Private generic functions
Method, myconn-use-ssl: Private generic functions
Method, null-as: Private generic functions
Method, on-error-condition: Private generic functions
Method, open-connection: Public generic functions
Method, open-connection: Public generic functions
Method, open-connection: Public generic functions
Method, open-connection: Public generic functions
Method, open-connection: Public generic functions
Method, open-connection: Public generic functions
Method, open-connection: Public generic functions
Method, parse-header: Public generic functions
Method, parse-header: Public generic functions
Method, parse-header: Public generic functions
Method, pgconn-major-version: Public generic functions
Method, pgconn-table-name: Public generic functions
Method, pgconn-use-ssl: Public generic functions
Method, pgconn-variant: Public generic functions
Method, pgconn-version-string: Public generic functions
Method, pgsql-column-ctype: Private generic functions
Method, pgtable-initialize-reject-files: Public generic functions
Method, pop-current-tag: Private generic functions
Method, prepare-pgsql-database: Public generic functions
Method, preprocess-row: Public generic functions
Method, preprocess-row: Public generic functions
Method, preprocessor: Public generic functions
Method, pretty-print: Private generic functions
Method, pretty-print: Private generic functions
Method, pretty-print: Private generic functions
Method, pretty-print: Private generic functions
Method, pretty-print: Private generic functions
Method, pretty-print: Private generic functions
Method, pretty-print: Private generic functions
Method, pretty-print: Private generic functions
Method, pretty-print: Private generic functions
Method, pretty-print: Private generic functions
Method, pretty-print: Private generic functions
Method, print-object: Public standalone methods
Method, print-object: Public standalone methods
Method, print-object: Public standalone methods
Method, print-object: Public standalone methods
Method, print-object: Public standalone methods
Method, print-object: Public standalone methods
Method, process-index-definitions: Public generic functions
Method, process-index-definitions: Public generic functions
Method, process-index-definitions: Public generic functions
Method, process-rows: Public generic functions
Method, process-rows: Public generic functions
Method, process-rows: Public generic functions
Method, push-new-tag: Private generic functions
Method, query: Public generic functions
Method, query: Public generic functions
Method, query: Public generic functions
Method, query: Public generic functions
Method, query: Public generic functions
Method, queue-raw-data: Public generic functions
Method, range-list: Private generic functions
Method, regression-test-filename: Private generic functions
Method, reset-state: Private generic functions
Method, rule-matches: Private generic functions
Method, rule-matches: Private generic functions
Method, set-gucs: Private generic functions
Method, set-param: Private generic functions
Method, skip-lines: Public generic functions
Method, source: Public generic functions
Method, source-db: Public generic functions
Method, source-definition-error-mesg: Private generic functions
Method, source-type: Private generic functions
Method, sqltype-list: Public generic functions
Method, sqltype-list: Public generic functions
Method, sqltype-list: Public generic functions
Method, sqltype-list: Public generic functions
Method, ssl-enable-p: Private generic functions
Method, ssl-mode: Private generic functions
Method, table-list: Public generic functions
Method, table-list: Public generic functions
Method, target: Public generic functions
Method, target-db: Public generic functions
Method, timezone: Private generic functions
Method, transforms: Public generic functions
Method, translate-index-filter: Public generic functions
Method, translate-index-filter: Public generic functions
Method, view-list: Public generic functions
Method, view-list: Public generic functions
mkdir-or-die: Private ordinary functions
monitor: Private ordinary functions
monitor-real-error: Private generic functions
monitor-real-error: Private generic functions
mssql-column-character-maximum-length: Private ordinary functions
mssql-column-character-set-name: Private ordinary functions
mssql-column-collation-name: Private ordinary functions
mssql-column-ctype: Private generic functions
mssql-column-ctype: Private generic functions
mssql-column-datetime-precision: Private ordinary functions
mssql-column-default: Private ordinary functions
mssql-column-identity: Private ordinary functions
mssql-column-name: Private ordinary functions
mssql-column-nullable: Private ordinary functions
mssql-column-numeric-precision: Private ordinary functions
mssql-column-numeric-precision-radix: Private ordinary functions
mssql-column-numeric-scale: Private ordinary functions
mssql-column-p: Private ordinary functions
mssql-column-schema: Private ordinary functions
mssql-column-table-name: Private ordinary functions
mssql-column-type: Private ordinary functions
mssql-query: Private ordinary functions
myconn-use-ssl: Private generic functions
myconn-use-ssl: Private generic functions
mysql-column-comment: Private ordinary functions
mysql-column-ctype: Private ordinary functions
mysql-column-default: Private ordinary functions
mysql-column-dtype: Private ordinary functions
mysql-column-extra: Private ordinary functions
mysql-column-name: Private ordinary functions
mysql-column-nullable: Private ordinary functions
mysql-column-p: Private ordinary functions
mysql-column-table-name: Private ordinary functions
mysql-query: Private ordinary functions

N
new-label: Public ordinary functions
new-label-dbname: Private ordinary functions
new-label-label: Private ordinary functions
new-label-p: Private ordinary functions
new-label-section: Private ordinary functions
new-pgsql-connection: Private ordinary functions
next-batch-rows: Private ordinary functions
normalize: Private ordinary functions
normalize-extra: Private ordinary functions
normalize-extra: Private ordinary functions
not-doublequote: Private ordinary functions
null-as: Private generic functions
null-as: Private generic functions

O
on-error-condition: Private generic functions
on-error-condition: Private generic functions
open-connection: Public generic functions
open-connection: Public generic functions
open-connection: Public generic functions
open-connection: Public generic functions
open-connection: Public generic functions
open-connection: Public generic functions
open-connection: Public generic functions
open-connection: Public generic functions
optimize-table-copy-ordering: Private ordinary functions
optname-char-p: Private ordinary functions
optvalue-char-p: Private ordinary functions

P
params-columns: Private ordinary functions
params-empty-string: Private ordinary functions
params-encoding: Private ordinary functions
params-fields: Private ordinary functions
params-filename: Private ordinary functions
params-format: Private ordinary functions
params-gucs: Private ordinary functions
params-is-template: Private ordinary functions
params-logs: Private ordinary functions
params-null-as: Private ordinary functions
params-p: Private ordinary functions
params-rejects: Private ordinary functions
params-separator: Private ordinary functions
params-skip-lines: Private ordinary functions
params-table: Private ordinary functions
params-truncate: Private ordinary functions
params-use-template: Private ordinary functions
parse-ccl-encodings-desc: Private ordinary functions
parse-ccl-encodings-desc-first-line: Private ordinary functions
parse-cli-casts: Public ordinary functions
parse-cli-encoding: Public ordinary functions
parse-cli-fields: Public ordinary functions
parse-cli-gucs: Public ordinary functions
parse-cli-options: Public ordinary functions
parse-cli-type: Public ordinary functions
parse-column-typemod: Public ordinary functions
parse-column-unsigned: Private ordinary functions
parse-columns-spec: Private ordinary functions
parse-commands: Public ordinary functions
parse-commands-from-file: Public ordinary functions
parse-copy-error-context: Private ordinary functions
parse-date-format: Public ordinary functions
parse-date-string: Public ordinary functions
parse-filename-for-source-type: Private ordinary functions
parse-header: Public generic functions
parse-header: Public generic functions
parse-header: Public generic functions
parse-header: Public generic functions
parse-index-column-names: Private ordinary functions
parse-index-filter-clause: Private ordinary functions
parse-ini-file: Public ordinary functions
parse-only-cols: Private ordinary functions
parse-pgpass-file: Private ordinary functions
parse-postgresql-version-number: Private ordinary functions
parse-postgresql-version-string: Private ordinary functions
parse-postgresql-version-variant: Private ordinary functions
parse-query: Private ordinary functions
parse-row: Private ordinary functions
parse-row: Private ordinary functions
parse-section: Private ordinary functions
parse-source-string: Public ordinary functions
parse-source-string-for-type: Public ordinary functions
parse-sql-file: Public ordinary functions
parse-sqlite-type-name: Public ordinary functions
parse-summary-filename: Private ordinary functions
parse-summary-type: Private ordinary functions
parse-target-pg-db-uri: Public ordinary functions
parse-target-string: Public ordinary functions
parse-value: Private ordinary functions
parser-filename: Private ordinary functions
parser-p: Private ordinary functions
parser-state: Private ordinary functions
parser-stream: Private ordinary functions
parser-tags: Private ordinary functions
pathname-to-url: Private ordinary functions
pf-legend: Private ordinary functions
pf-max-label-length: Private ordinary functions
pgconn-major-version: Public generic functions
pgconn-major-version: Public generic functions
pgconn-table-name: Public generic functions
pgconn-table-name: Public generic functions
pgconn-use-ssl: Public generic functions
pgconn-use-ssl: Public generic functions
pgconn-variant: Public generic functions
pgconn-variant: Public generic functions
pgconn-version-string: Public generic functions
pgconn-version-string: Public generic functions
pgpass-char-p: Private ordinary functions
pgpass-database: Private ordinary functions
pgpass-hostname: Private ordinary functions
pgpass-p: Private ordinary functions
pgpass-password: Private ordinary functions
pgpass-port: Private ordinary functions
pgpass-username: Private ordinary functions
pgsql-column-ctype: Private generic functions
pgsql-column-ctype: Private generic functions
pgsql-connect-and-execute-with-timing: Public ordinary functions
pgsql-connection-bindings: Private ordinary functions
pgsql-execute: Public ordinary functions
pgsql-execute-with-timing: Public ordinary functions
pgstate-bytes: Private ordinary functions
pgstate-decf: Public ordinary functions
pgstate-errs: Public ordinary functions
pgstate-get-label: Public ordinary functions
pgstate-incf: Public ordinary functions
pgstate-new-label: Public ordinary functions
pgstate-p: Private ordinary functions
pgstate-read: Public ordinary functions
pgstate-rows: Public ordinary functions
pgstate-rs: Private ordinary functions
pgstate-secs: Public ordinary functions
pgstate-setf: Public ordinary functions
pgstate-tables: Public ordinary functions
pgstate-tabnames: Public ordinary functions
pgstate-ws: Private ordinary functions
pgtable-bytes: Public ordinary functions
pgtable-errs: Private ordinary functions
pgtable-initialize-reject-files: Public generic functions
pgtable-initialize-reject-files: Public generic functions
pgtable-name: Private ordinary functions
pgtable-p: Private ordinary functions
pgtable-read: Private ordinary functions
pgtable-reject-data: Public ordinary functions
pgtable-reject-logs: Public ordinary functions
pgtable-rows: Public ordinary functions
pgtable-rs: Private ordinary functions
pgtable-secs: Public ordinary functions
pgtable-start: Public ordinary functions
pgtable-stop: Public ordinary functions
pgtable-ws: Private ordinary functions
pop-current-tag: Private generic functions
pop-current-tag: Private generic functions
prepare-and-format-row: Private ordinary functions
prepare-and-format-row-for-s3: Private ordinary functions
prepare-copy-parameters: Private ordinary functions
prepare-pgsql-database: Public generic functions
prepare-pgsql-database: Public generic functions
prepare-row: Private ordinary functions
preprocess-row: Public generic functions
preprocess-row: Public generic functions
preprocess-row: Public generic functions
preprocessor: Public generic functions
preprocessor: Public generic functions
pretty-print: Private generic functions
pretty-print: Private generic functions
pretty-print: Private generic functions
pretty-print: Private generic functions
pretty-print: Private generic functions
pretty-print: Private generic functions
pretty-print: Private generic functions
pretty-print: Private generic functions
pretty-print: Private generic functions
pretty-print: Private generic functions
pretty-print: Private generic functions
pretty-print: Private generic functions
pretty-print-bytes: Public ordinary functions
print-backtrace: Private ordinary functions
print-csv-option: Private ordinary functions
print-format-copy-p: Private ordinary functions
print-format-csv-p: Private ordinary functions
print-format-human-readable-p: Private ordinary functions
print-format-json-p: Private ordinary functions
print-format-p: Private ordinary functions
print-format-tab-p: Private ordinary functions
print-format-text-legend: Private ordinary functions
print-format-text-max-label-length: Private ordinary functions
print-format-text-p: Private ordinary functions
print-format-verbose-legend: Private ordinary functions
print-format-verbose-max-label-length: Private ordinary functions
print-format-verbose-p: Private ordinary functions
print-object: Public standalone methods
print-object: Public standalone methods
print-object: Public standalone methods
print-object: Public standalone methods
print-object: Public standalone methods
print-object: Public standalone methods
procedure-body: Public ordinary functions
procedure-language: Public ordinary functions
procedure-name: Public ordinary functions
procedure-p: Private ordinary functions
procedure-returns: Public ordinary functions
procedure-schema: Public ordinary functions
process-bad-row: Public ordinary functions
process-catalog: Private ordinary functions
process-command-file: Private ordinary functions
process-hostname: Private ordinary functions
process-index-definitions: Public generic functions
process-index-definitions: Public generic functions
process-index-definitions: Public generic functions
process-index-definitions: Public generic functions
process-quoted-regex: Private ordinary functions
process-regression-test: Private ordinary functions
process-relative-pathnames: Public ordinary functions
process-rows: Public generic functions
process-rows: Public generic functions
process-rows: Public generic functions
process-rows: Public generic functions
process-source-and-target: Private ordinary functions
process-triggers: Private ordinary functions
process-true-false: Private ordinary functions
process-update-stats-start-event: Private ordinary functions
process-update-stats-stop-event: Private ordinary functions
project-fields: Public ordinary functions
proprocess-row: Private generic functions
push-new-tag: Private generic functions
push-new-tag: Private generic functions
push-row: Private ordinary functions
push-to-end: Public macros

Q
query: Public generic functions
query: Public generic functions
query: Public generic functions
query: Public generic functions
query: Public generic functions
query: Public generic functions
query-table-schema: Private ordinary functions
queue-raw-data: Public generic functions
queue-raw-data: Public generic functions
queue-raw-data: Private generic functions
quoted-p: Public ordinary functions

R
range-list: Private generic functions
range-list: Private generic functions
read-default-value-for-param: Private ordinary functions
read-ini-file: Public ordinary functions
read-ini-file: Private ordinary functions
read-lines: Private ordinary functions
read-queries: Public ordinary functions
read-value-for-param: Private ordinary functions
reformat-then-process: Public ordinary functions
regex-match-rule-p: Private ordinary functions
regex-match-rule-target: Public ordinary functions
regression-test-expected-data-source: Private ordinary functions
regression-test-filename: Private generic functions
regression-test-filename: Private generic functions
reject-data-file: Private ordinary functions
reject-log-file: Private ordinary functions
relative-pathname: Private ordinary functions
remove-batch-control-option: Private ordinary functions
remove-null-characters: Private ordinary functions
report-current-summary: Private ordinary functions
report-full-summary: Public ordinary functions
report-summary-p: Private ordinary functions
report-summary-reset: Private ordinary functions
reset-sequences: Public ordinary functions
reset-sql-definitions: Private ordinary functions
reset-state: Private generic functions
reset-state: Private generic functions
retry-batch: Private ordinary functions
right-trim: Private ordinary functions
rule-matches: Private generic functions
rule-matches: Private generic functions
rule-matches: Private generic functions
run-commands: Public ordinary functions

S
same-type-p: Private ordinary functions
sanitize-user-gucs: Public ordinary functions
schema-catalog: Public ordinary functions
schema-extension-list: Public ordinary functions
schema-in-search-path: Public ordinary functions
schema-matview-list: Private ordinary functions
schema-name: Public ordinary functions
schema-p: Private ordinary functions
schema-source-name: Public ordinary functions
schema-sqltype-list: Public ordinary functions
schema-table-list: Public ordinary functions
schema-view-list: Public ordinary functions
self-upgrade: Private ordinary functions
send-batch: Private ordinary functions
send-batch-through-s3: Private ordinary functions
send-event: Public ordinary functions
send-log-message: Private ordinary functions
set-gucs: Private generic functions
set-gucs: Private generic functions
set-param: Private generic functions
set-param: Private generic functions
set-postgresql-version: Private ordinary functions
set-session-gucs: Private ordinary functions
set-table-oids: Public ordinary functions
set-to-enum-array: Private ordinary functions
show-encodings: Public ordinary functions
skip-lines: Public generic functions
skip-lines: Public generic functions
socket-directory-character-p: Private ordinary functions
source: Public generic functions
source: Public generic functions
source-db: Public generic functions
source-db: Public generic functions
source-definition-error-mesg: Private generic functions
source-definition-error-mesg: Private generic functions
source-type: Private generic functions
source-type: Private generic functions
split-columns-specs: Private ordinary functions
split-range: Public ordinary functions
sql: Public ordinary functions
sql-code-block: Private ordinary functions
sql-server-bit-to-boolean: Private ordinary functions
sql-server-uniqueidentifier-to-uuid: Private ordinary functions
sql-url-for-variant: Public ordinary functions
sqlite-encoding: Private ordinary functions
sqlite-pragma-encoding: Private ordinary functions
sqlite-timestamp-to-timestamp: Private ordinary functions
sqltype-extension: Public ordinary functions
sqltype-extra: Public ordinary functions
sqltype-list: Public generic functions
sqltype-list: Public generic functions
sqltype-list: Public generic functions
sqltype-list: Public generic functions
sqltype-list: Public generic functions
sqltype-name: Public ordinary functions
sqltype-p: Private ordinary functions
sqltype-schema: Public ordinary functions
sqltype-source-def: Public ordinary functions
sqltype-type: Public ordinary functions
ssl-enable-p: Private generic functions
ssl-enable-p: Private generic functions
ssl-mode: Private generic functions
ssl-mode: Private generic functions
start-logger: Public ordinary functions
start-monitor: Public ordinary functions
start-p: Private ordinary functions
start-start-logger: Private ordinary functions
state-bytes: Private ordinary functions
state-data: Public ordinary functions
state-p: Private ordinary functions
state-postload: Public ordinary functions
state-preload: Public ordinary functions
state-secs: Public ordinary functions
stop-logger: Public ordinary functions
stop-monitor: Public ordinary functions
stop-p: Private ordinary functions
stop-stop-logger: Private ordinary functions
stream-row: Private ordinary functions
stream-rows-to-copy: Private ordinary functions
string-match-rule-p: Private ordinary functions
string-match-rule-target: Public ordinary functions
string-to-copy-utf-8-bytes: Private ordinary functions
symbol-character-p: Private ordinary functions
symbol-first-character-p: Private ordinary functions

T
table-citus-rule: Public ordinary functions
table-column-list: Public ordinary functions
table-comment: Public ordinary functions
table-field-list: Public ordinary functions
table-fkey-list: Public ordinary functions
table-index-list: Public ordinary functions
table-list: Public generic functions
table-list: Public generic functions
table-list: Public generic functions
table-name: Public ordinary functions
table-oid: Public ordinary functions
table-p: Private ordinary functions
table-row-count-estimate: Public ordinary functions
table-schema: Public ordinary functions
table-source-name: Public ordinary functions
table-storage-parameter-list: Public ordinary functions
table-tablespace: Public ordinary functions
table-trigger-list: Public ordinary functions
target: Public generic functions
target: Public generic functions
target-db: Public generic functions
target-db: Public generic functions
test-casts: Private ordinary functions
test/parse-postgresql-version-string: Private ordinary functions
time-with-no-separator: Private ordinary functions
timezone: Private generic functions
timezone: Private generic functions
timing: Public macros
tinyint-to-boolean: Private ordinary functions
transform-function: Private ordinary functions
transforms: Public generic functions
transforms: Public generic functions
translate-index-filter: Public generic functions
translate-index-filter: Public generic functions
translate-index-filter: Public generic functions
trigger-action: Public ordinary functions
trigger-name: Public ordinary functions
trigger-p: Public ordinary functions
trigger-procedure: Public ordinary functions
trigger-table: Public ordinary functions
truncate-tables: Public ordinary functions
try-csv-params: Private ordinary functions
typemod-expr-matches-p: Public ordinary functions
typemod-expr-to-function: Public ordinary functions

U
unix-timestamp-to-timestamptz: Private ordinary functions
unquote: Public ordinary functions
untar: Private ordinary functions
unzip: Private ordinary functions
update-stats: Public ordinary functions
update-stats-bytes: Private ordinary functions
update-stats-errs: Private ordinary functions
update-stats-label: Private ordinary functions
update-stats-p: Private ordinary functions
update-stats-read: Private ordinary functions
update-stats-rows: Private ordinary functions
update-stats-rs: Private ordinary functions
update-stats-secs: Private ordinary functions
update-stats-section: Private ordinary functions
update-stats-start: Private ordinary functions
update-stats-stop: Private ordinary functions
update-stats-ws: Private ordinary functions
usage: Private ordinary functions
user-defined-columns: Private ordinary functions

V
varbinary-to-string: Private ordinary functions
view-list: Public generic functions
view-list: Public generic functions
view-list: Public generic functions

W
walk-sources-and-build-fs: Private ordinary functions
with-connection: Public macros
with-disabled-triggers: Public macros
with-encoding-handler: Private macros
with-monitor: Public macros
with-pgsql-connection: Public macros
with-pgsql-transaction: Public macros
with-schema: Public macros
with-stats-collection: Public macros
write-command-to-string: Public ordinary functions

Z
zero-dates-to-null: Private ordinary functions


A.3 Variables

Jump to:   *   +  
A   B   C   D   E   F   G   H   I   L   M   N   O   P   Q   R   S   T   U   V   W  
Index Entry  Section

*
*--load-list-file-extension-whitelist*: Private special variables
*cast-rules*: Public special variables
*ccl-describe-character-encodings*: Private special variables
*century*: Private special variables
*client-min-messages*: Public special variables
*connection*: Private special variables
*context*: Public special variables
*copy-batch-rows*: Public special variables
*copy-batch-size*: Public special variables
*cwd*: Private special variables
*data-expected-inline*: Private special variables
*data-source-filename-extensions*: Private special variables
*db3-default-cast-rules*: Public special variables
*decoding-as*: Public special variables
*default-cast-rules*: Public special variables
*default-tmpdir*: Public special variables
*dry-run*: Public special variables
*escape-quotes*: Private special variables
*fd-path-root*: Public special variables
*fs*: Private special variables
*get-code-for-source*: Private special variables
*global-section*: Private special variables
*http-buffer-size*: Private special variables
*identifier-case*: Public special variables
*ixf-pgsql-type-mapping*: Private special variables
*log-filename*: Public special variables
*log-messengers*: Public special variables
*log-min-messages*: Public special variables
*major-version*: Private special variables
*minor-version*: Private special variables
*monitoring-channel*: Private special variables
*monitoring-kernel*: Public special variables
*monitoring-queue*: Public special variables
*mssql-db*: Private special variables
*mssql-default-cast-rules*: Public special variables
*mssql-settings*: Public special variables
*mysql-default-cast-rules*: Public special variables
*mysql-settings*: Public special variables
*offset*: Private special variables
*on-error-stop*: Public special variables
*opt-spec*: Private special variables
*parse-rule-for-source-types*: Private special variables
*pg-settings*: Public special variables
*pgconn-variant*: Private special variables
*pgsql-client-certificate*: Private special variables
*pgsql-client-key*: Private special variables
*pgsql-default-cast-rules*: Public special variables
*pgsql-default-values*: Private special variables
*pgsql-reserved-keywords*: Public special variables
*pgsql-triggers-procedures*: Private special variables
*prefetch-rows*: Public special variables
*preserve-index-names*: Public special variables
*redshift-decimal-max-precision*: Private special variables
*redshift-reserved-keywords*: Private special variables
*redshift-supported-data-types*: Private special variables
*redshift-varchar-max-precision*: Private special variables
*release*: Private special variables
*report-stream*: Public special variables
*retry-connect-delay*: Private special variables
*retry-connect-times*: Private special variables
*root-dir*: Public special variables
*rows-per-range*: Public special variables
*sections*: Private special variables
*self-upgrade-immutable-systems*: Public special variables
*self-upgraded-already*: Private special variables
*separators*: Private special variables
*sqlite-db*: Private special variables
*sqlite-default-cast-rules*: Public special variables
*src*: Private special variables
*summary-pathname*: Public special variables
*supported-archive-types*: Private special variables
*table-type*: Private special variables
*table-type*: Private special variables
*table-type*: Private special variables
*test/versions*: Private special variables
*type-name-mapping*: Private special variables
*version-string*: Public special variables

+
+nsec+: Private constants
+os-code-error+: Public special variables
+os-code-error-bad-source+: Public special variables
+os-code-error-regress+: Public special variables
+os-code-error-usage+: Public special variables
+os-code-success+: Public special variables

A
action: Public structures
action: Public structures
arch: Public classes
args: Public structures
arguments: Public structures

B
body: Public structures
bytes: Public structures
bytes: Private structures
bytes: Private structures
bytes: Private structures
bytes: Private structures

C
catalog: Public structures
category: Public structures
character-maximum-length: Private structures
character-set-name: Private structures
citus-rule: Public structures
collation-name: Private structures
column-list: Public structures
columns: Public conditions
columns: Public structures
columns: Public structures
columns: Public classes
columns: Private structures
comment: Public structures
comment: Public structures
comment: Private structures
condef: Public structures
condef: Public structures
condition: Public conditions
condition: Private structures
conname: Public structures
Constant, +nsec+: Private constants
count: Private structures
ctype: Private structures
ctype: Private structures

D
data: Private structures
data: Private structures
data: Private structures
database: Private structures
datetime-precision: Private structures
db: Public classes
db3: Public classes
dbname: Public structures
default: Public structures
default: Private structures
default: Private structures
default: Private structures
default: Private structures
deferrable: Public structures
definition: Public structures
delete-rule: Public structures
delimiter: Public classes
description: Public structures
distribution-rules: Public structures
dtype: Private structures
dtype: Private structures

E
empty-string: Private structures
encoding: Public classes
encoding: Public classes
encoding: Public classes
encoding: Public classes
encoding: Private structures
errs: Public structures
errs: Private structures
errs: Private structures
escape: Public classes
escape-mode: Public classes
extension: Public structures
extension-list: Public structures
extra: Public structures
extra: Public structures
extra: Private structures
extra: Private structures
extra: Private structures

F
field-list: Public structures
fields: Public classes
fields: Private structures
filename: Private conditions
filename: Private structures
filename: Private structures
filename-list: Private conditions
filter: Public structures
fk-deps: Public structures
fkey-list: Public structures
foreign-columns: Public structures
foreign-table: Public structures
format: Public classes
format: Private structures
from: Public structures

G
gucs: Private structures

H
handle: Public classes
has-sequences: Public classes
header: Public classes
host: Public conditions
host: Public classes
hostname: Private structures

I
identity: Private structures
in-search-path: Public structures
index-list: Public structures
initially-deferred: Public structures
is-template: Private structures

L
label: Public structures
label: Public structures
label: Private structures
language: Public structures
legend: Private structures
length: Private structures
logs: Private structures

M
major-version: Public classes
match-rule: Public structures
matview-list: Public structures
max-count: Private structures
max-label-length: Private structures
mesg: Public conditions
mesg: Private conditions

N
name: Public structures
name: Public structures
name: Public structures
name: Public structures
name: Public structures
name: Public structures
name: Public structures
name: Public structures
name: Public structures
name: Public structures
name: Public structures
name: Public classes
name: Private structures
name: Private structures
name: Private structures
name: Private structures
name: Private structures
newline: Public classes
null-as: Public classes
null-as: Private structures
nullable: Public structures
nullable: Private structures
nullable: Private structures
nullable: Private structures
nullable: Private structures
numeric-precision: Private structures
numeric-precision-radix: Private structures
numeric-scale: Private structures

O
oid: Public structures
oid: Public structures
oid: Public structures
on-condition: Public conditions

P
pass: Public classes
password: Private structures
path: Public conditions
path: Public classes
pk-id: Private structures
pkey: Public structures
port: Public conditions
port: Public classes
port: Private structures
postload: Private structures
preload: Private structures
primary: Public structures
procedure: Public structures
process-fn: Public classes

Q
quote: Public classes

R
range-list: Public classes
read: Public structures
read: Private structures
read: Private structures
reject-data: Private structures
reject-logs: Private structures
rejects: Private structures
reset: Public structures
returns: Public structures
root-cause: Public conditions
row-count-estimate: Public structures
rows: Public structures
rows: Private structures
rows: Private structures
rs: Public structures
rs: Private structures
rs: Private structures
rule: Public conditions
rule: Public structures

S
schema: Public structures
schema: Public structures
schema: Public structures
schema: Public structures
schema: Public structures
schema: Public structures
schema: Public structures
schema: Private structures
schema-list: Public structures
schema-name: Public conditions
secs: Public structures
secs: Private structures
secs: Private structures
secs: Private structures
section: Public structures
section: Public structures
section: Private structures
separator: Public classes
separator: Private structures
seq: Private structures
skip-lines: Public classes
skip-lines: Private structures
Slot, action: Public structures
Slot, action: Public structures
Slot, arch: Public classes
Slot, args: Public structures
Slot, arguments: Public structures
Slot, body: Public structures
Slot, bytes: Public structures
Slot, bytes: Private structures
Slot, bytes: Private structures
Slot, bytes: Private structures
Slot, bytes: Private structures
Slot, catalog: Public structures
Slot, category: Public structures
Slot, character-maximum-length: Private structures
Slot, character-set-name: Private structures
Slot, citus-rule: Public structures
Slot, collation-name: Private structures
Slot, column-list: Public structures
Slot, columns: Public conditions
Slot, columns: Public structures
Slot, columns: Public structures
Slot, columns: Public classes
Slot, columns: Private structures
Slot, comment: Public structures
Slot, comment: Public structures
Slot, comment: Private structures
Slot, condef: Public structures
Slot, condef: Public structures
Slot, condition: Public conditions
Slot, condition: Private structures
Slot, conname: Public structures
Slot, count: Private structures
Slot, ctype: Private structures
Slot, ctype: Private structures
Slot, data: Private structures
Slot, data: Private structures
Slot, data: Private structures
Slot, database: Private structures
Slot, datetime-precision: Private structures
Slot, db: Public classes
Slot, db3: Public classes
Slot, dbname: Public structures
Slot, default: Public structures
Slot, default: Private structures
Slot, default: Private structures
Slot, default: Private structures
Slot, default: Private structures
Slot, deferrable: Public structures
Slot, definition: Public structures
Slot, delete-rule: Public structures
Slot, delimiter: Public classes
Slot, description: Public structures
Slot, distribution-rules: Public structures
Slot, dtype: Private structures
Slot, dtype: Private structures
Slot, empty-string: Private structures
Slot, encoding: Public classes
Slot, encoding: Public classes
Slot, encoding: Public classes
Slot, encoding: Public classes
Slot, encoding: Private structures
Slot, errs: Public structures
Slot, errs: Private structures
Slot, errs: Private structures
Slot, escape: Public classes
Slot, escape-mode: Public classes
Slot, extension: Public structures
Slot, extension-list: Public structures
Slot, extra: Public structures
Slot, extra: Public structures
Slot, extra: Private structures
Slot, extra: Private structures
Slot, extra: Private structures
Slot, field-list: Public structures
Slot, fields: Public classes
Slot, fields: Private structures
Slot, filename: Private conditions
Slot, filename: Private structures
Slot, filename: Private structures
Slot, filename-list: Private conditions
Slot, filter: Public structures
Slot, fk-deps: Public structures
Slot, fkey-list: Public structures
Slot, foreign-columns: Public structures
Slot, foreign-table: Public structures
Slot, format: Public classes
Slot, format: Private structures
Slot, from: Public structures
Slot, gucs: Private structures
Slot, handle: Public classes
Slot, has-sequences: Public classes
Slot, header: Public classes
Slot, host: Public conditions
Slot, host: Public classes
Slot, hostname: Private structures
Slot, identity: Private structures
Slot, in-search-path: Public structures
Slot, index-list: Public structures
Slot, initially-deferred: Public structures
Slot, is-template: Private structures
Slot, label: Public structures
Slot, label: Public structures
Slot, label: Private structures
Slot, language: Public structures
Slot, legend: Private structures
Slot, length: Private structures
Slot, logs: Private structures
Slot, major-version: Public classes
Slot, match-rule: Public structures
Slot, matview-list: Public structures
Slot, max-count: Private structures
Slot, max-label-length: Private structures
Slot, mesg: Public conditions
Slot, mesg: Private conditions
Slot, name: Public structures
Slot, name: Public structures
Slot, name: Public structures
Slot, name: Public structures
Slot, name: Public structures
Slot, name: Public structures
Slot, name: Public structures
Slot, name: Public structures
Slot, name: Public structures
Slot, name: Public structures
Slot, name: Public structures
Slot, name: Public classes
Slot, name: Private structures
Slot, name: Private structures
Slot, name: Private structures
Slot, name: Private structures
Slot, name: Private structures
Slot, newline: Public classes
Slot, null-as: Public classes
Slot, null-as: Private structures
Slot, nullable: Public structures
Slot, nullable: Private structures
Slot, nullable: Private structures
Slot, nullable: Private structures
Slot, nullable: Private structures
Slot, numeric-precision: Private structures
Slot, numeric-precision-radix: Private structures
Slot, numeric-scale: Private structures
Slot, oid: Public structures
Slot, oid: Public structures
Slot, oid: Public structures
Slot, on-condition: Public conditions
Slot, pass: Public classes
Slot, password: Private structures
Slot, path: Public conditions
Slot, path: Public classes
Slot, pk-id: Private structures
Slot, pkey: Public structures
Slot, port: Public conditions
Slot, port: Public classes
Slot, port: Private structures
Slot, postload: Private structures
Slot, preload: Private structures
Slot, primary: Public structures
Slot, procedure: Public structures
Slot, process-fn: Public classes
Slot, quote: Public classes
Slot, range-list: Public classes
Slot, read: Public structures
Slot, read: Private structures
Slot, read: Private structures
Slot, reject-data: Private structures
Slot, reject-logs: Private structures
Slot, rejects: Private structures
Slot, reset: Public structures
Slot, returns: Public structures
Slot, root-cause: Public conditions
Slot, row-count-estimate: Public structures
Slot, rows: Public structures
Slot, rows: Private structures
Slot, rows: Private structures
Slot, rs: Public structures
Slot, rs: Private structures
Slot, rs: Private structures
Slot, rule: Public conditions
Slot, rule: Public structures
Slot, schema: Public structures
Slot, schema: Public structures
Slot, schema: Public structures
Slot, schema: Public structures
Slot, schema: Public structures
Slot, schema: Public structures
Slot, schema: Public structures
Slot, schema: Private structures
Slot, schema-list: Public structures
Slot, schema-name: Public conditions
Slot, secs: Public structures
Slot, secs: Private structures
Slot, secs: Private structures
Slot, secs: Private structures
Slot, section: Public structures
Slot, section: Public structures
Slot, section: Private structures
Slot, separator: Public classes
Slot, separator: Private structures
Slot, seq: Private structures
Slot, skip-lines: Public classes
Slot, skip-lines: Private structures
Slot, source: Public classes
Slot, source-db: Public classes
Slot, source-def: Public structures
Slot, source-name: Public structures
Slot, source-name: Public structures
Slot, source-name: Public structures
Slot, source-type: Public classes
Slot, spec: Public classes
Slot, sql: Public structures
Slot, sqltype-list: Public structures
Slot, start: Public structures
Slot, start: Private structures
Slot, start: Private structures
Slot, start-logger: Private structures
Slot, state: Private structures
Slot, stop: Public structures
Slot, stop: Private structures
Slot, stop-logger: Private structures
Slot, storage-parameter-list: Public structures
Slot, stream: Private structures
Slot, strm: Public classes
Slot, table: Public conditions
Slot, table: Public structures
Slot, table: Public structures
Slot, table: Public structures
Slot, table: Public structures
Slot, table: Public structures
Slot, table: Public structures
Slot, table: Private structures
Slot, table-list: Public structures
Slot, table-name: Public conditions
Slot, table-name: Public classes
Slot, table-name: Private structures
Slot, table-name: Private structures
Slot, table-name: Private structures
Slot, tables: Private structures
Slot, tablespace: Public structures
Slot, tabnames: Private structures
Slot, tags: Private structures
Slot, target: Public structures
Slot, target: Public structures
Slot, target: Public classes
Slot, target-db: Public classes
Slot, timezone: Public classes
Slot, transform: Public structures
Slot, transform-default: Public structures
Slot, transforms: Public classes
Slot, trigger-list: Public structures
Slot, trim-blanks: Public classes
Slot, truncate: Private structures
Slot, type: Public conditions
Slot, type: Public structures
Slot, type: Public structures
Slot, type: Public classes
Slot, type: Private structures
Slot, type: Private structures
Slot, type-mod: Public structures
Slot, type-name: Public structures
Slot, types-without-btree: Public structures
Slot, unique: Public structures
Slot, update-rule: Public structures
Slot, uri: Public classes
Slot, use-ssl: Public classes
Slot, use-ssl: Public classes
Slot, use-template: Private structures
Slot, user: Public conditions
Slot, user: Public classes
Slot, username: Private structures
Slot, using: Public structures
Slot, variant: Public classes
Slot, version-string: Public classes
Slot, view-list: Public structures
Slot, ws: Public structures
Slot, ws: Private structures
Slot, ws: Private structures
source: Public classes
source-db: Public classes
source-def: Public structures
source-name: Public structures
source-name: Public structures
source-name: Public structures
source-type: Public classes
spec: Public classes
Special Variable, *--load-list-file-extension-whitelist*: Private special variables
Special Variable, *cast-rules*: Public special variables
Special Variable, *ccl-describe-character-encodings*: Private special variables
Special Variable, *century*: Private special variables
Special Variable, *client-min-messages*: Public special variables
Special Variable, *connection*: Private special variables
Special Variable, *context*: Public special variables
Special Variable, *copy-batch-rows*: Public special variables
Special Variable, *copy-batch-size*: Public special variables
Special Variable, *cwd*: Private special variables
Special Variable, *data-expected-inline*: Private special variables
Special Variable, *data-source-filename-extensions*: Private special variables
Special Variable, *db3-default-cast-rules*: Public special variables
Special Variable, *decoding-as*: Public special variables
Special Variable, *default-cast-rules*: Public special variables
Special Variable, *default-tmpdir*: Public special variables
Special Variable, *dry-run*: Public special variables
Special Variable, *escape-quotes*: Private special variables
Special Variable, *fd-path-root*: Public special variables
Special Variable, *fs*: Private special variables
Special Variable, *get-code-for-source*: Private special variables
Special Variable, *global-section*: Private special variables
Special Variable, *http-buffer-size*: Private special variables
Special Variable, *identifier-case*: Public special variables
Special Variable, *ixf-pgsql-type-mapping*: Private special variables
Special Variable, *log-filename*: Public special variables
Special Variable, *log-messengers*: Public special variables
Special Variable, *log-min-messages*: Public special variables
Special Variable, *major-version*: Private special variables
Special Variable, *minor-version*: Private special variables
Special Variable, *monitoring-channel*: Private special variables
Special Variable, *monitoring-kernel*: Public special variables
Special Variable, *monitoring-queue*: Public special variables
Special Variable, *mssql-db*: Private special variables
Special Variable, *mssql-default-cast-rules*: Public special variables
Special Variable, *mssql-settings*: Public special variables
Special Variable, *mysql-default-cast-rules*: Public special variables
Special Variable, *mysql-settings*: Public special variables
Special Variable, *offset*: Private special variables
Special Variable, *on-error-stop*: Public special variables
Special Variable, *opt-spec*: Private special variables
Special Variable, *parse-rule-for-source-types*: Private special variables
Special Variable, *pg-settings*: Public special variables
Special Variable, *pgconn-variant*: Private special variables
Special Variable, *pgsql-client-certificate*: Private special variables
Special Variable, *pgsql-client-key*: Private special variables
Special Variable, *pgsql-default-cast-rules*: Public special variables
Special Variable, *pgsql-default-values*: Private special variables
Special Variable, *pgsql-reserved-keywords*: Public special variables
Special Variable, *pgsql-triggers-procedures*: Private special variables
Special Variable, *prefetch-rows*: Public special variables
Special Variable, *preserve-index-names*: Public special variables
Special Variable, *redshift-decimal-max-precision*: Private special variables
Special Variable, *redshift-reserved-keywords*: Private special variables
Special Variable, *redshift-supported-data-types*: Private special variables
Special Variable, *redshift-varchar-max-precision*: Private special variables
Special Variable, *release*: Private special variables
Special Variable, *report-stream*: Public special variables
Special Variable, *retry-connect-delay*: Private special variables
Special Variable, *retry-connect-times*: Private special variables
Special Variable, *root-dir*: Public special variables
Special Variable, *rows-per-range*: Public special variables
Special Variable, *sections*: Private special variables
Special Variable, *self-upgrade-immutable-systems*: Public special variables
Special Variable, *self-upgraded-already*: Private special variables
Special Variable, *separators*: Private special variables
Special Variable, *sqlite-db*: Private special variables
Special Variable, *sqlite-default-cast-rules*: Public special variables
Special Variable, *src*: Private special variables
Special Variable, *summary-pathname*: Public special variables
Special Variable, *supported-archive-types*: Private special variables
Special Variable, *table-type*: Private special variables
Special Variable, *table-type*: Private special variables
Special Variable, *table-type*: Private special variables
Special Variable, *test/versions*: Private special variables
Special Variable, *type-name-mapping*: Private special variables
Special Variable, *version-string*: Public special variables
Special Variable, +os-code-error+: Public special variables
Special Variable, +os-code-error-bad-source+: Public special variables
Special Variable, +os-code-error-regress+: Public special variables
Special Variable, +os-code-error-usage+: Public special variables
Special Variable, +os-code-success+: Public special variables
sql: Public structures
sqltype-list: Public structures
start: Public structures
start: Private structures
start: Private structures
start-logger: Private structures
state: Private structures
stop: Public structures
stop: Private structures
stop-logger: Private structures
storage-parameter-list: Public structures
stream: Private structures
strm: Public classes

T
table: Public conditions
table: Public structures
table: Public structures
table: Public structures
table: Public structures
table: Public structures
table: Public structures
table: Private structures
table-list: Public structures
table-name: Public conditions
table-name: Public classes
table-name: Private structures
table-name: Private structures
table-name: Private structures
tables: Private structures
tablespace: Public structures
tabnames: Private structures
tags: Private structures
target: Public structures
target: Public structures
target: Public classes
target-db: Public classes
timezone: Public classes
transform: Public structures
transform-default: Public structures
transforms: Public classes
trigger-list: Public structures
trim-blanks: Public classes
truncate: Private structures
type: Public conditions
type: Public structures
type: Public structures
type: Public classes
type: Private structures
type: Private structures
type-mod: Public structures
type-name: Public structures
types-without-btree: Public structures

U
unique: Public structures
update-rule: Public structures
uri: Public classes
use-ssl: Public classes
use-ssl: Public classes
use-template: Private structures
user: Public conditions
user: Public classes
username: Private structures
using: Public structures

V
variant: Public classes
version-string: Public classes
view-list: Public structures

W
ws: Public structures
ws: Private structures
ws: Private structures


A.4 Data types

Jump to:   A   B   C   D   E   F   I   L   M   N   O   P   Q   R   S   T   U  
Index Entry  Section

A
alter-table.lisp: The pgloader/src/utils/alter-table․lisp file
api.lisp: The pgloader/src/sources/common/api․lisp file
api.lisp: The pgloader/src/load/api․lisp file
api.lisp: The pgloader/src/api․lisp file
archive.lisp: The pgloader/src/utils/archive․lisp file

B
bad-row: Private structures
batch: Private structures
bind.lisp: The pgloader/src/monkey/bind․lisp file

C
casting-rules.lisp: The pgloader/src/sources/common/casting-rules․lisp file
catalog: Public structures
catalog.lisp: The pgloader/src/utils/catalog․lisp file
charsets.lisp: The pgloader/src/utils/charsets․lisp file
citus-distributed-rule: Public structures
citus-reference-rule: Public structures
citus-rule-is-missing-from-list: Public conditions
citus-rule-table-not-found: Public conditions
citus.lisp: The pgloader/src/utils/citus․lisp file
Class, connection: Public classes
Class, copy: Public classes
Class, copy-connection: Public classes
Class, copy-copy: Public classes
Class, copy-csv: Public classes
Class, copy-db3: Public classes
Class, copy-fixed: Public classes
Class, copy-ixf: Public classes
Class, copy-mssql: Public classes
Class, copy-mysql: Public classes
Class, copy-pgsql: Public classes
Class, copy-sqlite: Public classes
Class, csv-connection: Public classes
Class, db-connection: Public classes
Class, db-copy: Public classes
Class, dbf-connection: Public classes
Class, fd-connection: Public classes
Class, fixed-connection: Public classes
Class, ixf-connection: Public classes
Class, md-connection: Public classes
Class, md-copy: Public classes
Class, mssql-connection: Public classes
Class, mysql-connection: Public classes
Class, pgsql-connection: Public classes
Class, sqlite-connection: Public classes
cli-parsing-error: Private conditions
coldef: Private structures
column: Public structures
command-alter-table.lisp: The pgloader/src/parsers/command-alter-table․lisp file
command-archive.lisp: The pgloader/src/parsers/command-archive․lisp file
command-cast-rules.lisp: The pgloader/src/parsers/command-cast-rules․lisp file
command-copy.lisp: The pgloader/src/parsers/command-copy․lisp file
command-csv.lisp: The pgloader/src/parsers/command-csv․lisp file
command-db-uri.lisp: The pgloader/src/parsers/command-db-uri․lisp file
command-dbf.lisp: The pgloader/src/parsers/command-dbf․lisp file
command-distribute.lisp: The pgloader/src/parsers/command-distribute․lisp file
command-fixed.lisp: The pgloader/src/parsers/command-fixed․lisp file
command-including-like.lisp: The pgloader/src/parsers/command-including-like․lisp file
command-ixf.lisp: The pgloader/src/parsers/command-ixf․lisp file
command-keywords.lisp: The pgloader/src/parsers/command-keywords․lisp file
command-materialize-views.lisp: The pgloader/src/parsers/command-materialize-views․lisp file
command-mssql.lisp: The pgloader/src/parsers/command-mssql․lisp file
command-mysql.lisp: The pgloader/src/parsers/command-mysql․lisp file
command-options.lisp: The pgloader/src/parsers/command-options․lisp file
command-parser.lisp: The pgloader/src/parsers/command-parser․lisp file
command-pgsql.lisp: The pgloader/src/parsers/command-pgsql․lisp file
command-regexp.lisp: The pgloader/src/parsers/command-regexp․lisp file
command-sexp.lisp: The pgloader/src/parsers/command-sexp․lisp file
command-source.lisp: The pgloader/src/parsers/command-source․lisp file
command-sql-block.lisp: The pgloader/src/parsers/command-sql-block․lisp file
command-sqlite.lisp: The pgloader/src/parsers/command-sqlite․lisp file
command-utils.lisp: The pgloader/src/parsers/command-utils․lisp file
common: The pgloader/src/sources/common module
Condition, citus-rule-is-missing-from-list: Public conditions
Condition, citus-rule-table-not-found: Public conditions
Condition, cli-parsing-error: Private conditions
Condition, configuration-limit-exceeded: Private conditions
Condition, connection-error: Public conditions
Condition, copy-init-error: Public conditions
Condition, db-connection-error: Public conditions
Condition, fd-connection-error: Public conditions
Condition, load-files-not-found-error: Private conditions
Condition, monitor-error: Public conditions
Condition, on-error-stop: Public conditions
Condition, regression-test-error: Private conditions
Condition, source-definition-error: Private conditions
Condition, too-many-connections: Private conditions
configuration-limit-exceeded: Private conditions
connection: Public classes
connection-error: Public conditions
connection.lisp: The pgloader/src/utils/connection․lisp file
connection.lisp: The pgloader/src/pgsql/connection․lisp file
copy: Public classes
copy-batch.lisp: The pgloader/src/pg-copy/copy-batch․lisp file
copy-connection: Public classes
copy-copy: Public classes
copy-csv: Public classes
copy-data.lisp: The pgloader/src/load/copy-data․lisp file
copy-db-write.lisp: The pgloader/src/pg-copy/copy-db-write․lisp file
copy-db3: Public classes
copy-fixed: Public classes
copy-format.lisp: The pgloader/src/pg-copy/copy-format․lisp file
copy-from-queue.lisp: The pgloader/src/pg-copy/copy-from-queue․lisp file
copy-init-error: Public conditions
copy-ixf: Public classes
copy-mssql: Public classes
copy-mysql: Public classes
copy-pgsql: Public classes
copy-retry-batch.lisp: The pgloader/src/pg-copy/copy-retry-batch․lisp file
copy-rows-in-batch-through-s3.lisp: The pgloader/src/pg-copy/copy-rows-in-batch-through-s3․lisp file
copy-rows-in-batch.lisp: The pgloader/src/pg-copy/copy-rows-in-batch․lisp file
copy-rows-in-stream.lisp: The pgloader/src/pg-copy/copy-rows-in-stream․lisp file
copy-sqlite: Public classes
copy.lisp: The pgloader/src/sources/copy․lisp file
csv: The pgloader/src/sources/csv module
csv-connection: Public classes
csv-guess.lisp: The pgloader/src/sources/csv/csv-guess․lisp file
csv.lisp: The pgloader/src/sources/csv/csv․lisp file

D
date-format.lisp: The pgloader/src/parsers/date-format․lisp file
db-connection: Public classes
db-connection-error: Public conditions
db-copy: Public classes
db3: The pgloader/src/sources/db3 module
db3-cast-rules.lisp: The pgloader/src/sources/db3/db3-cast-rules․lisp file
db3-coldef: Private structures
db3-connection.lisp: The pgloader/src/sources/db3/db3-connection․lisp file
db3-schema.lisp: The pgloader/src/sources/db3/db3-schema․lisp file
db3.lisp: The pgloader/src/sources/db3/db3․lisp file
dbf-connection: Public classes

E
extension: Public structures

F
fd-connection: Public classes
fd-connection-error: Public conditions
File, alter-table.lisp: The pgloader/src/utils/alter-table․lisp file
File, api.lisp: The pgloader/src/sources/common/api․lisp file
File, api.lisp: The pgloader/src/load/api․lisp file
File, api.lisp: The pgloader/src/api․lisp file
File, archive.lisp: The pgloader/src/utils/archive․lisp file
File, bind.lisp: The pgloader/src/monkey/bind․lisp file
File, casting-rules.lisp: The pgloader/src/sources/common/casting-rules․lisp file
File, catalog.lisp: The pgloader/src/utils/catalog․lisp file
File, charsets.lisp: The pgloader/src/utils/charsets․lisp file
File, citus.lisp: The pgloader/src/utils/citus․lisp file
File, command-alter-table.lisp: The pgloader/src/parsers/command-alter-table․lisp file
File, command-archive.lisp: The pgloader/src/parsers/command-archive․lisp file
File, command-cast-rules.lisp: The pgloader/src/parsers/command-cast-rules․lisp file
File, command-copy.lisp: The pgloader/src/parsers/command-copy․lisp file
File, command-csv.lisp: The pgloader/src/parsers/command-csv․lisp file
File, command-db-uri.lisp: The pgloader/src/parsers/command-db-uri․lisp file
File, command-dbf.lisp: The pgloader/src/parsers/command-dbf․lisp file
File, command-distribute.lisp: The pgloader/src/parsers/command-distribute․lisp file
File, command-fixed.lisp: The pgloader/src/parsers/command-fixed․lisp file
File, command-including-like.lisp: The pgloader/src/parsers/command-including-like․lisp file
File, command-ixf.lisp: The pgloader/src/parsers/command-ixf․lisp file
File, command-keywords.lisp: The pgloader/src/parsers/command-keywords․lisp file
File, command-materialize-views.lisp: The pgloader/src/parsers/command-materialize-views․lisp file
File, command-mssql.lisp: The pgloader/src/parsers/command-mssql․lisp file
File, command-mysql.lisp: The pgloader/src/parsers/command-mysql․lisp file
File, command-options.lisp: The pgloader/src/parsers/command-options․lisp file
File, command-parser.lisp: The pgloader/src/parsers/command-parser․lisp file
File, command-pgsql.lisp: The pgloader/src/parsers/command-pgsql․lisp file
File, command-regexp.lisp: The pgloader/src/parsers/command-regexp․lisp file
File, command-sexp.lisp: The pgloader/src/parsers/command-sexp․lisp file
File, command-source.lisp: The pgloader/src/parsers/command-source․lisp file
File, command-sql-block.lisp: The pgloader/src/parsers/command-sql-block․lisp file
File, command-sqlite.lisp: The pgloader/src/parsers/command-sqlite․lisp file
File, command-utils.lisp: The pgloader/src/parsers/command-utils․lisp file
File, connection.lisp: The pgloader/src/utils/connection․lisp file
File, connection.lisp: The pgloader/src/pgsql/connection․lisp file
File, copy-batch.lisp: The pgloader/src/pg-copy/copy-batch․lisp file
File, copy-data.lisp: The pgloader/src/load/copy-data․lisp file
File, copy-db-write.lisp: The pgloader/src/pg-copy/copy-db-write․lisp file
File, copy-format.lisp: The pgloader/src/pg-copy/copy-format․lisp file
File, copy-from-queue.lisp: The pgloader/src/pg-copy/copy-from-queue․lisp file
File, copy-retry-batch.lisp: The pgloader/src/pg-copy/copy-retry-batch․lisp file
File, copy-rows-in-batch-through-s3.lisp: The pgloader/src/pg-copy/copy-rows-in-batch-through-s3․lisp file
File, copy-rows-in-batch.lisp: The pgloader/src/pg-copy/copy-rows-in-batch․lisp file
File, copy-rows-in-stream.lisp: The pgloader/src/pg-copy/copy-rows-in-stream․lisp file
File, copy.lisp: The pgloader/src/sources/copy․lisp file
File, csv-guess.lisp: The pgloader/src/sources/csv/csv-guess․lisp file
File, csv.lisp: The pgloader/src/sources/csv/csv․lisp file
File, date-format.lisp: The pgloader/src/parsers/date-format․lisp file
File, db3-cast-rules.lisp: The pgloader/src/sources/db3/db3-cast-rules․lisp file
File, db3-connection.lisp: The pgloader/src/sources/db3/db3-connection․lisp file
File, db3-schema.lisp: The pgloader/src/sources/db3/db3-schema․lisp file
File, db3.lisp: The pgloader/src/sources/db3/db3․lisp file
File, files-and-pathnames.lisp: The pgloader/src/sources/common/files-and-pathnames․lisp file
File, fixed-guess.lisp: The pgloader/src/sources/fixed/fixed-guess․lisp file
File, fixed.lisp: The pgloader/src/sources/fixed/fixed․lisp file
File, ixf-cast-rules.lisp: The pgloader/src/sources/ixf/ixf-cast-rules․lisp file
File, ixf-connection.lisp: The pgloader/src/sources/ixf/ixf-connection․lisp file
File, ixf-schema.lisp: The pgloader/src/sources/ixf/ixf-schema․lisp file
File, ixf.lisp: The pgloader/src/sources/ixf/ixf․lisp file
File, load-file.lisp: The pgloader/src/load/load-file․lisp file
File, logs.lisp: The pgloader/src/utils/logs․lisp file
File, main.lisp: The pgloader/src/main․lisp file
File, matviews.lisp: The pgloader/src/sources/common/matviews․lisp file
File, md-methods.lisp: The pgloader/src/sources/common/md-methods․lisp file
File, merge-catalogs.lisp: The pgloader/src/pgsql/merge-catalogs․lisp file
File, methods.lisp: The pgloader/src/sources/common/methods․lisp file
File, migrate-database.lisp: The pgloader/src/load/migrate-database․lisp file
File, monitor.lisp: The pgloader/src/utils/monitor․lisp file
File, mssql-cast-rules.lisp: The pgloader/src/sources/mssql/mssql-cast-rules․lisp file
File, mssql-connection.lisp: The pgloader/src/sources/mssql/mssql-connection․lisp file
File, mssql-index-filters.lisp: The pgloader/src/sources/mssql/mssql-index-filters․lisp file
File, mssql-schema.lisp: The pgloader/src/sources/mssql/mssql-schema․lisp file
File, mssql.lisp: The pgloader/src/monkey/mssql․lisp file
File, mssql.lisp: The pgloader/src/sources/mssql/mssql․lisp file
File, mysql-cast-rules.lisp: The pgloader/src/sources/mysql/mysql-cast-rules․lisp file
File, mysql-connection.lisp: The pgloader/src/sources/mysql/mysql-connection․lisp file
File, mysql-schema.lisp: The pgloader/src/sources/mysql/mysql-schema․lisp file
File, mysql.lisp: The pgloader/src/sources/mysql/mysql․lisp file
File, package.lisp: The pgloader/src/package․lisp file
File, params.lisp: The pgloader/src/params․lisp file
File, parse-ini.lisp: The pgloader/src/parsers/parse-ini․lisp file
File, parse-pgpass.lisp: The pgloader/src/parsers/parse-pgpass․lisp file
File, parse-sqlite-type-name.lisp: The pgloader/src/parsers/parse-sqlite-type-name․lisp file
File, pgloader.asd: The pgloader/pgloader․asd file
File, pgsql-cast-rules.lisp: The pgloader/src/sources/pgsql/pgsql-cast-rules․lisp file
File, pgsql-create-schema.lisp: The pgloader/src/pgsql/pgsql-create-schema․lisp file
File, pgsql-ddl-citus.lisp: The pgloader/src/pgsql/pgsql-ddl-citus․lisp file
File, pgsql-ddl.lisp: The pgloader/src/pgsql/pgsql-ddl․lisp file
File, pgsql-finalize-catalogs.lisp: The pgloader/src/pgsql/pgsql-finalize-catalogs․lisp file
File, pgsql-index-filter.lisp: The pgloader/src/pgsql/pgsql-index-filter․lisp file
File, pgsql-schema.lisp: The pgloader/src/pgsql/pgsql-schema․lisp file
File, pgsql-trigger.lisp: The pgloader/src/pgsql/pgsql-trigger․lisp file
File, pgsql.lisp: The pgloader/src/sources/pgsql/pgsql․lisp file
File, pretty-print-state.lisp: The pgloader/src/utils/pretty-print-state․lisp file
File, project-fields.lisp: The pgloader/src/sources/common/project-fields․lisp file
File, queries.lisp: The pgloader/src/utils/queries․lisp file
File, quoting.lisp: The pgloader/src/utils/quoting․lisp file
File, read-sql-files.lisp: The pgloader/src/utils/read-sql-files․lisp file
File, regress.lisp: The pgloader/src/regress/regress․lisp file
File, reject.lisp: The pgloader/src/utils/reject․lisp file
File, report.lisp: The pgloader/src/utils/report․lisp file
File, sqlite-cast-rules.lisp: The pgloader/src/sources/sqlite/sqlite-cast-rules․lisp file
File, sqlite-connection.lisp: The pgloader/src/sources/sqlite/sqlite-connection․lisp file
File, sqlite-schema.lisp: The pgloader/src/sources/sqlite/sqlite-schema․lisp file
File, sqlite.lisp: The pgloader/src/sources/sqlite/sqlite․lisp file
File, state.lisp: The pgloader/src/utils/state․lisp file
File, template.lisp: The pgloader/src/parsers/template․lisp file
File, threads.lisp: The pgloader/src/utils/threads․lisp file
File, transforms.lisp: The pgloader/src/utils/transforms․lisp file
File, utils.lisp: The pgloader/src/utils/utils․lisp file
files-and-pathnames.lisp: The pgloader/src/sources/common/files-and-pathnames․lisp file
fixed: The pgloader/src/sources/fixed module
fixed-connection: Public classes
fixed-guess.lisp: The pgloader/src/sources/fixed/fixed-guess․lisp file
fixed.lisp: The pgloader/src/sources/fixed/fixed․lisp file
fkey: Public structures

I
index: Public structures
ixf: The pgloader/src/sources/ixf module
ixf-cast-rules.lisp: The pgloader/src/sources/ixf/ixf-cast-rules․lisp file
ixf-connection: Public classes
ixf-connection.lisp: The pgloader/src/sources/ixf/ixf-connection․lisp file
ixf-schema.lisp: The pgloader/src/sources/ixf/ixf-schema․lisp file
ixf.lisp: The pgloader/src/sources/ixf/ixf․lisp file

L
load: The pgloader/src/load module
load-file.lisp: The pgloader/src/load/load-file․lisp file
load-files-not-found-error: Private conditions
log-message: Public structures
logs.lisp: The pgloader/src/utils/logs․lisp file

M
main.lisp: The pgloader/src/main․lisp file
match-rule: Public structures
matview: Public structures
matviews.lisp: The pgloader/src/sources/common/matviews․lisp file
md-connection: Public classes
md-copy: Public classes
md-methods.lisp: The pgloader/src/sources/common/md-methods․lisp file
merge-catalogs.lisp: The pgloader/src/pgsql/merge-catalogs․lisp file
methods.lisp: The pgloader/src/sources/common/methods․lisp file
migrate-database.lisp: The pgloader/src/load/migrate-database․lisp file
Module, common: The pgloader/src/sources/common module
Module, csv: The pgloader/src/sources/csv module
Module, db3: The pgloader/src/sources/db3 module
Module, fixed: The pgloader/src/sources/fixed module
Module, ixf: The pgloader/src/sources/ixf module
Module, load: The pgloader/src/load module
Module, monkey: The pgloader/src/monkey module
Module, mssql: The pgloader/src/sources/mssql module
Module, mysql: The pgloader/src/sources/mysql module
Module, parsers: The pgloader/src/parsers module
Module, pg-copy: The pgloader/src/pg-copy module
Module, pgsql: The pgloader/src/pgsql module
Module, pgsql: The pgloader/src/sources/pgsql module
Module, regress: The pgloader/src/regress module
Module, sources: The pgloader/src/sources module
Module, sqlite: The pgloader/src/sources/sqlite module
Module, src: The pgloader/src module
Module, utils: The pgloader/src/utils module
monitor-error: Public conditions
monitor.lisp: The pgloader/src/utils/monitor․lisp file
monkey: The pgloader/src/monkey module
mssql: The pgloader/src/sources/mssql module
mssql-cast-rules.lisp: The pgloader/src/sources/mssql/mssql-cast-rules․lisp file
mssql-column: Private structures
mssql-connection: Public classes
mssql-connection.lisp: The pgloader/src/sources/mssql/mssql-connection․lisp file
mssql-index-filters.lisp: The pgloader/src/sources/mssql/mssql-index-filters․lisp file
mssql-schema.lisp: The pgloader/src/sources/mssql/mssql-schema․lisp file
mssql.lisp: The pgloader/src/monkey/mssql․lisp file
mssql.lisp: The pgloader/src/sources/mssql/mssql․lisp file
mysql: The pgloader/src/sources/mysql module
mysql-cast-rules.lisp: The pgloader/src/sources/mysql/mysql-cast-rules․lisp file
mysql-column: Private structures
mysql-connection: Public classes
mysql-connection.lisp: The pgloader/src/sources/mysql/mysql-connection․lisp file
mysql-schema.lisp: The pgloader/src/sources/mysql/mysql-schema․lisp file
mysql.lisp: The pgloader/src/sources/mysql/mysql․lisp file

N
new-label: Public structures

O
on-error-stop: Public conditions

P
Package, pgloader: The pgloader package
Package, pgloader.archive: The pgloader․archive package
Package, pgloader.catalog: The pgloader․catalog package
Package, pgloader.citus: The pgloader․citus package
Package, pgloader.connection: The pgloader․connection package
Package, pgloader.ini: The pgloader․ini package
Package, pgloader.load: The pgloader․load package
Package, pgloader.logs: The pgloader․logs package
Package, pgloader.monitor: The pgloader․monitor package
Package, pgloader.params: The pgloader․params package
Package, pgloader.parse-date: The pgloader․parse-date package
Package, pgloader.parser: The pgloader․parser package
Package, pgloader.pgcopy: The pgloader․pgcopy package
Package, pgloader.pgsql: The pgloader․pgsql package
Package, pgloader.queries: The pgloader․queries package
Package, pgloader.quoting: The pgloader․quoting package
Package, pgloader.source.copy: The pgloader․source․copy package
Package, pgloader.source.csv: The pgloader․source․csv package
Package, pgloader.source.db3: The pgloader․source․db3 package
Package, pgloader.source.fixed: The pgloader․source․fixed package
Package, pgloader.source.ixf: The pgloader․source․ixf package
Package, pgloader.source.mssql: The pgloader․source․mssql package
Package, pgloader.source.mssql.index-filter: The pgloader․source․mssql․index-filter package
Package, pgloader.source.mysql: The pgloader․source․mysql package
Package, pgloader.source.pgsql: The pgloader․source․pgsql package
Package, pgloader.source.sqlite: The pgloader․source․sqlite package
Package, pgloader.sources: The pgloader․sources package
Package, pgloader.sql: The pgloader․sql package
Package, pgloader.state: The pgloader․state package
Package, pgloader.syslog: The pgloader․syslog package
Package, pgloader.transforms: The pgloader․transforms package
Package, pgloader.user-symbols: The pgloader․user-symbols package
Package, pgloader.utils: The pgloader․utils package
package.lisp: The pgloader/src/package․lisp file
params: Private structures
params.lisp: The pgloader/src/params․lisp file
parse-ini.lisp: The pgloader/src/parsers/parse-ini․lisp file
parse-pgpass.lisp: The pgloader/src/parsers/parse-pgpass․lisp file
parse-sqlite-type-name.lisp: The pgloader/src/parsers/parse-sqlite-type-name․lisp file
parser: Private structures
parsers: The pgloader/src/parsers module
pg-copy: The pgloader/src/pg-copy module
pgloader: The pgloader system
pgloader: The pgloader package
pgloader.archive: The pgloader․archive package
pgloader.asd: The pgloader/pgloader․asd file
pgloader.catalog: The pgloader․catalog package
pgloader.citus: The pgloader․citus package
pgloader.connection: The pgloader․connection package
pgloader.ini: The pgloader․ini package
pgloader.load: The pgloader․load package
pgloader.logs: The pgloader․logs package
pgloader.monitor: The pgloader․monitor package
pgloader.params: The pgloader․params package
pgloader.parse-date: The pgloader․parse-date package
pgloader.parser: The pgloader․parser package
pgloader.pgcopy: The pgloader․pgcopy package
pgloader.pgsql: The pgloader․pgsql package
pgloader.queries: The pgloader․queries package
pgloader.quoting: The pgloader․quoting package
pgloader.source.copy: The pgloader․source․copy package
pgloader.source.csv: The pgloader․source․csv package
pgloader.source.db3: The pgloader․source․db3 package
pgloader.source.fixed: The pgloader․source․fixed package
pgloader.source.ixf: The pgloader․source․ixf package
pgloader.source.mssql: The pgloader․source․mssql package
pgloader.source.mssql.index-filter: The pgloader․source․mssql․index-filter package
pgloader.source.mysql: The pgloader․source․mysql package
pgloader.source.pgsql: The pgloader․source․pgsql package
pgloader.source.sqlite: The pgloader․source․sqlite package
pgloader.sources: The pgloader․sources package
pgloader.sql: The pgloader․sql package
pgloader.state: The pgloader․state package
pgloader.syslog: The pgloader․syslog package
pgloader.transforms: The pgloader․transforms package
pgloader.user-symbols: The pgloader․user-symbols package
pgloader.utils: The pgloader․utils package
pgpass: Private structures
pgsql: The pgloader/src/pgsql module
pgsql: The pgloader/src/sources/pgsql module
pgsql-cast-rules.lisp: The pgloader/src/sources/pgsql/pgsql-cast-rules․lisp file
pgsql-connection: Public classes
pgsql-create-schema.lisp: The pgloader/src/pgsql/pgsql-create-schema․lisp file
pgsql-ddl-citus.lisp: The pgloader/src/pgsql/pgsql-ddl-citus․lisp file
pgsql-ddl.lisp: The pgloader/src/pgsql/pgsql-ddl․lisp file
pgsql-finalize-catalogs.lisp: The pgloader/src/pgsql/pgsql-finalize-catalogs․lisp file
pgsql-index-filter.lisp: The pgloader/src/pgsql/pgsql-index-filter․lisp file
pgsql-schema.lisp: The pgloader/src/pgsql/pgsql-schema․lisp file
pgsql-trigger.lisp: The pgloader/src/pgsql/pgsql-trigger․lisp file
pgsql.lisp: The pgloader/src/sources/pgsql/pgsql․lisp file
pgstate: Private structures
pgtable: Private structures
postgresql-retryable: Public types
postgresql-unavailable: Public types
pretty-print-state.lisp: The pgloader/src/utils/pretty-print-state․lisp file
print-format: Private structures
print-format-copy: Private structures
print-format-csv: Private structures
print-format-human-readable: Private structures
print-format-json: Private structures
print-format-tab: Private structures
print-format-text: Private structures
print-format-verbose: Private structures
procedure: Public structures
project-fields.lisp: The pgloader/src/sources/common/project-fields․lisp file

Q
queries.lisp: The pgloader/src/utils/queries․lisp file
quoting.lisp: The pgloader/src/utils/quoting․lisp file

R
read-sql-files.lisp: The pgloader/src/utils/read-sql-files․lisp file
regex-match-rule: Public structures
regress: The pgloader/src/regress module
regress.lisp: The pgloader/src/regress/regress․lisp file
regression-test-error: Private conditions
reject.lisp: The pgloader/src/utils/reject․lisp file
report-summary: Public structures
report.lisp: The pgloader/src/utils/report․lisp file

S
schema: Public structures
source-definition-error: Private conditions
sources: The pgloader/src/sources module
sqlite: The pgloader/src/sources/sqlite module
sqlite-cast-rules.lisp: The pgloader/src/sources/sqlite/sqlite-cast-rules․lisp file
sqlite-connection: Public classes
sqlite-connection.lisp: The pgloader/src/sources/sqlite/sqlite-connection․lisp file
sqlite-schema.lisp: The pgloader/src/sources/sqlite/sqlite-schema․lisp file
sqlite.lisp: The pgloader/src/sources/sqlite/sqlite․lisp file
sqltype: Public structures
src: The pgloader/src module
start: Private structures
state: Private structures
state.lisp: The pgloader/src/utils/state․lisp file
stop: Private structures
string-match-rule: Public structures
Structure, bad-row: Private structures
Structure, batch: Private structures
Structure, catalog: Public structures
Structure, citus-distributed-rule: Public structures
Structure, citus-reference-rule: Public structures
Structure, coldef: Private structures
Structure, column: Public structures
Structure, db3-coldef: Private structures
Structure, extension: Public structures
Structure, fkey: Public structures
Structure, index: Public structures
Structure, log-message: Public structures
Structure, match-rule: Public structures
Structure, matview: Public structures
Structure, mssql-column: Private structures
Structure, mysql-column: Private structures
Structure, new-label: Public structures
Structure, params: Private structures
Structure, parser: Private structures
Structure, pgpass: Private structures
Structure, pgstate: Private structures
Structure, pgtable: Private structures
Structure, print-format: Private structures
Structure, print-format-copy: Private structures
Structure, print-format-csv: Private structures
Structure, print-format-human-readable: Private structures
Structure, print-format-json: Private structures
Structure, print-format-tab: Private structures
Structure, print-format-text: Private structures
Structure, print-format-verbose: Private structures
Structure, procedure: Public structures
Structure, regex-match-rule: Public structures
Structure, report-summary: Public structures
Structure, schema: Public structures
Structure, sqltype: Public structures
Structure, start: Private structures
Structure, state: Private structures
Structure, stop: Private structures
Structure, string-match-rule: Public structures
Structure, table: Public structures
Structure, trigger: Public structures
Structure, update-stats: Public structures
System, pgloader: The pgloader system

T
table: Public structures
template.lisp: The pgloader/src/parsers/template․lisp file
threads.lisp: The pgloader/src/utils/threads․lisp file
too-many-connections: Private conditions
transforms.lisp: The pgloader/src/utils/transforms․lisp file
trigger: Public structures
Type, postgresql-retryable: Public types
Type, postgresql-unavailable: Public types

U
update-stats: Public structures
utils: The pgloader/src/utils module
utils.lisp: The pgloader/src/utils/utils․lisp file