All Questions

33
votes
2answers
21167 views

How does the search_path influence identifier resolution and the "current schema"

Is it possible to define in which schema new tables get created by default? (Referred by "unqualified table names".) I've seen some details about using the "search path" in Postgres, but I think it o...
83
votes
3answers
83104 views

How to check if a table exists in a given schema

Postgres 8.4 and greater database contains common tables in public schema and company specific tables in company schema. company schema names always start with 'company' and end with the company numbe...
2
votes
1answers
2893 views

nltk doesn't add $NLTK_DATA to search path?

under linux,I have set env var $NLTK_DATA('/home/user/data/nltk'),and blew test works as expected >>> from nltk.corpus import brown >>> brown.words() ['The', 'Fulton', 'County', 'Gr...
14
votes
3answers
10166 views

controlling which project header file Xcode will include

My Xcode project builds to variations of the same product using two targets. The difference between the two is only on which version of an included library is used. For the .c source files it's easy t...
7
votes
2answers
8132 views

How to use the MATLAB search path

I have some questions regarding the MATLAB Search Path: The current directory is on the search path, but why is it not in the output of "path"? Where can I find the complete search path? What are al...
31
votes
6answers
47013 views

Xcode 5 Framework/Library Search Path Absolute Address

I updated my Xcode to 5.0. I added some library/framework search paths and the path it's displaying is the absolute path. For example, if my folder is in my desktop it would display /Users/username/De...
4
votes
4answers
1929 views

how can a Win32 App plugin load its DLL in its own directory

My code is a plugin for a specific Application, written in C++ using Visual Studio 8. It uses two DLL from an external provider. Unfortunately, my plugin fails to start because the DLLs are not found ...
1
votes
1answers
578 views

How to use % operator from the extension pg_trgm?

I have my pg_trgm module installed. pg_trgm | 1.0 | extensions | text similarity measurement and index ... The schema set is extensions. To use it I have to run something like this select: ext...
4
votes
1answers
9913 views

How to set default schema in Yii2

My Yii2 is setup with PostgreSQL. Instead of using separate database per project, I like to use schema for each project. Problem with later setup is that I can't figure out how to select default schem...
3
votes
1answers
248 views

Attaching a temporary namespace to the search path

This question is sort of a follow up to this post as I'm still not fully convinced that, with respect to code robustness, it wouldn't be far better to make typing namespace::foo() habit instead of jus...

Previous Next