Comments (11)
make check
emacs --batch -Q -l ert -l test.el -f ert-run-tests-batch-and-exit
Loading file /package/text/emacs-27.0.50/share/emacs/27.0.50/lisp/emacs-lisp/ert.elc failed to provide feature ‘pq’
make: *** [Makefile:28: check] Error 255
from emacs-libpq.
from emacs-libpq.
As you see, apparently random XX.elc files are blamed to "fail to provide" feature 'pq'.
pg_config --includedir
/package/database/postgresql-10.1/include
make clean
rm -f pq.so
make
gcc -I/home/data1/protected/Programming/git/emacs-libpq -I/media/GNU.Support/sources/emacs/src/ -I/package/database/postgresql-10.1/include -std=gnu99 -ggdb3 -Wall -fPIC -c pq.c
ld -shared -lpq -o pq.so pq.o
rm pq.o
make check
emacs --batch -Q -l ert -l test.el -f ert-run-tests-batch-and-exit
Loading file /package/text/emacs-27.0.50/share/emacs/27.0.50/lisp/emacs-lisp/ert.elc failed to provide feature ‘pq’
make: *** [Makefile:28: check] Error 255
I have this file here:
/media/GNU.Support/sources/emacs/src/emacs-module.h
from emacs-libpq.
from emacs-libpq.
from emacs-libpq.
it appears at random, it changes files:
.../emacs/27.0.50/lisp/vc/vc-git.elc failed to provide feature ‘pq’")
Did you ever try to use development version with your module?
from emacs-libpq.
from emacs-libpq.
from emacs-libpq.
from emacs-libpq.
from emacs-libpq.
That issue relates to GNU Emacs, and not to emacs-libpq module. So I think it should be closed now as a "bug".
I have discussed it as Emacs bug https://debbugs.gnu.org/cgi/bugreport.cgi?bug=30106 and after the patch, few other bugs were found, but I could make it so that it works. Now I can load the emacs-libpq module and have replaced whatever I was doing earlier with pg.el that does not work in the version 10.1 of the PostgreSQL
If I find anything weird with your module, I will report again.
Otherwise, few commands you made work well. And I found that pq:query is working well even for INSERT statements and anything. I had to adjust to use vectors instead of list members, that was not hard at all.
You did not know that pg.el is going to become not functional for 10.1 version of PostgreSQL, and you made this module for your use. As soon as various operating systems start adopting 10.1 version, your module will be more wanted. It advertised on https://www.emacswiki.org/emacs/PostgreSQL#toc2
Thank you for making this happen.
from emacs-libpq.
Related Issues (20)
- Error handling HOT 3
- Emacs segafults on (pq:escapeLiteral HOT 1
- Try to submit module to GNU Emacs HOT 32
- Provide support for PostgreSQL arrays HOT 2
- Do you recommend using handle in each function using database? HOT 5
- Is there a way to know the names and types of columns a query returns? HOT 12
- Queries not interruptible from Emacs with Ctrl-G HOT 2
- pq:escapeLiteral does it need conn-db? HOT 4
- (pq:query db "SELECT $1" 100) returns string ⇒ ("100") instead of integer HOT 2
- In case you wanted to improve emacs-libpq further what features would you add?
- Add support for bignums, available since Emacs-27
- Auto-compile `pq-core.c` when compiling/using the package
- How to UPDATE table SET column = NULL with the NULL as parameter? HOT 1
- progn: SQL error: "ERROR: invalid regular expression: quantifier operand invalid HOT 2
- Open up discussion or forum for emacs-libpq
- Getting true FALSE instead of nil
- "peculiar error"s appear again HOT 1
- pg:connect: Backend error: FATAL: unsupported frontend protocol 1.0: server supports 2.0 to 3.0 HOT 1
- Could you help me? Emacs Bug: Invalid datatype (0x01) HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from emacs-libpq.