Questions tagged [search-path]
124 questions
1
vote
1 answer
Connection validation error using postgresql jdbc 4.2 driver against a 9.3 database -- apparent case-sensitivity of SEARCH_PATH keyword
Using the jdbc4.2 implementation contained in postgresql-9.4.1212.jar, I generate an error when calling the java.Sql.Connection isValid() method on a connection to a postgresql 9.3 database (java8 and postgres both running on windows 7).
The path…

Al Presseller
- 11
- 4
1
vote
1 answer
How to stop Linux aborting PATH search?
I have /usr/bin in my PATH, and dot (meaning current directory) later in the PATH. I have a program 'abcxyz' in two directories, /var and /someother. If I am in a mate-terminal in /var and key in some absurd name, dgxuznk, then bash says: "bash:…

Clive
- 269
- 1
- 14
1
vote
1 answer
Change Firefox Extension Directory
The path where Firefox looks for Plugins can easily be changed using the MOZ_PLUGIN_PATH environment variable.
Does such a facility also exist for Add-Ons (also called extensions)? Similar to how MOZ_PLUGIN_PATH changes /usr/lib/mozilla/plugins, I…

XZS
- 2,374
- 2
- 19
- 38
1
vote
1 answer
How to add an hierarchy of Include Directories to a C project in MSVC?
I am trying to maintain an ARM command line (makefile) project using the MSVS 2013 Express IDE, to take advantage of the IDE's advanced code analysis capabilities.
The project consists of dozens of directories, each including a "src" and an…

ysap
- 7,723
- 7
- 59
- 122
1
vote
1 answer
Find all possible paths in a graph using Matlab Brute Force Search
I need to find all paths with a graph, and save these paths. My starting nodes are A, B or C, and the final node is G. My graphs have maximum 16 unweighted vertices.
I made the Matlab code below, but this has problems with bifurcations. Also, I…

Aquila
- 65
- 1
- 7
1
vote
0 answers
ERROR: cache lookup failed for procedure 0 on update
I have the following table in PostgreSQL
CREATE TABLE idempiere.tbl_test
(
val numeric(10,0)
)
WITH (
OIDS=FALSE
);
ALTER TABLE idempiere.tbl_test
OWNER TO postgres;
when I try to run the following sql script on it, it returns an…

Ashkan Nourzadeh
- 1,922
- 16
- 32
1
vote
1 answer
Create pypy process
I would like to create a process which runs PyPy. I tried the following and it works:
import os
os.chdir('/bin/')
os.execl('pypy', 'pypy', '-c', 'print "Hi!"')
However, when I remove the chdir as:
import…

Ecir Hana
- 10,864
- 13
- 67
- 117
1
vote
0 answers
"unrecognized selector sent to class" crash when trying to share code throughout an Xcode Workspace
Steps to reproduce:
Create a new Xcode Workspace (WorkspaceTest).
Create a single-view project called "One".
In the workspace (not the project), create a Group called "Shared". In that folder create a category called UIColor+Hex:
.h:
@interface…

soleil
- 12,133
- 33
- 112
- 183
1
vote
1 answer
Finding asset files, when developing & when installed (C++/Python, primarily on Linux)
My project has a global asset directory (/usr/share/openage) that contains various files (graphics, texts, ...) and an user-specific asset directory (~/.openage) that allows the user to overwrite some of the global assets/add their own.
It is my…

mic_e
- 5,594
- 4
- 34
- 49
1
vote
3 answers
When / how are default value expression functions bound with regard to search_path?
For testing purposes, I provide my own implementation of the now() function which is public.now(). Using search_path to override the default pg_catalog.now() with my own version mostly works, but I have a table with a table with a default expression…

Dwayne Towell
- 8,154
- 4
- 36
- 49
1
vote
2 answers
Does specifying the schema name for tables affect performance?
Disclaimer: this is not for optimization, just out of curiosity.
I'm wondering if this:
SET search_path TO myscheme; -- obviously this is done once per connection
SELECT foo, bar FROM table1 WHERE [..clauses..]
is somehow faster / slower…

Strae
- 18,807
- 29
- 92
- 131
1
vote
1 answer
How can I change the libraries that gcc uses when linking with /bin/ld?
I'm trying to use a version of gcc relocated from another system to compile something. I know that there are issues with this but if I can get it to work it will make my life much easier. I've added the /opt/transfer/lib path to $LIBRARY_PATH and…

foob
- 1,287
- 2
- 11
- 12
1
vote
2 answers
Why might Xcode decide NOT to search headers recursively despite a build setting saying it should
My project uses my personal library. In "header search paths", I have included "../WJLibrary/**". This is the correct relative path to my library. However according to the build log, it is not doing a recursive search. As a result, it is not…

William Jockusch
- 26,513
- 49
- 182
- 323
1
vote
2 answers
how the python interpreter find the modules path?
I'm new to python, and I find that to see the import search paths, you have to import the sys module and than access the list of paths using sys.path, if this list is not available until I explicitly import the sys module, so how the interpreter…

Nafaa Boutefer
- 2,169
- 19
- 26
1
vote
1 answer
Xcode and dylib search path
I have a framework with installation directory @rpath and app with runpath search path @loader_path/../Frameworks which uses this framework.
After building I have My.app and My.framework in Build/Products/Debug directory and I don't copy…

Dmitry
- 7,300
- 6
- 32
- 55