473,402 Members | 2,046 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,402 software developers and data experts.

View & search_path

postgresql 8.3
Views do not follow search_path. It always uses the tables in the same schema of itself.

Expand|Select|Wrap|Line Numbers
  1. CREATE OR REPLACE VIEW public.admv_acct AS 
  2.  SELECT a.itemno, a.itemtype, a.category, a.itemdesc, a.negativeacct
  3.    FROM adm_items a
  4.   WHERE a.itemtype::text = 'A'::text
  5.   ORDER BY a.itemno;
The adm_items in public is always used.
Jun 17 '11 #1
1 2390
rski
700 Expert 512MB
Could you post here your search_path set?
Jun 18 '11 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Jake Jessup | last post by:
I have read about Views vs. SP's and I have question to which I could not readily find the answer. The database I'm creating will only have 1 user from the start and up to three maximum. Is...
2
by: MLH | last post by:
I have a form that ALWAYS prompts me as to whether I want to save the changes - every time I open it in design view - even if I don't make ANY changes. Why might that be?
6
by: Paolo Pignatelli | last post by:
I have an aspx code behind page that goes something like this in the HTML view: <asp:HyperLink id=HyperLink1 runat="server" NavigateUrl='<%#"mailto:" &amp;...
2
by: Rory Campbell-Lange | last post by:
Hi I'm trying to set a search path through a connection made by PHP and failing. It works in pgsql: clwcms=> set search_path = myname, funcs, public clwcms=> select * from...
1
by: Ben Trewern | last post by:
All, There seems to be a bug in pg_dumpall: For one of my dbs I've done: ALTER DATABASE dbname SET search_path = mw, public; If I do a pg_dumpall I get a line like:
0
by: WhatsPHP | last post by:
Hi I have seen the view helper in the Zend Framework. Does anyone know if there is any kind of plan to bring in bring in HTML_QuickForm like validation into the Zend Framework? The view helper...
5
by: sab1astarita | last post by:
I am trying to access design view within a database that was created by somebody else. All i want to do is change the background colour on the user form. I believe it isnt password protected...
0
by: oskhan | last post by:
Hello Everyone, I have a little different problem and I though anyone might give me any idea that what is going wrong. I have a view which consists of 3 tables linked by UNION ALL, overall...
3
by: informankur | last post by:
Hi All, I am trying to create a form for updating values. I have a Table - ASP with Date, Product, Q1,Q2,Q3,Q4 fields. I have a Form ASP_Main with "Date" field for filtering by the date selected....
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.