Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Implementation of SQLSetDescRec & SQLGetDescRec functions#23

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
davecramer merged 4 commits intopostgresql-interfaces:mainfromHunaid2000:sqldescrec_functions
Aug 11, 2024
Merged

Implementation of SQLSetDescRec & SQLGetDescRec functions#23

davecramer merged 4 commits intopostgresql-interfaces:mainfromHunaid2000:sqldescrec_functions
Aug 11, 2024

Conversation

Hunaid2000
Copy link
Contributor

@Hunaid2000Hunaid2000 commentedMay 23, 2024
edited
Loading

Resolves#21.

  • Completed implementation ofSQLSetDescRec function.
  • FixedSQL_DESC_PRECISION field inIPDSetField &IPDGetField functions.
  • Added support for following fields for bookmark column inARDSetField .
    • SQL_DESC_TYPE
    • SQL_DESC_DATETIME_INTERVAL_CODE
    • SQL_DESC_OCTET_LENGTH
    • SQL_DESC_PRECISION
    • SQL_DESC_SCALE

Note:
I am now working onSQLGetDescRec implementation.

- Fixed SQL_DESC_PRECISION field in IPDSetField & IPDGetField functions- Added support for other fields for bookmark column in ARDSetField  - SQL_DESC_TYPE  - SQL_DESC_DATETIME_INTERVAL_CODE  - SQL_DESC_OCTET_LENGTH  - SQL_DESC_PRECISION  - SQL_DESC_SCALE
@Hunaid2000Hunaid2000 changed the titleImplemention of SQLSetDescRec & SQLGetDescRec functionsImplementation of SQLSetDescRec & SQLGetDescRec functionsMay 24, 2024
- Handled SQL_NO_DATA case in GetField functions- Handled 01004 SQLSTATE in GetField functions- Added support for SQL_DESC_NAME & SQL_DESC_NULLABLE IPDGetField functions
@Hunaid2000Hunaid2000 marked this pull request as ready for reviewMay 29, 2024 08:22
@Hunaid2000
Copy link
ContributorAuthor

Implementation for both functions is completed.

Other changes:

  • Handled SQL_NO_DATA case in GetField functions
  • Handled 01004 SQLSTATE in GetField functions
  • Added support for SQL_DESC_NAME & SQL_DESC_NULLABLE in IPDGetField function
SheerazMajeedM and imranzaheer612 reacted with thumbs up emoji

@Hunaid2000
Copy link
ContributorAuthor

@davecramer any update on this?

@davecramer
Copy link
Contributor

@Hunaid2000 Ideally we would add tests for these new functions ?
Any chance you can add them ?

@Hunaid2000
Copy link
ContributorAuthor

I will try to add them.

- Updated PGAPI_GetFunctions function to get new functions- Updated psqlodbc.def file for new functions on Windows- Fixed HY007 error handling
@Hunaid2000
Copy link
ContributorAuthor

@davecramer I have added regression test.

davecramer reacted with thumbs up emoji

@davecramerdavecramer merged commit334247d intopostgresql-interfaces:mainAug 11, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Plan to implement SQLSetDescRec & SQLGetDescRec functions
2 participants
@Hunaid2000@davecramer

[8]ページ先頭

©2009-2025 Movatter.jp