Comments (4)
Ugh, I see what I was doing there .. PostgreSQL column names obviously cannot have special characters in them 😅.
from rpostgres.
Thanks. Is this on Windows? I believe special characters are allowed, and none of this should ever crash the session.
from rpostgres.
You're right @krlmlr, i gave up to quickly, special characters should be fine.
And indeed I am on Windows, hence exasperation at encoding issues is my middle name :), my session info is below.
> sessionInfo()
R version 4.1.2 (2021-11-01)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19044)
Matrix products: default
locale:
[1] LC_COLLATE=Slovenian_Slovenia.1250 LC_CTYPE=Slovenian_Slovenia.1250
[3] LC_MONETARY=Slovenian_Slovenia.1250 LC_NUMERIC=C
[5] LC_TIME=Slovenian_Slovenia.1250
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] dittodb_0.1.4 dplyr_1.0.9 RPostgres_1.4.4 DBI_1.1.3 SURSfetchR_0.0.4
[6] testthat_3.1.4
loaded via a namespace (and not attached):
[1] tidyselect_1.1.2 remotes_2.4.2 purrr_0.3.4 reshape2_1.4.4 vctrs_0.4.1
[6] generics_0.1.3 usethis_2.1.6 pxR_0.42.4 utf8_1.2.2 blob_1.2.3
[11] rlang_1.0.3 pkgbuild_1.3.1 pillar_1.7.0 glue_1.6.2 bit64_4.0.5
[16] sessioninfo_1.2.2 lifecycle_1.0.1 plyr_1.8.7 stringr_1.4.0 data.tree_1.0.0
[21] devtools_2.4.3 memoise_2.0.1 callr_3.7.0 fastmap_1.1.0 ps_1.7.1
[26] fansi_1.0.3 Rcpp_1.0.8.3 cachem_1.0.6 pkgload_1.3.0 fs_1.5.2
[31] bit_4.0.4 brio_1.1.3 hms_1.1.1 digest_0.6.29 stringi_1.7.6
[36] processx_3.6.1 RJSONIO_1.3-1.6 RPostgreSQL_0.7-3 cli_3.3.0 tools_4.1.2
[41] magrittr_2.0.3 tibble_3.1.7 RSQLite_2.2.14 crayon_1.5.1 pkgconfig_2.0.3
[46] ellipsis_0.3.2 rsconnect_0.8.26 prettyunits_1.1.1 lubridate_1.8.0 assertthat_0.2.1
[51] rstudioapi_0.13 R6_2.5.1 compiler_4.1.2
from rpostgres.
Thanks for the heads-up. Closing, happy to revisit if we indeed observe a crash with invalid input. The situation should be much better with R 4.2 or later.
from rpostgres.
Related Issues (20)
- Failure to acquire connections on Mac OS within multicore fork()-ed process HOT 2
- Redshift varchar character length not respected by dplyr::rows_*() HOT 5
- collation warning on Ubuntu 22.04 HOT 4
- relicense RPostgres as MIT HOT 2
- using databases.pacha.dev for testing HOT 4
- Curious bug with transaction and `dbSendQuery()` HOT 6
- Redshift: dbWriteTable() with larger DFs and CSVs HOT 3
- Unable to create table with logical column HOT 4
- Schema with DBI::Id appears not to work with `dbListTables` HOT 4
- Bigints in dbQuoteLiteral HOT 4
- Polygon/multipolygon columns: incorrect write, correct read HOT 7
- Something wrong with the 1.4.5 Mac binary on CRAN with Redshift HOT 33
- How to deal with `pq__varchar` columns HOT 11
- vendoring cpp11 headers HOT 1
- RPostgres should respect system timezone rather than default to UTC HOT 9
- unnamed `Id()` breaks `dbQuoteIdentifier()` HOT 10
- Option to convert "enum" types to factor or character? HOT 11
- Memory leak when querying from a packaged function HOT 3
- RPostgres dbConnect crashes with segfault in R 4.2.3 running on RHEL 8 HOT 1
- Configuration failed because libpq was not found. HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rpostgres.