Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Catering for postgres and mysql
08-27-2013, 12:46 PM,
#1
Catering for postgres and mysql
Hi everyone,

I have seen in the code that we are using mysql(i) specific functions and so i have also used these.

However, I see we have a postgres connect function.

Should we then be testing for db type and using the appropriate function in the code for example pg_escape_string vs mysqli_escape_string in the code?

Alternatively, is there work perhaps that needs to be done, or in progress that will provides suitable interface to handle these database specific functions ?

I will continue as is for now, but happy to address the above if necessary.

Thanks for your help in advance!

Reply


Messages In This Thread
Catering for postgres and mysql - by icedlava - 08-27-2013, 12:46 PM
RE: Catering for postgres and mysql - by icedlava - 08-27-2013, 06:49 PM
RE: Catering for postgres and mysql - by phil - 08-27-2013, 07:37 PM
RE: Catering for postgres and mysql - by icedlava - 08-27-2013, 07:37 PM
RE: Catering for postgres and mysql - by TurboPT - 08-28-2013, 12:33 PM
RE: Catering for postgres and mysql - by phil - 09-01-2013, 05:06 PM
RE: Catering for postgres and mysql - by TurboPT - 09-03-2013, 10:40 PM
RE: Catering for postgres and mysql - by tomglare - 09-03-2013, 10:49 PM
RE: Catering for postgres and mysql - by phil - 09-04-2013, 06:53 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)