Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

RSgvs_GenVal2Str

 
   Database Help (Home) -> Ingres RSS
Next:  Can I migrate from stand-alone to cluster on SQL2..  
Author Message
Alex

External


Since: Jan 25, 2008
Posts: 4



(Msg. 1) Posted: Fri Nov 28, 2008 7:02 am
Post subject: RSgvs_GenVal2Str
Archived from groups: comp>databases>ingres (more info?)

Greetings,

Does anyone know what the purpose of this Ingres function was? It no
longer exists in the current main codeline but it was used in the
past. Thanks

 >> Stay informed about: RSgvs_GenVal2Str 
Back to top
Login to vote
Michael Leo

External


Since: Jan 23, 2008
Posts: 15



(Msg. 2) Posted: Sat Nov 29, 2008 10:42 am
Post subject: Re: [Info-Ingres] RSgvs_GenVal2Str [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Alex wrote:
> Greetings,
>
> Does anyone know what the purpose of this Ingres function was? It no
> longer exists in the current main codeline but it was used in the
> past. Thanks

That generates the Val2Str for the RSgvs subsystem.

No, all kidding aside ... In what context is it used? That
might help us understand what it was supposed to do.

Cheers,

Mike Leo

 >> Stay informed about: RSgvs_GenVal2Str 
Back to top
Login to vote
kbcomput

External


Since: Nov 14, 2003
Posts: 17



(Msg. 3) Posted: Sat Nov 29, 2008 6:51 pm
Post subject: Re: [Info-Ingres] RSgvs_GenVal2Str [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Alex wrote:

>
> Does anyone know what the purpose of this Ingres function was? It no
> longer exists in the current main codeline but it was used in the
> past. Thanks

RS sounds like Replication Server. I am away from the code this
weekend, but I'd guess it was some sort of replication server
generic value printer.

What are you doing that needs RSgvs_GenVal2Str?

Karl
 >> Stay informed about: RSgvs_GenVal2Str 
Back to top
Login to vote
Alex

External


Since: Jan 25, 2008
Posts: 4



(Msg. 4) Posted: Mon Dec 01, 2008 4:31 am
Post subject: Re: RSgvs_GenVal2Str [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Nov 29, 6:51 pm, kbcom... RemoveThis @kbcomputer.com wrote:
> Alex wrote:
>
> > Does anyone know what the purpose of this Ingres function was? It no
> > longer exists in the current main codeline but it was used in the
> > past. Thanks
>
> RS sounds like Replication Server.  I am away from the code this
> weekend, but I'd guess it was some sort of replication server
> generic value printer.
>
> What are you doing that needs RSgvs_GenVal2Str?
>
> Karl

I'm looking at a file that was deleted in 1998 that uses this
function. I'm trying to decipher what it actually does... Here's the
context:

if (RSgvs_GenVal2Str(col, dk, where_list + STlength(where_list)) !=
OK)
return (RS_INTERNAL_ERR);

This is a file that uses ESQL, and I'm looking at it to get a better
idea how to use parameterized queries in updates. Also wondering if
it's possible to use parameters in a delete query.
Thanks

Alex
 >> Stay informed about: RSgvs_GenVal2Str 
Back to top
Login to vote
Karl & Betty Schendel

External


Since: Jan 16, 2008
Posts: 29



(Msg. 5) Posted: Mon Dec 01, 2008 7:45 am
Post subject: Re: [Info-Ingres] RSgvs_GenVal2Str [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Dec 1, 2008, at 7:31 AM, Alex wrote:

> On Nov 29, 6:51 pm, kbcom....DeleteThis@kbcomputer.com wrote:
>> Alex wrote:
>>
>>> Does anyone know what the purpose of this Ingres function was? It no
>>> longer exists in the current main codeline but it was used in the
>>> past. Thanks
>>
>> RS sounds like Replication Server. I am away from the code this
>> weekend, but I'd guess it was some sort of replication server
>> generic value printer.
>>
>> What are you doing that needs RSgvs_GenVal2Str?
>>
>> Karl
>
> I'm looking at a file that was deleted in 1998 that uses this
> function. I'm trying to decipher what it actually does... Here's the
> context:
>
> if (RSgvs_GenVal2Str(col, dk, where_list + STlength(where_list)) !=
> OK)
> return (RS_INTERNAL_ERR);
>

That is indeed part of an old variant of the Replication Server.
(STlength is an Ingres internal equivalent of strlen(), and it's a
dead giveaway along with the RS_INTERNAL_ERR symbol.) You can assume
that RSgvs_GenVal2Str takes some kind of generic value and makes a
string out of it. Apparently the code is building a WHERE clause.

Delete and update queries both allow parameters in the WHERE clause.
Neither allow them in the FROM clause, as far as I know.
I'm pretty sure that UPDATE allows them in the SET clauses but I'm
not 100% positive about that one.
Are you using parameters in the :host-variable sense, or ?-markers
in a PREPARE statement?

Karl
 >> Stay informed about: RSgvs_GenVal2Str 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Anyone using Plone with Ingres? - I'm currently playing about with Plone and Ingres (i.e. I have created a ZODB that is stored in an Ingres database). I am curious to know who else is. Roy

Windows Server 2003 Ingres Net Problems - Gday, I am running Ingres Net (version 2.6 SP2) on a Windows Server 2003 box with ODBC Driver version 3.50.00.32 and am having some problems with stability. Essentially the problem is that I get a random Ingres ODBC error ERROR [HY000] [CA][Ingres ODBC...

ODBC error message: Unable to authenticate client's user ID - Hi list, we have two machines: 1. Suse Linux with Ingres 2.6 SP2 DBMS 2. Win 2000 Server with IngresNet (client-only) 2.5 The Win 2000 box starts a Borland-Delphi-app that connects via ODBC, unfortunately this fails. Errlog.log on the Windows machine....

Ingres with PHP - Hallo, sorry for my bad english. I need to use IIS/PHP/Ingres, but it does not work. Do you know the exactly way to use Ingres with PHP?

Is there a way to allow ambiguous replace on update? - Ingres 2.6 HP-UX 11.11 Is there a way to temporarily turn on ambiguous replace on update with the use of one of the set trace points? Ambiguous replace used to work in earlier versions of ingres, and I understand it's generally not a good thing and....
   Database Help (Home) -> Ingres All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]