[GENERAL] undefined symbol: SPI_plan_get_cached_plan

2013-02-11 Thread Roger Niederland
I am getting the following error when trying to execute a plpgsql funtion: PSTERROR: could not load library /usr/pgsql-9.2/lib/plpgsql.so: /usr/pgsql-9.2/lib/plpgsql.so: undefined symbol: SPI_plan_get_cached_plan This is on a SL6.3 system running postgres 9.2.2 We set this server up about

Re: [GENERAL] undefined symbol: SPI_plan_get_cached_plan

2013-02-11 Thread Roger Niederland
On 2/11/2013 6:47 AM, Tom Lane wrote: Roger Niederland ro...@niederland.com writes: I am getting the following error when trying to execute a plpgsql funtion: PSTERROR: could not load library /usr/pgsql-9.2/lib/plpgsql.so: /usr/pgsql-9.2/lib/plpgsql.so: undefined symbol

[GENERAL] variable not found in subplan target list

2011-11-02 Thread Roger Niederland
Hello, I stripped down the original query to what is below. I am not saying that the query below is useful except to show an error I am getting in Postgresql 9.1.1 on both SL6.1 (64 bit) and Windows 2008 server 9.1.1 (32-bit and 64-bit). The error I am getting is: ERROR: variable not

[GENERAL] variable not found in subplan target list

2011-11-01 Thread Roger Niederland
Hello, I stripped down the original query to what is below. I am not saying that the query below is useful except to show an error I am getting in Postgresql 9.1.1 on both SL6.1 (64 bit) and Windows 2008 server 9.1.1 (32-bit and 64-bit). The error I am getting is: ERROR: variable not

Re: [GENERAL] variable not found in subplan target list

2011-11-01 Thread Roger Niederland
On 11/1/2011 3:54 PM, Roger Niederland wrote: Hello, I stripped down the original query to what is below. I am not saying that the query below is useful except to show an error I am getting in Postgresql 9.1.1 on both SL6.1 (64 bit) and Windows 2008 server 9.1.1 (32-bit and 64-bit

Re: [GENERAL] variable not found in subplan target list

2011-11-01 Thread Roger Niederland
On 11/1/2011 8:30 PM, Tom Lane wrote: Roger Niederlandro...@niederland.com writes: I extracted the tables from the database which generates the error above I eliminated most of the columns such that this query still exhibits this behavior to reduce the file size. I have a zipped file from

[GENERAL] Create Extension search path

2011-09-28 Thread Roger Niederland
On my windows install of postgres 9.1.0. I have a search_path set in the config file. This search path has several schemas defined. Some of the databases within postgres, do not have the schema specified on the search path defined within the database. Trying to add pgcryto via: CREATE

Re: [GENERAL] pg_dump compress

2011-09-24 Thread Roger Niederland
On 9/23/2011 5:18 PM, Adrian Klaver wrote: On Friday, September 23, 2011 7:26:19 am Roger Niederland wrote: On 9/23/2011 6:46 AM, hubert depesz lubaczewski wrote: On Thu, Sep 22, 2011 at 11:00:10PM -0700, Roger Niederland wrote: Using pg_dump from the command line with the exe included

[GENERAL] pg_dump compress

2011-09-23 Thread Roger Niederland
Using pg_dump from the command line with the exe included in windows 32 bit install in postgresql 9.1. pg_dump -U username -f somefile.sql.gz -Z 9 -i dbname outputs a file that is in plain text. In previous versions of postgresql, this output a gzipped file. Also tried: pg_dump -U username

Re: [GENERAL] pg_dump compress

2011-09-23 Thread Roger Niederland
On 9/23/2011 6:46 AM, hubert depesz lubaczewski wrote: On Thu, Sep 22, 2011 at 11:00:10PM -0700, Roger Niederland wrote: Using pg_dump from the command line with the exe included in windows 32 bit install in postgresql 9.1. pg_dump -U username -f somefile.sql.gz -Z 9 -i dbname please note

[GENERAL] constraint expression

2004-08-08 Thread Roger Niederland
Hello, I am having problems adding a simple expression to a table level constraint. Here is an example of one which postgresql 7.4.3 does not accept. create table test (a int, b int, c int, constraint aname check (((a=0) and (b is not null)) or ((a=1) and (c is not null))); Should this work?