1
0
mirror of https://github.com/vrana/adminer.git synced 2025-08-16 03:24:01 +02:00

PostgreSQL: Upload binary files to bytea fields

This commit is contained in:
Jakub Vrana
2018-02-06 15:42:14 +01:00
parent b649fb2f3f
commit 17b110f0d5
4 changed files with 24 additions and 3 deletions

View File

@@ -123,6 +123,14 @@
return $idf;
}
/** Quote binary string
* @param string
* @return string
*/
function quoteBinary($s) {
return q($s);
}
/** Get warnings about the last command
* @return string HTML
*/