Skip to content

Commit a3dfc02

Browse files
authored
Merge branch 'main' into feat/list_matviews
2 parents 15b3cef + a69fce0 commit a3dfc02

File tree

5 files changed

+38
-37
lines changed

5 files changed

+38
-37
lines changed

DESCRIPTION

+2-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: RPostgres
22
Title: C++ Interface to PostgreSQL
3-
Version: 1.4.6.9005
4-
Date: 2024-01-24
3+
Version: 1.4.6.9006
4+
Date: 2024-04-02
55
Authors@R: c(
66
person("Hadley", "Wickham", role = "aut"),
77
person("Jeroen", "Ooms", role = "aut"),
@@ -101,7 +101,6 @@ Collate:
101101
'dbWriteTable_PqConnection_character_data.frame.R'
102102
'default.R'
103103
'export.R'
104-
'names.R'
105104
'quote.R'
106105
'show_PqConnection.R'
107106
'sqlData_PqConnection.R'

NEWS.md

+35
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,40 @@
11
<!-- NEWS.md is maintained by https://fledge.cynkra.com, contributors should not edit this file -->
22

3+
# RPostgres 1.4.6.9006 (2024-04-02)
4+
5+
## Bug fixes
6+
7+
- `dbWriteTable()` correctly handles name clashes between temporary and permanent tables (#402, #431).
8+
9+
- Fix `dbQuoteIdentifier()` for `Id()` objects to no longer rely on names (#460).
10+
11+
## Features
12+
13+
- Breaking change: Avoid appending a numeric suffix to duplicate column names (#463).
14+
15+
## Chore
16+
17+
- Refactor `dbListTables()` et al. (@dpprdan, #413).
18+
19+
- Refactor `list_fields()` (#462).
20+
21+
- Use `Id` in `exists_table()` (#461).
22+
23+
- Add Aviator configuration.
24+
25+
## Documentation
26+
27+
- Use dbitemplate (@maelle, #456).
28+
29+
## Testing
30+
31+
- Test for columns in `dbQuoteIdentifier()` (@dpprdan, #263, #372).
32+
33+
## Breaking changes
34+
35+
- Breaking change: Avoid appending a numeric suffix to duplicate column names (#463).
36+
37+
338
# RPostgres 1.4.6.9005 (2024-01-24)
439

540
- Internal changes only.

R/dbColumnInfo_PqResult.R

-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
dbColumnInfo_PqResult <- function(res, ...) {
44
rci <- result_column_info(res@ptr)
55
rci <- cbind(rci, .typname = type_lookup(rci[[".oid"]], res@conn), stringsAsFactors = FALSE)
6-
rci$name <- tidy_names(rci$name)
76
rci
87
}
98

R/dbFetch_PqResult.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dbFetch_PqResult <- function(res, n = -1, ..., row.names = FALSE) {
1313
ret <- convert_bigint(ret, res@bigint)
1414
ret <- finalize_types(ret, res@conn)
1515
ret <- fix_timezone(ret, res@conn)
16-
set_tidy_names(ret)
16+
ret
1717
}
1818

1919
#' @rdname postgres-query

R/names.R

-32
This file was deleted.

0 commit comments

Comments
 (0)