New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Empty String in Oracle #114
Comments
As Zero bytes are not allowed in strings in PostgreSQL, and that's why oracle_fdw gives you that error message. |
I patch the tables on the oracle side, after getting this error messages with the found update imptab set icol=translate(icol,chr(to_number('00','xx'))||chr(to_number('a4','xx')),' ' ) where instr( icol, chr(to_number('00','xx'))||chr(to_number('a4','xx'))) > 0; |
Does that solve your problem? |
Yes, It worked very well. But, I got another problem like #90 issue. Here is a describe of the Oracle table :
And postgresql table :
I execute select statement in postgresql then raise error. Oracle and PostgreSQL use same character set(UTF-8). I tried change data type ("timestamp(0) without time zone" / "date" / "timestamp" ) in postgresql Is there any wrong in my progress? |
Maybe the columns are not in the same order in PostgreSQL and Oracle. |
Oracle and PostgreSQL first columns have same name, data type and position. Is not null attribute related to the ERROR? |
I see. |
I found problem in my progress. Now, I fixed it and working well. |
Hi,
I have some problem when using oracle_fdw.
I installed oracle_fdw 1.4.0 few days ago.
In Oracle,
And setup oracle_fdw in postgresql 9.4 then error raised in postgresql.
Can you advice this problem?
Thanks,
Dong U.
The text was updated successfully, but these errors were encountered: