You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
unrecognized PostgreSQL field type uuid (id:2950) #30
Warning messages:
1: In postgresqlExecStatement(conn, statement, ...) :
RS-DBI driver warning: (unrecognized PostgreSQL field type uuid (id:2950) in column 0)
2: In postgresqlExecStatement(conn, statement, ...) :
RS-DBI driver warning: (unrecognized PostgreSQL field type uuid (id:2950) in column 1)
It is indeed character data in R. However, as soon as you connect to or use a table with Postgres field type UUID, the driver starts throwing warnings. Incessant warnings over nothing are undesirable.
But for other cases the warning is helpful. E.g. if you have the citext (case insensitive text) plug-in installed, then you have to be careful writing and downloading data from case insensitive columns.
Can someone review the pull request #55 and merge or make recommendations for modifications? I just want the changes to be fresh if there is a discussion to be had and it seems like people would like to see a fix added.
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.
Activity
koseri commentedon Apr 21, 2015
BTW, if you don't have any UUIDs handy, Postgres will be glad to make them for you.
alexfun commentedon Apr 28, 2015
Is this a problem? R doesn't have any default data types to handle uuids... I am guessing it gets converted to character().
koseri commentedon Apr 28, 2015
It is indeed character data in R. However, as soon as you connect to or use a table with Postgres field type UUID, the driver starts throwing warnings. Incessant warnings over nothing are undesirable.
alexfun commentedon Apr 29, 2015
But for other cases the warning is helpful. E.g. if you have the citext (case insensitive text) plug-in installed, then you have to be careful writing and downloading data from case insensitive columns.
koseri commentedon Apr 29, 2015
The idea would be to throw warnings only for truly unrecognized types.
Andrei-Pozolotin commentedon Jul 9, 2015
+1
abhoffman commentedon Aug 10, 2015
+1
thoughtfuldata commentedon Aug 10, 2015
+1
added test and fix for uuid. closes r-dbi#30
added uuid to recongnized type. closes r-dbi#30
EmteZogaf commentedon Jan 26, 2016
+1
JackStat commentedon Jan 27, 2016
Can someone review the pull request #55 and merge or make recommendations for modifications? I just want the changes to be fresh if there is a discussion to be had and it seems like people would like to see a fix added.
krlmlr commentedon Jan 27, 2016
Done. For now there's
devtools::install_github("rstats-db/RPostgres#55")Merge pull request #55 from JackStat/iss30
jnolis commentedon Mar 26, 2019
krlmlr commentedon Mar 26, 2019
jnolis commentedon Mar 29, 2019
github-actions commentedon Dec 7, 2020
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.