Questions tagged [search-path]

124 questions
0
votes
0 answers

C++ how to create a search path for a header file

I am making a C++ project where I want to be able to include the header file with angular brackets. I have seen people do this from IDE's, is it possible to do this from the terminal?
MaximV
  • 155
  • 11
0
votes
1 answer

Xcode: how to add Framework Search Paths to search paths

enter image description hereI'm trying to set up FacebookSDK in my react native app. when I build the project in Xcode I got an error, 'FBSDKCoreKit/FBSDKCoreKit.h' file not found the solution for this is to add a path to "Framework Search Paths"…
0
votes
1 answer

How to specify dir of shared lib with respect to $ORIGIN in runpath flag?

This webpage tells me that we can use $ORIGIN to bake the dir of executable as searching dir into executable. This runpath command can be written as: -Wl,--enable-new-dtags,-rpath,"\$ORIGIN" But the shared library I am trying to load is not exactly…
user5280911
  • 723
  • 1
  • 8
  • 21
0
votes
0 answers

ERROR: Cached plan must not change result type for multi-tenant DB

We've been getting ERROR: Cached plan must not change result type. on our application intermittently. Upon checking our Postgres logs, seems like it happens when SET SESSION search_path to 'sample'; is called. I have attached also the logs of our DB…
Pengeng Piso
  • 3
  • 1
  • 6
0
votes
3 answers

How to add a search path to R?

In this tutorial, there is a command pymol.dccm(cij, pdb, type="launch"). But I was told > pymol.dccm(cij, pdb, type="launch") Error in pymol.dccm(cij, pdb, type = "launch") : Launching external program failed make sure…
lanselibai
  • 1,203
  • 2
  • 19
  • 35
0
votes
1 answer

How to shorten the file name/path to an image so it works on all machines

in my c++ program using the sfml library and xcode, when I load an image I need to load it like picture.loadFromFile("Users/username/Desktop/Xcode/Game/Sprites/MyImage.png") is there anyway I can shorten that path to just "Game/Sprites/MyImage.png".…
DapperDaniel
  • 75
  • 1
  • 10
0
votes
1 answer

Can't set schema_name in dockerized PostgreSQL database

I'm trying to setup a PostgreSQL Docker Container. I want to create a schema on startup and set search_path to that schema. I've created an initialization .sql file and it's copied to the /docker-entrypoint-initdb.d/ folder where it's executed by…
Phronux
  • 125
  • 1
  • 9
0
votes
1 answer

Allow program to be executed with execvp

I'm creating a shell copy and I have a problem to executable an homemade program. I mean, everything is OK when I want to execute somethings like java, ls, wc, etc... everything that is already present in the PATH variable. Now I want to be able to…
LenweSeregon
  • 132
  • 1
  • 10
0
votes
1 answer

Why does my flyway application runs scripts in the public schema?

My search_path is set to - mydb, gisdb, pg_catalog Even then, my springboot flyway project runs my db migration scripts on public schema. What am I missing? These are three extensions in 'mydb' database - dblink, postgis, postgres_fdw
Tisha
  • 827
  • 3
  • 11
  • 34
0
votes
0 answers

All possible paths in an undirected graph with some restrictions

I should find all paths with a graph (24 nodes and 42 vertices). My starting nodes are 1, 2 or 3, and the final nodes are 10, 12, 13, 16, 17, 18, 20, 21, 22 and the rest are intermediate nodes. The sparse adjacency matrix of my graphs A is as…
rezzz
  • 151
  • 1
  • 1
  • 8
0
votes
1 answer

XCode unable to find zmq.h even though it's in /usr/local/include and the header search path

I just installed the ZMQ library via brew and I can see the files in /usr/local/include and /usr/local/bin, however when I add those paths to the Header Search Path and Library Search Path in XCode I am unable to use #include as it continues to tell…
MegaMiley
  • 478
  • 1
  • 5
  • 19
0
votes
2 answers

facebook SDK with react-native: no framework search path

I was playing around with Facebook SDK with react-native generated ios app template. I was following the instructions here: https://developers.facebook.com/docs/ios/getting-started but somehow did not see Framework Search Paths mentioned in step…
jyhk
  • 135
  • 1
  • 9
0
votes
1 answer

Preserve PostgreSQL schema identifier in dependent function calls

I have a stored procedure that RETURNS record: CREATE OR REPLACE FUNCTION r_rpt_prov_summary() RETURNS record AS $$ DECLARE _fields record; BEGIN SELECT INTO _fields 0::integer AS customers, 0::integer AS…
Alex Balashov
  • 3,218
  • 4
  • 27
  • 36
0
votes
1 answer

Rails syntax error after schema load with PostgreSQL

i have a problem and i am not able to understand neither to find a solution elsewhere. The thing is that, when i am trying to load the schema with load "#{Rails.root}/db/sctructure.sql" errors appear. The postgresql version is 9.5.1 and the pg gem…
0
votes
1 answer

Purpose of uploading a schema file

I'm attempting to make a table for the first time using postgres and the examples I'm seeing are kind of throwing me off. When it comes to creating a schema, I have a schema.sql file that contains my schema as follows: CREATE TABLE IF NOT EXISTS…
Brosef
  • 2,945
  • 6
  • 34
  • 69
1 2 3
8 9