Skip to content

Commit

Permalink
Merge branch 'main' into feat/list_matviews
Browse files Browse the repository at this point in the history
  • Loading branch information
dpprdan authored Apr 3, 2024
2 parents 15b3cef + a69fce0 commit a3dfc02
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 37 deletions.
5 changes: 2 additions & 3 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package: RPostgres
Title: C++ Interface to PostgreSQL
Version: 1.4.6.9005
Date: 2024-01-24
Version: 1.4.6.9006
Date: 2024-04-02
Authors@R: c(
person("Hadley", "Wickham", role = "aut"),
person("Jeroen", "Ooms", role = "aut"),
Expand Down Expand Up @@ -101,7 +101,6 @@ Collate:
'dbWriteTable_PqConnection_character_data.frame.R'
'default.R'
'export.R'
'names.R'
'quote.R'
'show_PqConnection.R'
'sqlData_PqConnection.R'
Expand Down
35 changes: 35 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,40 @@
<!-- NEWS.md is maintained by https://fledge.cynkra.com, contributors should not edit this file -->

# RPostgres 1.4.6.9006 (2024-04-02)

## Bug fixes

- `dbWriteTable()` correctly handles name clashes between temporary and permanent tables (#402, #431).

- Fix `dbQuoteIdentifier()` for `Id()` objects to no longer rely on names (#460).

## Features

- Breaking change: Avoid appending a numeric suffix to duplicate column names (#463).

## Chore

- Refactor `dbListTables()` et al. (@dpprdan, #413).

- Refactor `list_fields()` (#462).

- Use `Id` in `exists_table()` (#461).

- Add Aviator configuration.

## Documentation

- Use dbitemplate (@maelle, #456).

## Testing

- Test for columns in `dbQuoteIdentifier()` (@dpprdan, #263, #372).

## Breaking changes

- Breaking change: Avoid appending a numeric suffix to duplicate column names (#463).


# RPostgres 1.4.6.9005 (2024-01-24)

- Internal changes only.
Expand Down
1 change: 0 additions & 1 deletion R/dbColumnInfo_PqResult.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
dbColumnInfo_PqResult <- function(res, ...) {
rci <- result_column_info(res@ptr)
rci <- cbind(rci, .typname = type_lookup(rci[[".oid"]], res@conn), stringsAsFactors = FALSE)
rci$name <- tidy_names(rci$name)
rci
}

Expand Down
2 changes: 1 addition & 1 deletion R/dbFetch_PqResult.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dbFetch_PqResult <- function(res, n = -1, ..., row.names = FALSE) {
ret <- convert_bigint(ret, res@bigint)
ret <- finalize_types(ret, res@conn)
ret <- fix_timezone(ret, res@conn)
set_tidy_names(ret)
ret
}

#' @rdname postgres-query
Expand Down
32 changes: 0 additions & 32 deletions R/names.R

This file was deleted.

0 comments on commit a3dfc02

Please sign in to comment.