Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ jobs:
test:
name: Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
runs-on: ${{ matrix.os }}
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
Expand Down Expand Up @@ -49,6 +50,7 @@ jobs:
auth-modes:
name: Auth ${{ matrix.auth }} - Julia 1 - ubuntu-latest
runs-on: ubuntu-latest
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
Expand Down
3 changes: 2 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@ julia = "1.10"

[extras]
Harbor = "af79dbb9-1a80-47ad-8928-192a4af69376"
JuliaC = "acedd4c2-ced6-4a15-accc-2607eb759ba2"
Sockets = "6462fe0b-24de-5631-8697-dd941f90decc"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Harbor", "Sockets", "Test"]
test = ["Harbor", "JuliaC", "Sockets", "Test"]
14 changes: 14 additions & 0 deletions docs/src/manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,20 @@ profiles = DBInterface.execute(conn, """

The `postgres=(name=:column_name,)` tag is only needed when a column should map to a differently named field. Columns such as `id` or `name` can be left untagged because they already match the Julia field name.

### Driver Styles

Connection behavior such as query logging, server notices, and asynchronous
notifications is selected by a concrete driver style. Subtype
`Postgres.AbstractPostgresStyle`, overload the documented behavior hooks for
that style, and pass an instance with the `style` connection keyword. The
default `Postgres.PostgresStyle` keeps query logging disabled and reports
server notices through Julia's logger.

```@docs
Postgres.AbstractPostgresStyle
Postgres.PostgresStyle
```

## Parameters And Prepared Statements

Use PostgreSQL placeholders (`$1`, `$2`, ...) and pass a tuple or other iterable of parameter values.
Expand Down
97 changes: 31 additions & 66 deletions src/Postgres.jl

Large diffs are not rendered by default.

292 changes: 207 additions & 85 deletions src/api/API.jl

Large diffs are not rendered by default.

Loading
Loading