Commit Graph

46 Commits (38c517c1a2a5273e9eb3ea175ff1315ecd91808f)

Author SHA1 Message Date
Vitalie Lazu cccca51788
pg: support for copy sql commands (#9272) 2021-03-13 08:06:53 +02:00
Quix 6a21b8cc8b
pg: fix typo (#8750) 2021-02-15 17:53:38 +02:00
Lukas Neubert df4165c7ee
docs_ci: check all md files except thirdparty (#6855) 2020-11-18 18:28:28 +01:00
KJ Lawrence 7108f89b69
pg: fix exec & exec_param_many (#6782) 2020-11-09 08:22:16 +01:00
Lukas Neubert f37e936321
pg, sqlite, mysql: run vfmt (#6650) 2020-10-19 20:11:04 +02:00
Enzo fd88bfbac8
fmt: fix formatting of anon args (#6545) 2020-10-04 06:32:47 +02:00
Leonardo Cecchi 51987e17df
pg: make `exec`, `q_int` and `q_strings` return an optional (#6554) 2020-10-04 06:31:47 +02:00
Leonardo Cecchi 8ac0bd44bd
pg: avoid leaking a PGconn on connection errors (#6543) 2020-10-03 07:03:11 +02:00
Leonardo Cecchi 21c5ff681b
pg: add binding for PQfinish (close) (#6435) 2020-09-21 01:47:37 +02:00
Maciej Obarski 7bd2804ce9
all: automatic error propagation in place of "or { return(err) }" 2020-08-29 01:58:03 +02:00
jhuntos c42ca84850
pg: fix array init warnings (#6163) 2020-08-19 07:10:09 +02:00
Delyan Angelov 36eae1c175
builtin: x.vstring() instead of string(x) (#6102) 2020-08-10 18:05:26 +02:00
jhuntos 20884c9576
pg: call PQclean in rows() 2020-06-26 11:55:59 +02:00
Delyan Angelov 2b6ba63a55 ci: fix tests (most CI jobs do not have pg set up) 2020-06-07 18:08:31 +03:00
Alexander Medvednikov e029044b13 pg: fix compilation 2020-06-07 16:05:44 +02:00
Louis Schmieder 40aad27a67
pg: remove `pg.` 2020-05-10 21:16:03 +02:00
yuyi 2574dce174
all: fix remaining `[]array` warnings 2020-04-26 16:25:54 +02:00
yuyi a6347118cd
pg: add windows include and lib flag 2020-03-26 14:17:13 +01:00
Alexander Medvednikov ec4be80bcc Revert "db: increase db module level in vlib "
This reverts commit cd6d175180.
2020-03-26 09:23:54 +01:00
yuyi cd6d175180
db: increase db module level in vlib 2020-03-26 09:21:34 +01:00
Charles WANG 7e1870be3e
pg: create readme.md 2020-03-10 15:00:22 +01:00
Ian M. Jones 522de0871a
pg: fix zero being used for port when not specified in pg.Config 2020-03-06 18:40:24 +01:00
Alexander Medvednikov efb45579aa
pg: add port to config 2020-03-06 02:01:53 +01:00
Major Taylor c72e505fe4
pg: use unsafe 2020-02-26 23:17:56 +01:00
spaceface777 ef8c1203b4
cleanup: replace C for loops with range 2020-02-24 17:55:16 +01:00
Frederico Silva 2678f9289e pg: connect, use password 2020-01-12 19:35:20 +01:00
Delyan Angelov ddd83c2108 pg: add db.exec_param_many() 2020-01-03 22:07:28 +01:00
Alexander Medvednikov 71c0c4803f ORM fixes 2019-12-06 02:00:37 +03:00
Alexander Medvednikov 9bfea5e60b pg: define all C functions 2019-11-25 06:55:29 +03:00
Alexander Medvednikov 0fb0c43c0a pg: minor fixes 2019-11-23 19:48:00 +03:00
Unknown User 6edc25f512 pg: remove unused imports 2019-10-08 13:23:39 +03:00
joe-conigliaro f1f720cc78 pg: update optional return syntax 2019-09-26 14:23:29 +03:00
iRedMail 92b634de7c Fixes old syntax and make Row.vals mutable
- Replace `*` by `&` for C code
- Make `Row.vals` mutable. Otherwise line 56 will raise error.
2019-09-13 00:46:51 +03:00
Alexander Medvednikov f61b14584a remove "import const" everywhere 2019-08-23 00:09:03 +03:00
Delyan Angelov 49899c649c orm: fix select .. limit 1 . This case now returns an ?Row. 2019-08-20 16:33:14 +03:00
Istvan dee411149e pg: config struct for connecting 2019-08-20 11:08:06 +03:00
Alexander Medvednikov 8f8e0dfad7 V ORM 2019-08-10 13:35:29 +02:00
Alexander Medvednikov 9eb385d9ee Revert "remove pg from vlib"
This reverts commit 15c5f671f0.
2019-08-04 00:11:56 +02:00
Alexander Medvednikov 15c5f671f0 remove pg from vlib 2019-08-03 03:49:17 +02:00
Alexander Medvednikov 34a98e3df0 vweb fixes 2019-08-03 02:27:56 +02:00
Vitaly Takmazov a2d4d38e8a pg: add Darwin flag for MacPorts installation path 2019-07-30 03:48:49 +02:00
Alexander Medvednikov 69b6e682cb pg: fix GCC compilation error 2019-07-30 00:28:35 +02:00
Alexander Medvednikov 390394b56b string: make substr() copy the data, like in Java and C#; remove .cstr()
this makes managing memory used by strings much easier
V strings are now fully compatible with C strings
2019-07-22 17:03:45 +02:00
Alexander Medvednikov de8dc4cddb hot code reloading examples 2019-07-07 22:02:27 +02:00
Alexander Medvednikov 300ed59598 do not allow `import builtin` 2019-07-04 17:36:53 +02:00
Alexander Medvednikov 8f10e37370 make << work with appending arrays; PostgreSQL driver 2019-07-04 17:31:14 +02:00